Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-17-2012, 10:19 AM   PM User | #1
NuperSatural
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
NuperSatural is an unknown quantity at this point
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?
NuperSatural is offline   Reply With Quote
Old 12-17-2012, 11:03 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by NuperSatural View Post
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.
Philip M is offline   Reply With Quote
Old 12-17-2012, 03:01 PM   PM User | #3
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
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
xelawho is offline   Reply With Quote
Old 12-17-2012, 03:29 PM   PM User | #4
Logic Ali
Regular Coder

 
Logic Ali's Avatar
 
Join Date: Sep 2010
Location: London
Posts: 961
Thanks: 0
Thanked 198 Times in 193 Posts
Logic Ali will become famous soon enoughLogic Ali will become famous soon enough
Quote:
Originally Posted by NuperSatural View Post
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.
Logic Ali is offline   Reply With Quote
Old 12-17-2012, 04:08 PM   PM User | #5
jmrker
Senior Coder

 
jmrker's Avatar
 
Join Date: Aug 2006
Location: FL
Posts: 2,764
Thanks: 29
Thanked 453 Times in 447 Posts
jmrker will become famous soon enough
Arrow

Quote:
Originally Posted by Logic Ali View Post
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!
jmrker is offline   Reply With Quote
Old 12-17-2012, 04:41 PM   PM User | #6
A.Stratton
New to the CF scene

 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
A.Stratton is an unknown quantity at this point
Have you thought about asking your tutor for help? That is what they are there for. As you are aware, plagiarism is quite a serious thing!
A.Stratton is offline   Reply With Quote
Old 12-17-2012, 05:10 PM   PM User | #7
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by A.Stratton View Post
Have you thought about asking your tutor for help? That is what they are there for. As you are aware, plagiarism is quite a serious thing!
"Copy from one book, it’s called plagiarism; copy from three, it’s called research." -- Wilson Mizner (1876-1933)
__________________

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.
Philip M is offline   Reply With Quote
Old 12-17-2012, 07:20 PM   PM User | #8
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 12-17-2012, 07:22 PM   PM User | #9
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Best place to start would be back at the beginning. Drop this course NOW if you can do so without failing and then next time you take it try to actually do the homework when it is assigned.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Old 12-18-2012, 08:05 AM   PM User | #10
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by Old Pedant View Post
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.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:33 AM.


Advertisement
Log in to turn off these ads.