1

Learning to code... how do I make a game?

Imadbush's Avatar Imadbush7/25/14 3:54 am
1 emeralds 244 3
7/25/2014 4:34 am
ldenning6's Avatar ldenning6
You need to learn the canvas element if you havent already.
Come back to me when you have learnt the basics
Posted by Imadbush's Avatar
Imadbush
Level 20 : Expert Network
15

Create an account or sign in to comment.

3

1
07/25/2014 4:34 am
Level 15 : Journeyman Crafter
ldenning6
ldenning6's Avatar
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
07/25/2014 4:06 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
And then learn something other than javascript!
1
07/25/2014 4:05 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
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.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome