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.

Automatic Messaging

I wasn't sure where to post this exactly because it kinda enters into multiple topics really. In a few projects I've seen, most memorably, Nadir's Canon, I've seen a system where the message box opens up and closes with no player interaction, this is usually used in cutscenes. I was wondering if anyone knows whether this is done through a script or through eventing and if it is eventing, if they could show me how because I'd really like to know to release a trailer for my game without the player having to click anything but the View Trailer part.

Since this has to do with scripts, I moved this thread to rgss support. ~ alexia
 
Whilst ccoa's messaging system did seem rather handy albeit aparently incompatable with the SDK, I still can't seem to find one that actually suits this use nor can I find Dubealex's AMS.
 

Kraft

Sponsor

for Dubleaxes, after the script is installed, all you have to do in the message to close the window it to write a \~ and it will close.

a \| will pause for one second before posting the next thing. if this is for an opening movie, or something like that, on the first post, if you dont want the player to be able to press space and skip it (and thus screw up your timing) place a \% at the very beginning of the first post. And only the first post. To turn it off, simply post is again, at the end of the last post.

So for an opening movie, the message in the text box would look something like this...

\%\name[ Joseph ]\p[001]"Why isnt this a fine morning! \|\|\|What do you think bob?"\|\|\|\~

The \name[ Bob ] puts a name box above the message box, and displays the name (bob, for this example) and the \p[001] places the message box over event #001 (above the persons head)

Hope all of that helps a little!

Kraft
 

knmt

Member

if you don't want to use AMS or UMS there's another way...

in Window_Message Script , on line 221 :

Code:
if @contents_showing
....

just make a variable acting as a timer which control the time a message would be displayed during a cutscene ( the unit is frame ).

you can do it like this : ( an example )
Code:
if  cutscene 
timer = timer+1
if timer = 4 
timer = 0
terminate_message
end
end
 

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