Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Console Window (HUD)
#1
Console Window (HUD)
By [CE]Eradicator
Sep 27, 2008

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.


Installation

Put both of these in new scripts above Main.

Window_Console

Scene_Map



Now edit Game_Temp, add this with the other accessors.

Code:
attr_accessor :ctext

Add this in the Game_Temp initalization method

Code:
@ctext = ["","","Game Initalized","Welcome to Game Name Here!"]


Add a new def to Game_Temp.

Code:
def push(msg)
    pushi = 0
    @ctext.each { |ltext|
      #print(i)
      if pushi == 3
        @ctext[pushi] = msg
      else
        @ctext[pushi] = @ctext[pushi+1]
      end
      pushi = pushi + 1
    }
  end


Your Game_Temp should look something like this.

Finished Game_Temp


Adding Messages

To add a message to the console screen from an event, put a script call and do this.

Code:
$game_temp.push("Your message here.")


NOTE: Messages aren't handled, if you enter something extremely long its going to display like garbage from RGSS.

Screenshots
[Image: screen1-1.png]

Thanks for looking over my topic.

Regards,
Eradicator
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Picture Message Window Chrono Cry 0 2,230 10-12-2007, 01:00 PM
Last Post: Chrono Cry
  Letter by Letter Message Window Sheol 0 2,098 09-08-2006, 01:00 PM
Last Post: Sheol



Users browsing this thread: