ProSonic Engine Outline - PowerPoint PPT Presentation

1 / 3
About This Presentation
Title:

ProSonic Engine Outline

Description:

The moon and donut are inside the playing field. ... 0 Cylinder 1 Moon 2 Donut. 3 Diamond 4 FREE 5 FREE. ProSonic Engine ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 4
Provided by: damian93
Category:

less

Transcript and Presenter's Notes

Title: ProSonic Engine Outline


1
Object Node Manager
Object Node Table
Object Layout Data
X pos Y pos Class Member
NULL (free)
ProSonic Engine
2
NODES 0 Cylinder 1 Moon 2 Donut 3
Diamond 4 FREE 5 FREE
The moon and donut are inside the playing field.
These objects are visible to the player and are
stored in the ONT (Object Node Table). The
cylinder and diamond are not inside the playing
field, but they are inside the object scope. This
means that even though they arent visible, they
remain in the ONT. The cuboid is outside the
object scope entirely, so no reference to it will
be fount in the ONT. Notice the nodes. 4 and 5
are free, while 0-3 have references.
Within object scope, shown on screen
Within object scope, outside of screen
Outside object scope
ProSonic Engine
3
NODES 0 Cuboid 1 Moon 2 Donut 3
Diamond 4 FREE 5 FREE
Within object scope, shown on screen
Notice now that the cylinder is no longer inside
the object scope. Its node in the ONT is freed,
making it available for another object to
take. The cuboid has entered the object scope,
so the first free node in the ONT will be issued
a reference to the cuboid. Node 0 is freed since
the cylinder is no longer in the object scope.
However, now that a new object has entered the
scope, it searches for the first free node. Node
0 now references the cuboid.
Within object scope, outside of screen
Outside object scope
ProSonic Engine
Write a Comment
User Comments (0)
About PowerShow.com