RPG Maker Forums

After a very long morning trying to figure out how to do this on my own, I have finally given up and registered with your forum for some help. This is my first post, please be gentle.

Ok, so what I have been working on is an animated title screen with a flashing "press start" that plays for 20 seconds or so before switching to a scrolling "high scores" table. I want this on a loop until player input button C, at which point it takes the player to Scene_Map and it starts the game. You know, like an old arcade game.

What I have achieved so far:

I have my animated title screen (labelled Scene_Intro not Scene_Title because the actual title menu comes later on) and a functioning scrolling high scores table (Scene_HighScores). I have written them so that they each wait and play their animations for a while before switching to the other. So I have my loop.

My problem:

I can not figure out how to break the loop on button C input. I'm sure their is a simple solution, but i'm very new to this scripting lark.

Here is the script that creates the loop and animates the elements in the scene:

def wait(duration) duration.times { Graphics.update } end def update super for i in 1..1000 update_object_animation update_object2_animation update_object3_animation @background.ox+=2 @clouds.ox+=1 wait(1) end SceneManager.goto(Scene_HighScores) endIt plays all animations for 1000 frames with a waiting time of 1 between each frame, and creates a loop with Scene_HighScores which has pretty much the same piece of script but with "SceneManager.goto(Scene_Intro)" instead.

How do I get Input C to start the game?

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top