Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Picture Message Window
#1
Picture Message Window - With Ease
by Chrono Cry
Oct 12, 2007

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.

Introduction

I don't usually create stuff like this, but i hear alot of complaints about it...when it is generally such an easy thing to do, all this does is alias window_message so that an image will appear exactly inline with window no matter where it's positioned.

This script is in no way intended to be good or anything amazing, it was created for those who know nothing about RGSS and to allow people to make beautiful message systems instead of using the windowskin.

Add this above main and remember to store your message window picture in the 'picture' folder, sized 480 width x 160 height. Also replace the word Message with whatever you called your image. Also you can now change the opacity of the image to make life easier, to change it, just change the line message.opacity = 200 to any desired number (0 being invisble amd 255 being solid).


Code:
#-----------------------------------------------------------------------------
#  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 = self.y
      @message.x = self.x
      @message.visible = self.visible
      @message.opacity = 200
    end
  # Alias Message_Window update  
  alias message_window_upda update
    def update
       message_window_upda
        @message.visible = self.visible
      end
      end

Q&A

Q. Does this work with the UMS?
Not sure awaiting confirmation

~Mac
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Jaber's Super-Simple Message System Jaberwocky 0 2,503 04-25-2011, 01:00 PM
Last Post: Jaberwocky
  Console Window (HUD) Eradicator 0 2,271 03-27-2008, 01:00 PM
Last Post: Eradicator
  Custom Message Pause Sheol 0 2,217 03-19-2008, 01:00 PM
Last Post: Sheol
  Scrolling Message System[ Sheol 0 2,356 05-13-2007, 01:00 PM
Last Post: Sheol
  Letter by Letter Message Window Sheol 0 2,141 09-08-2006, 01:00 PM
Last Post: Sheol



Users browsing this thread: