Ex on touched sprite 1 do x
Sub event sprite animationframe = 1 do x
Sub event sprite animationframe = 2 do x
Sub event sprite animationframe = 3 do x
x = an action.
Check if Default contol is set "yes"
Develop games in your browser. Powerful, performant & highly capable.
Local storage is for keep values like bestscore, lastuser, etc.
I think save and load is for this case.
https://www.youtube.com/results?search_query=save+and+load+construct+2
Forget drag and drop, try this way.
https://mega.nz/#!EpE22YLb!Rn2OZ5Bi4-bVFt1_y59qt5RPSrnOIQdaIuV034HibR8
Cheers.
Isnt a sub event. Try this
Save the project as a simple file ex 1.capx
I used lerp, now i use lunarray.litetween behavior.
... haha i hate drag and drop too!!
too many variables to make it work perfect.
I can help to u if u upload a simple capx.
Can u upload a simple capx file? Cheers.
Hi, u can use groups or a variable to make it work.
Enable / disable groups or
Shoot variable
When u click on button "A" if variable "shoot" is = 0 then shoot
When u click on button "B" set value to variable "shoot" = 1
Maybe this code can help to u.
Nice song ^^
If u can do a simple capx, maybe i can help to u.
time = timer behavior.
start timer "timer" 30 seconds once.
on timer "timer" light off.
You can try this.
When the audiofile 1, tag "1". Is playing, then triggered once while true, seek to 5 seconds.
Use keyboard behavior, when i press "a", platform simulate control "left"
Set disable default control on platform behavior (left of screen)