1
You need to learn the canvas element if you havent already.
Come back to me when you have learnt the basics
Come back to me when you have learnt the basics
Create an account or sign in to comment.
3
1
qaupperopsSo recently I've been learning basic Javascript and I'd like to know how I can make a simple, yet creative, 2D sidescroller. I may need help so If you'd like please post below how I should start and what I need to do.
I have made games before and even for a maze, you can't just learn it from a forum it is too much
1
And then learn something other than javascript!
1
You need to capture the event handler from the keyboard input
http://javascript.info/tutorial/keyboard-events
Link that to the animation on the screen
http://www.tutorialspoint.com/javascrip ... mation.htm
Add the scrolling background
https://www.youtube.com/watch?v=zCRgJAHWEYA
that should get you started!
After all that you need to be looking at heightmaps to create obstacles in the level.
http://javascript.info/tutorial/keyboard-events
Link that to the animation on the screen
http://www.tutorialspoint.com/javascrip ... mation.htm
Add the scrolling background
https://www.youtube.com/watch?v=zCRgJAHWEYA
that should get you started!
After all that you need to be looking at heightmaps to create obstacles in the level.