Log In  

Hi everyone,

I am writing, for pure fun, a small shoot'em'up.
I would like to do things the "right way".

What tutorials / readings do you suggest to implement main topics:
ship movement / projectile & enemy movement?

I've already implemented a very basic version of movement simply adding to x or y if the player is pressing a button but then I thought...
I need also acceleration in order to enable power ups...
Same problem will be with enemy waves (acceleration, rotation, specular patterns).

How should I proceed?

Is there any book to read or tutorial or article about those topics?

Really thanks :)

P#42512 2017-07-15 13:10 ( Edited 2017-07-16 16:46)

If you Google search '16 gif space shooter' you'll find a decent tutorial.

I used it as a very loose basis for the space shooter I did awhile back. Feel free to peruse the code and ask me if you have any questions:
https://www.lexaloffle.com/bbs/?pid=41473&tid=29465

P#42516 2017-07-15 15:39 ( Edited 2017-07-16 04:33)

Hi sloum and thanks for your input!

Wow you made a great game, I aim to do something like it!

I already saw that tutorial and it was great to start but still the problems about acceleration and enemy waves rotation and moving patterns stand.

I think this is what can make nice game out of an average game.

P#42537 2017-07-16 07:32 ( Edited 2017-07-16 11:32)

Basic 2D vector physics? Something like this should see you in the right direction.

https://cecilsunkure.blogspot.nl/2012/02/basic-2d-vector-physics.html

P#42540 2017-07-16 07:50 ( Edited 2017-07-16 11:50)

keep in mind that diagonals are far faster unless youmess with their speeds

P#42544 2017-07-16 12:46 ( Edited 2017-07-16 16:46)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 08:20:55 | 0.005s | Q:13