1 system isaiming = 1 pig set position to catapult block ( image point 0)
system scroll to catapult block
2 touch is in touch pig set angle to angle ( touch.X, touch.Y, catapultblock.X, catapultblock.Y) degrees
pig move min(distance( touch.X, touch.Y, catapultblock.X, catapultblock.Y / 3,45) pixels at angle self angle+180
3 touch on any touch end system set is aiming = 0
i delet the behavior physics on the pig and add bullet
Voila, now i want to know how to after the first fire make spawn another pig and be able to fire immediatly after
edit: sorry for double post