If it's a small range I tend to set a variable to choose(1,2,3,4,5) which picks one of the options. Or you can use random(x,y) to pick in a range.
Key events are missing such as when and how do you add 1 to wrong? Can't really figure anything out from this code.
Yes your click wasn't being recognised I guess, ok so it's resolved nice :)
Definitely an easy fix, easier to work out if you share the file
Even the basic tutorial level 'Ghost Shooter' that comes with construct shows this working so it must be your events, let's see them.
It's common practice to have the instance on the layout at the start and destroy it
You never set hit back to 0 on the skeleton so it starts movement from the previous variables. You should set hit back to 0 on the timer end or similar.
Yes there is a built in Fade behaviour, you can add this to the object. And change logic to on object clicked > start fade. This is the easiest way, or you can mess about with opacity of the object and reduce it from 100 to 0 over time.
No problem ^^
Yes, add action, select the object and Set visible, select invisible.
Develop games in your browser. Powerful, performant & highly capable.
Object on clicked > set invisible !
You need to put the images into one animation as separate frames. Currently you have each one as a different animation.
Member since 5 Aug, 2013