Ahmed Tamer what file and where is file?
FabianB try this tutorial and there more example on my dropbox
https://www.scirra.com/tutorials/5367/a ... t-2/page-1
Start of your game isAlive=1
when you use variables isAlive to 1 and game ends isAlive to 0
like this
start of set isAlive = 1
whatever your code
to check if player collide with enemy set isAlive = 0
game over
huZba I have noticed this too but, never took any notice before until Ashley mention this Edge was particularly good IIRC
kainrazial Most welcome need help we are here anytime just pm
kainrazial you could do it like tutorial below
https://www.scirra.com/tutorials/9423/i ... -variables
Siva2D most welcome
Siva2D try this tutorial
https://www.scirra.com/tutorials/4791/level-selector
ramyaswetha try some of my tutorials and you will find what you looking for
https://www.dropbox.com/sh/eioscti86bpr ... 7YPza?dl=0
obi554 if you want to move players in direction way you want then try this tutorial and might come up with your own method
Develop games in your browser. Powerful, performant & highly capable.
Most welcome
ishmaelmoreno you will find this file in my Dropbox
Member since 11 Feb, 2013