Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

background message system.

Hi everybody!
I have this script:
#-----------------------------------------------------------------------------
#  Window Message Rewrite by Mac
#=============================================================================
class Window_Message < Window_Selectable
  # Alias Message_Window initialize 
  alias message_window_init initialize
    def initialize
    message_window_init
      self.opacity = 0
      @message = Sprite.new
      @message.bitmap = RPG::Cache.picture('Message')
      @message.y = 0
      @message.x = 0
      @message.visible = self.visible
      @message.opacity = 255
    end
  # Alias Message_Window update 
  alias message_window_upda update
    def update
      message_window_upda
        @message.visible = self.visible
      end
      end

It's working well until you are teleports to a new map.
than it's disapear and you can't see it again.

so what i'm asking is if there is a better system or you can fix it?
Thank you!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top