Intro to Java Monkey Engine

nutmegactSoftware and s/w Development

Nov 11, 2012 (4 years and 9 months ago)

335 views

Intro to Java Monkey Engine

JME Web Site


http://www.jmonkeyengine.com/


Access to wiki, docs, tutorials, forums, etc.


The Tutorials:
http://www.jmonkeyengine.com/wiki/doku.p
hp?id=the_tutorials_
-
_jme_2


Set
-
up Eclipse for JME2.0 (optional:
NetBeans
)


Examine sample code:
http://www.jmonkeyengine.com/wiki/doku.php?i
d=starter:jme_wiki


Game Types


BaseGame



Provides only main game loop
(no
DisplaySystem

or Renderer or set
-
up)


SimpleGame



Most commonly used.
Provides hooks for set
-
up, tear
-
down,
initialization, updating, and rendering.

The Main Game Loop

The Scene Graph


A grouping of Nodes in a tree hierarchy according
(most of the time) to spatial location.


Spatially because …


Game objects are typically located by location


Allows for fast culling


Tree structure natural for many game objects


Easy to express, create tools for this data structure


Nodes are most commonly of two types


Node (internal): e.g.,
CameraNode
,
LightNode
, Spatial


Geometry (leaf).