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.

Seemingly Random Freeze (At my wit's end!)

Hey guys. At the end of an event, my game freezes. I've read all over the forums that it could be caused by a repeating autorun, but for one thing, the autorun shouldn't exist anymore as by the end of the event, you're in another map; and the fact that a switch was set to make sure the event doesn't run again anyway. There are no events on the second map save for an NPC that is a Player Touch event, not an Autorun or even Parallel Process. Also, I have used no "wait until move's completion" or whatever commands. I'm not quite sure what I'm doing wrong; I seem to have covered all the bases, but the game freezes as soon as the final screen fade in finishes.
 
Quick diagnosis: How frozen is the game? This may sound silly, but can you enter the menu from the point where you're frozen?

(This is to tell the difference between a true freeze and a "Player can't move" situation, which have very different causes.)
 
I don't know how to print screen on this laptop so I'll just type the event out:

Conditions:
Self Switch A is ON

Trigger: Player Touch
Priority: Same as Characters
Movement: Fixed

Code:
@>Text: -, -, Normal, Bottom

 :     : Would you like to go into the internet?

@> Show Choices: Yeah!, Of course!, Duh!, Just let me in already!

[choices removed - they all do the same thing]

@>Fadeout BGM: 3 sec.

@>Play SE: 'Teleport', 80, 100

@>Shake Screen: 5, 5, @60

@>Tint Screen: (255,255,255,0), @60

@>Wait: 40 frame(s)

@>Fadeout Screen

@>Play BGM: 'Theme1', 100, 100

[some text removed, not important]

@>Transfer Player:[002] (007,005), Up

@>Fadein Screen

@>Tint Screen: (0,0,0,0), @30, Wait

@>Control Switches: [0001] = ON

@>Exit Event Processing

@>

 
 

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