22

i always thought that making a simple game is easy until i saw the source code for the dynosaur game you have in chrome when your internet is down

Comments
  • 5
  • 1
    @kimailis remember that games can be as simple or as complicated as you make them. Ask yourself what makes this "hard" or "complicated".

    I write js games all the time in jsfiddle for fun, im on my phone right now, but ill look up one of them later and link it here. They are all "simple" games. One is a 2 player collection game. First to 30 coins collected wins. Another is a basic rock paper scissors game I made for another guy I met on devrant.

    My jsfiddles are normally well documented and designed to share some concepts involved with making games.

    What kind of simple game are you looking for an example of? If I don't have a close example written ill quickly make one while on break at work tomorrow.
  • 4
    It's not complicated. The process of loading the asset takes more than 1/3 of the file and the rest can easily be shortened. It won't take more than 100 lines of code to make a game just like this in a game engine (Eg. Unity). It being made in JavaScript makes it look a bit more complicated
  • 2
    @WillCodeForFood so what your saying is, a game engine has a large chunk of the coding done for you? Who would have thought
  • 1
    Actual game logic is just a very small part of it. Just take a look without panicking
  • 1
    @Aethiris Pretty much.
  • 0
    @Snowdrama mm... i guess a simple sidescrolling running game for android.
Add Comment