I'm currently trying to make a fairly simple game in JavaScript and it isn't going too well.
Before I started, I thought I'd only need to know three things (on top of what I already know) which were:
- How to 'spawn' an object (i.e. a bullet) by pressing an on-screen button.
- How to make that bullet move across the screen.
- How to make that bullet collide with something.
I thought the first two would be pretty simple, but I cannot find anything online to help me with them. Source code and tutorials appear to be either too simple or too complicated, and I'm starting to worry this project will be a lot more complicated than I thought.
So, can anyone help me do any of the listed things? If so it'd be much appreciated!