[Stencyl 2.0] Preview Scene/test game stops working after first time [SOLVED]

mguido730

  • Posts: 600
okay i just uploaded the test game to the forge as "follow path test"
Matt Guido (@guidolatry)

Co-Founder/Programmer at The Automatic Gentlemen.

Rob

  • *
  • Posts: 1268
This is what you can do:

1. Remove your test scene. Start a new scene. I think you've placed some actor outside the screen boundary.

2. More importantly, do not use coordinates like (160,0) which is at edge of screen. Try removing that first pair of points.

I've uploaded a game called New Follow Path Test on Forge for your reference.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

captaincomic

  • *
  • Posts: 6109
Yes, the screen boundary is the problem. If you make the actor "always active" (simulate) it should work.

Rob

  • *
  • Posts: 1268
Thanks captain. I did try always simulate too. It turned out it would fix the problem but it's masked by some other problem for this particular game. Do you think we should add always simulate to this particular preshipped behavior?

@mguido, you can do 2 things:

1. attach Always simulate (it's in pre-shipped Motion) to the actor.
2. Open a new scene, place one actor anywhere, test scene

GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

Hydrotrope

  • Posts: 2
It worked for me too. Thanks!

Rob

  • *
  • Posts: 1268
Thanks for confirming. Actually, if you download 2.0 right now, it should work without having to swap in the launcher exe above.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

captaincomic

  • *
  • Posts: 6109
Do you think we should add always simulate to this particular preshipped behavior?
Hm, yes, maybe we should. Although this is not really related to this behavior, none of the motion behaviors make the actor always simulate (except those that really need it, like Wrap Around Screen or Cannot Exit Scene.)