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.

Game Freeze

I'm having a problem here. At one point in my project during dialogue, the character you are speaking to walks away for a moment. he returns and nothing happens. there is supposed to be more text after that but no it just freezes. I can't move anymore and there's no error message or anything. i can still move my mouse and close the window. I tried numerous times to fix it but it just won't work.
 
it sounds like you have an autorun process that keeps running after your event. Make sure that you throw all the right switches to activate all of your event pages and have at least an erase event at the end of it or a selfswitch to a blank page....
 
Two ways, actually.

1)  Change the Wait For Move's Completion to a generic Wait command.  Not a bad idea, but a little imperfect.

2)  Figure out what's going wrong.  See, a WFMC will freeze a game if the Move Route can't finish, because, for example, it's trying to move a sprite into an occupied square.  If you have any Set Move Routes going on, test which one is causing the freeze by altering them and/or checking "Ignore if can't move," which, incidentally, will also prevent the freeze. 

Edit:  The best way to test for a move that's freezing the game is to set any even that's moving to Through.  That way you should be able to determine where it's trying to move into a solid object in a highly visible fashion.
 
Actually, I'm confused, now.  If you set a custom move route in the switches to the left of an event box, it doesn't need to be parallel process-- it'll do the movement that you tell it to automatically.  Or, if it's just the basic stop animation, you can just check the "Stop Animation" box.
 

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