HTML5 Canvas game - forksteroids

Discussion in 'Web Programming' started by Jazz00006, Nov 29, 2012.

HTML5 Canvas game - forksteroids
  1. Unread #1 - Nov 29, 2012 at 12:39 AM
  2. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    HTML5 Canvas game - forksteroids

    For GitHubs GameOff Challenge I made a simple HTML5 game.

    I've never touched the HTML5 canvas stuff before so everything I did I learnt on the fly.
    I don't think the code is perfect, and in fact the last portion of the work was rushed and still needs to be cleaned up. But it's working and playable, and for those interested it offers a chance to learn some things about JavaScript and HTML5 canvas.



    The object of the game is simply to dodge all of the spaceforks flying from the top of the screen. No shooting or powerups like in fancy games.

    Arrow keys move the players ship.


    Also comes with high scores. The input field has no checking for swear words, and I take no responsibility for what others type as their name.


    You can find the playable game here: http://lab.jcode.me/forksteroids/
    And the source here: https://github.com/JasonMillward/game-off-2012
     
  3. Unread #2 - Nov 29, 2012 at 12:59 AM
  4. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    HTML5 Canvas game - forksteroids

    Fun game, reloading is a bit slow. You should add different difficulties...
     
  5. Unread #3 - Nov 29, 2012 at 1:04 AM
  6. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    HTML5 Canvas game - forksteroids

    Cheers. I probably should do something about the reloading, but after the competition is over.

    The difficulty increases by adding an extra spacefork for every 3000 points.
    Eventually it becomes impossible by design.
     
  7. Unread #4 - Nov 29, 2012 at 1:09 AM
  8. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    HTML5 Canvas game - forksteroids

    I was meaning for the user to change, instead of adding forks just change the amount of forks that fly at you.
     
  9. Unread #5 - Nov 30, 2012 at 2:00 PM
  10. NameGuy
    Joined:
    Jul 22, 2012
    Posts:
    1,007
    Referrals:
    1
    Sythe Gold:
    0

    NameGuy Guru
    Banned

    HTML5 Canvas game - forksteroids

    Really fun game ^_^ Nice work!
     
  11. Unread #6 - Nov 30, 2012 at 11:19 PM
  12. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    HTML5 Canvas game - forksteroids

    Thank you.


    Fair enough, should be an easy change to make.
     
  13. Unread #7 - Dec 1, 2012 at 2:58 AM
  14. n4n0
    Joined:
    Jun 17, 2007
    Posts:
    14,207
    Referrals:
    66
    Sythe Gold:
    10,701
    Poképedia
    Charmeleon Abra Gastly
    Tier 1 Prizebox (15) Live Streamer Pokémon Trainer (15) The Dark Side Oktoberfest 2013 MushyMuncher (2) Rupee (4) St. Patrick's Day 2013 Poker Chip
    Not sure if srs or just newfag... (9) Ninja Tortoise Penis DIAF St. Patrick's Day 2014 Cool Kid (6) Cook (4) Heidy (17) Halloween 2013 Village Drunk (8)
    Voluntaryist (3) We Are Legion (4) Penguin (9)

    n4n0 Legend
    Village Drunk Legendary Heavenly Highly Respected

    HTML5 Canvas game - forksteroids

    Just took over the #2 spot on the highscores. Don't have a high enough attention span to get #1 :p
     
< JavaScript/HTML Forms? | CSS Help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site