I see one issue though, the choosing will be performed every tick, so the animation could change every tick..
It would probably be better to set an (instance) variable to choose() on collision and play animation = (instance) variable when overlapping...
Or use
On overlapping object > Set animation to : choose("kicking","Punching")
The simplest solution, I gave in this thread..
Have you tried searching the forum?
This question has been asked so many times..
I came up with a game where you're a robot that has to change color of his laser to shoot that colored blocks to get to the winning block and you're timed, but that would be to complicated.
What would be too complicated about that?
I don't think anyone can teach you how to come up with an idea..
Something like this?
https://dl.dropboxusercontent.com/u/485 ... hegap.capx
right click the event - add another condition?
Develop games in your browser. Powerful, performant & highly capable.
Have you tried the webgl effects?
https://www.scirra.com/manual/146/effects
Bullet1 is for something else, it shouldn't set the speed of squares. Square family on created > set bullet2 speed to 1. Why isn't it working?
Bullet1 is for something else, it shouldn't set the speed of squares.
Square family on created > set bullet2 speed to 1. Why isn't it working?
Like I said..
Bullet behaviour 1 is enabled and set to 400..
Disable it and you'll see..
The bullet speed is 400 not 1, haha..
Two bullet behaviours are attached and enabled you are only setting one of them to 1px..
Disabling bullet behaviour 1 and only keeping 2 enabled will show you how slow 1px really is..
there is an action "set ignoring input", which might be of use here?
LittleStain Can you make hero and layout rotate toward mouse?
LittleStain
Can you make hero and layout rotate toward mouse?
just add a - to the set layer 1 angle in my first capx example
so set layer 1 angle = -angle(Player.X,Player.Y,mouse.X,mouse.Y)
Member since 26 Apr, 2011