Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to build an app with HTML5.

Is there a certain syntax to follow when making objects for games? Anyone tried that and what are good practices to follow?

share|improve this question

closed as not a real question by gnat, Oded, Matthieu, Jim G., Walter Sep 18 '12 at 11:50

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

you might be interested in checking out ;) – Songo Sep 16 '12 at 8:35
I agree with @Songo. Voting to close. – Jim G. Sep 17 '12 at 20:54
up vote 2 down vote accepted

Basically there are two main options: a) using canvas and raycasting b) using game engine to achieve the 3D effect in HTML5.

Have a look at the following cool tutorials and posts:

  1. Creating pseudo 3D games with HTML 5 canvas and raycasting
  2. How to Create an HTML5 3D Engine
  3. Canvas tutorials
share|improve this answer
Thanks! I was confused for a moment there. – Coding Seahawks Sep 15 '12 at 13:04
no problem, sometimes we all have that feeling – Yusubov Sep 15 '12 at 13:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.