Weird bug with push(scene_skill)

clitvin

Veteran
Veteran
Joined
Oct 26, 2015
Messages
104
Reaction score
13
Primarily Uses
I noticed a strange bug when working on one of my events.

If the player is holding down the action button to skip the text faster and doesn't let go when the game
hits this push line, it will freeze and become unresponsive.

If the player is not holding down the action button, then this line works fine.

Anyone know if there's any way to prevent this freeze from happening?
upload_2018-5-15_0-4-25.png
 

TWings

The Dragon Whisperer
Veteran
Joined
Jul 26, 2017
Messages
527
Reaction score
860
First Language
French
Primarily Uses
RMMV
It works fine for me, so I'm not sure what goes wrong.
Maybe try to add a wait between the message and the push, but if the cause is the action button being pressed when calling the skill menu, it might not help.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
SceneManager.goto(scene) ?
 

clitvin

Veteran
Veteran
Joined
Oct 26, 2015
Messages
104
Reaction score
13
Primarily Uses
SceneManager.goto(scene) ?
Can you explain the diffrence between goto scene and push scene?
I change it from push to goto and it did not freeze, but when you exit skills it now quits the whole game.

Edit: If I use push followed by goto, seems to work fine.. is this the way we should always be doing it? Push followed by goto? I always just used push without goto in the past. Can anyone explain?
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
push adds the scene onto the stack, in case you want to .return
goto just moves from one to another, no going back.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top