Did you set it to loop.
player on collision with enemy
(Sub event)---------player is falling
(Sub event)---------player.Y < enemy.Y ------------ enemy destroy
Else---------player destroy
Thank's for the capx
Perfect example.
LittleStain thank's alot
As you can see the blue laser is the same sprite with different sine behavior.
And the player can escape from it by stand behind obstacles.
Hi all
I have laser sprite with sine behavior, And i want to prevent it from overlapping the obstacle, And when not overlapping it will return to the default size.
Any help will be great
Thank's
You can make it with variables, But if the player close the browser it will be deleted.
So using Webstorage will fix this.
Simply set the image position every tic above the player and set it invisible.
Score = 1000 .... Image set visible - wait 3 seconds - set invisible.
Trigger once
tulamide
Thank's for the info.
What about Sony vegas?
Just use Gimp for the graphics and for the sprites use Spriter.
Thank's for the help offer.
I can get around this by simply put the event's inside a deactivate group then activate it when i want to.
But it will be great to see this request on the mouse and touch plugins.
OddConfection
Thank's for the example.
If the code is easy, then it will be awesome to see in the future.
If i have Sprite buttons that i don't want to be clicked, I need to use variables or deactivate groups, If the mouse can't click on disabled sprites this will be awesome and i don't need to add more events and variables to get around this.
Check this example :
Develop games in your browser. Powerful, performant & highly capable.
The Time expression will count from the start of the game even if you die and restart or pause the game, The time will keep counting.
You should use --- Wait 5 second then destroy.
Just Ignore sprites that have disabled collision.