game freezes when entering a scene.

lights0123

  • Posts: 4
when i enter the screen for my maze game, it freezes. have a look at it in stencylforge the name is mazze. or go to http://www.stencyl.com/game/play/14705

LontaBeans

  • Posts: 200
your scene might have too much actors
Skype name: lontabeans (add me)

lights0123

  • Posts: 4
ermmm.... i only have one actor on it. are tiles laggy?

GeorgeN

  • Posts: 856
Or maybe you have a broken while/repeat until loop somewhere because your game is crashing.

« Last Edit: April 17, 2013, 05:23:15 am by GeorgeN »

dtrungle

  • Posts: 1938
Press ` and look at your console for errors.

lights0123

  • Posts: 4
when i click "`", and enter the scene, it immediately drops to 40 fps. no error produced, but I had to force quit (yes I'm using a mac) the app. I do have a lot of tiles, however. when i remove about 7, it stopped doing that. would that be considered a bug or what?

« Last Edit: April 17, 2013, 03:23:00 pm by lights0123 »

dtrungle

  • Posts: 1938
Maybe your final tile collision box is shaped in a bad way so it crashes. Remove all behaviors/events and actors on the screen, have only tiles, see what happens. Experiment and test in this fashion to see if you can pinpoint the problem.

If all else fails, attach your .stencyl file.