Run the Arc

So I had a bit of a brain wave/eureka moment and I may have come up with a great idea for the player, which also solves some other issues I had foreseen. So in the past you rotate the gun barrel but this time around I am not sure if that woudl work well, so I thought about being able to move the player left and right instead.

My idea is to create a target that would sit above the player and using left or right, rotates it, this giving the angle bullets would be fired. You can see  demo of this idea here.

Ok so that demo is just the rotating, but it took a fair bit of work to get that moving right. I now need to work out how I will do the bullets, I would like to stay away from sprites and possibly draw circles or perhaps do lines. But this means I need to run checks first on my previous collision model I was running to see if that is viable. if it is I may have solved a fair few issues in one swoop and put together the last of the mechanics.

>>back<<