Example

Shooter With Gamepad And Touchscreen

10

SP4CEBAR 2023-02-18 16:50 (Edited)

Controls:

Let me know how the gameplay feels


McPepic 2023-02-18 18:28

Interesting concept! The player moves really fast, though. Also, it would be nice if there was a circle around the joystick and also if the handle was clamped to the edges of the circle! :)


SP4CEBAR 2023-02-18 21:52 (Edited)

Thanks! I rushed it that's why it behaves a little rough, I've polished it now

Update:
- reduced the player's movement force
- added a background for the joystick
- added animations

I have a subprogram called RENORMALIZE(DX,DY,M) that normalizes a vector (sets the length to be one) and then multiplies it by the scalar M
it is really handy for restricting the length of a vector


Cheems 2023-02-19 02:34

Wow this is really cool. I like how the movement feels. I wish you could aim the crosshair outwards to maybe aim more accurately. Solid base for a game.


SP4CEBAR 2023-02-19 09:09

Thanks! You mean that the crosshairs predict where the bullet is going to land? That may be quite a bit of work to implement, especially if the terrain would have platforms, and that would make the game easier. I guess a player will get a feel for where the bullets will land


Log in to reply.