I'm trying to create a mobile game.... what I;m trying to do is:
If player touches screen, a single target sprite will appear.... then multiple bullets aim to that target. until Player releases touch.
At the moment, I have
Touch|is in touch | create target (touch.x,touch.y)
Bullet|Set angle | target
Touch|on any touch end > target destroy.
Above is rough, but you get the idea. Above works, but it creates multiple targets. I've tried a variable...(e.g. If in touch, set var to 1)
if var is 1, then crate target once.....
didn't work as mind brain is frazzled :(
Develop games in your browser. Powerful, performant & highly capable.
Replace 'is in touch' with 'on any touch start'