i want make when i touch on the screen the player will shoot and the player's bullet wiil go to the touch posisition. please help me.
Develop games in your browser. Powerful, performant & highly capable.
On touch
---> create object (that is a bullet)
------> set bullet angle to to angle(bullet.x, bullet.y, touch.x touch.y)
hi tks it works
but the firerate for multi touch is very slow..
Check
to see how to build a firerate.
You will want to adapt it so that the touch is the triggering event.
If you have further issue, consider posting your capx to see how you implemented things.