Hello everybody,
i try to make a 2d shooter and added that the player is shooting on the left mouse button. If i look to the right and klick he shoot right but my problem is that if i look to the left and klick the shoot goes on the right too. How can i do that if i look to the left the shoot goes on the left? Thanks a lot
Develop games in your browser. Powerful, performant & highly capable.
Give the left shooting bullets a negative speed in their properties. If the bullet object has a front and back you may want to flip the sprite as well.
example: -100
when i turn left, my right side bullet spawner is destroyed and system, create left bullet spawner is created. hope that helps.
when i turn right. left bullet spawner is destroyed
You could just use spawn object bulletL, bulletR image point 1 or image point 2 and put 1 on right and 2 on left?
That is the nice thing about Construct2, there are a dozen ways to fry an egg.