You do not have permission to view this post
You forgot to add "Player invincible=0" condition to your "Player on collision with enemy" event on the screenshot.
When invinicble is not 0, the collision will simply be ignored.
newt
Good to know, thanks.
But if the background in the game is more complex, consisting of different sprites, or moving, scaling - then I guess it needs to be a part of layout, not set in html.
fenis99
Yes, but once the users logged into their facebook account - what's next? What do you mean by "manage players"?
Post messages on their wall? Use Facebook Leaderboards?
In Platform behavior you can change the angle of gravity.
Develop games in your browser. Powerful, performant & highly capable.
EMA2826
Don't use "Wait" action for this! This is a mistake many beginners make and it can cause all kind of bugs and problems.
Use Timer behavior instead.
Set Invincible=1, start Timer for 1.5 seconds.
On Timer event, set Invincible=0
https://www.scirra.com/tutorials/73/sup ... reen-sizes
To get rid of black bars on screens with different aspect ratio, use scale outer mode and make your background about 15% bigger than layout size.
Try checking for overlapping at a different offset - 15 or less.
Make another invisible "inverted" tilemap with tiles in place of holes, and use it for pathfinding.
Set obstacles=Custom in pathfinding properites and add this tilemap as an obstacle.
I think it's possible in C3, but not in C2.
The best you can do is a bunch of events like this:
If variable=x then spawn object x
If variable=y then spawn object y
etc.
If you are using 8-Direction behavior, simply set a low value to Deceleration property.
Member since 26 May, 2016