If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Have to make a game for school, dont know where to start

So basically, I have 3 days to make a game using javascript. I would like to make a sidescroller'ish shooter (something like this http://dougx.net/plunder/plunder.html)
problem is, I have never used javascript and i have no prior knowledge to coding in general where should I start?

So basically, I have 3 days to make a game using javascript. I would like to make a sidescroller'ish shooter (something like this http://dougx.net/plunder/plunder.html)
problem is, I have never used javascript and i have no prior knowledge to coding in general where should I start?

Start by learning Javscript! And have a look at forum rule #1.5.

It is your responsibility to die() if necessary….. - PHP Manual

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

if you have 3 days and know nothing about javascript I would suggest choosing something a little more basic - some that come to mind would be tic tac toe, hangman, memory. I guess there are many others

So basically, I have 3 days to make a game using javascript. I would like to make a sidescroller'ish shooter (something like this http://dougx.net/plunder/plunder.html)
problem is, I have never used javascript and i have no prior knowledge to coding in general

So you're saying that you have been tasked with learning programming from scratch and un-assisted, to the point that you can produce an application that might be described as a game?
Either you attend a special school for 'the gifted', or you have a very optimistic/misguided teacher.

So you're saying that you have been tasked with learning programming from scratch and un-assisted, to the point that you can produce an application that might be described as a game?
Either you attend a special school for 'the gifted', or you have a very optimistic/misguided teacher.

One other possibility: He has procrastinated to the point of disaster!

The funniest part (and SADDEST part!) of all this is that he expects to create a game an *EXPERT* couldn't produce in 3 days (maybe not in 3 weeks) when he has no idea what he is doing.

That game does say "proof of concept" which means that the author is attempting to use new code that only some browsers currently support to see what will be possible once all browsers do support it. You have to know all the commands really well to be able to do something like that so *EXPERT* is probably an appropriate description for the person's level of knowledge with all the code being used.

It is fairly typical for novices to want to be able to reproduce what an expert can do with many years of experience without knowing anything about the topic. That's because if they knew an hour or two worth of information on the topic they'd realise that those sort of projects will require a huge investment in learning time.

It's something like someone knowing how to spell 'brick' deciding to build their own skyscraper without any knowledge of architecture or construction. Of course with programming there are a lot more factors involved than with the building industry so it is only somewhat similar.