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?
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.
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: