Are you certain that chasing becomes 1 only when you press up? Check in debug mode what the variable is doing, maybe it's 1 the whole time and the enemy can see the player but doesn't move for some other reason. I just set up an identical level and it's working fine for me although I don't know the intricacies of the custom obstacles in your level.
You just use a global variable that starts at 100 for the total. You can use a global variable for each level that has a stars total. When one is collected you subtract 1 from the total and the level total.
Can you not do this with collision?
Please elaborate.
1. Give him an idle animation and play that on 'Is moving' action inverted.
2. Give the buildings and any other obstacles the solid behaviour.
3. Jumping is preset of the platform behaviour, maybe it would be easier to use that?
At the end of a layout, store the X,Y position as global variables. When you load a layout set the menu position to the global variables.
If it's empty then 'load' would fail and you can trigger 'on load failed', is that what you're after?
tomi71 select Persona and then enter your email address.
You do not have permission to view this post
tomi71 it's from October 3rd.
Develop games in your browser. Powerful, performant & highly capable.
It's useful but what's this error I sometimes get 'Error preprocessing file : [object ProgressEvent]', has anyone else had this show up?
Nice, plenty of options in this thread.
Ashley
i tried neocities, you have to pay to support the offline.appcache file which I assume is an important file.
BitBalloon has been useful.
Member since 5 Aug, 2013