Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    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.

  • #3
    Senior Coder xelawho's Avatar
    Join Date
    Nov 2010
    Posts
    2,913
    Thanks
    56
    Thanked 545 Times in 542 Posts
    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

  • #4
    Senior Coder Logic Ali's Avatar
    Join Date
    Sep 2010
    Location
    London
    Posts
    1,028
    Thanks
    0
    Thanked 207 Times in 202 Posts
    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.

  • #5
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,073
    Thanks
    38
    Thanked 498 Times in 492 Posts

    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!

  • #6
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

  • #7
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    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.

  • #8
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,155
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    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.

  • #9
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,155
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    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.

  • #10
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,611
    Thanks
    0
    Thanked 645 Times in 635 Posts
    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/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •