Archive for the ‘Gaming’ Category

Articles

Making my game

In Gaming,Programming on October 18, 2011 by ducksir Tagged: , , , , , , , , , , , , , , ,

I have decided to make a game, I already got down the plot, but there is much to be done.

First thing I want to do is, select my tool for the job, I want my game to be inside of the browser, so pygame isn’t an option for me right now.

These are the tools I have thought of using.

HTML5+JS:

Pros:

  • Will give me something to play with javascript on.
  • No plugins are needed if a players browser supports the HTML5 canvas and javascript(and has it enabled).
  • Well documented on sites like MDN and Dev.Opera.
  • An excellent opportunity to use HTML5′s canvas.

Cons:

  • Javascript, which is not always liked.
  • The canvas is still unsupported in some browsers.
Panda3d:
Pros:
  • Works with a lot of browsers.
  • Opensource.
  • It uses python, which is a language I am familiar with and enjoy using.
  • Works well in, and outside of the browser window.
Cons:
  • A bit of performance issues.
  • Plugin, not really worth it at the moment because the game I am making is 2d; I’m going to make a 3d game in the future and I might use panda.
Java or Jython applet
Pros:
  • Simple.
  • I already know the basic syntax if I decide to use Jython(which is just an implementation of Python with the same syntax as CPython).
  • Opensource(Well, Jython is, I don’t know if java is opensource and I’m too lazy to check at the moment :P )
  • Works in a lot of browsers
Cons:
  • Plugin.
  • Am I really going to use an applet for a game?
SVG+JS
Pros:

  • Cross-browser
  • No plugins needed, in most cases.
  • Also well documented.
  • A good opportunity to use SVG and JS.
Cons:
  • Javascript, which is not always liked.
  • Not always supported.
I decided on HTML5′s canvas, may not end well.
Follow

Get every new post delivered to your Inbox.