Skip to content

Overview: Proce55 Class Family

h3rb edited this page Nov 3, 2020 · 6 revisions

There are a series of classes located under Framework > Proce55 that enable the creation of "actors" or "entities" -- or as I like to call them -- fragments of animation and interactivity. There are a number of ways to view Proce55or objects, from simple to complex.

Proce55or objects

In its simplest form, a Proce55or is just a "miniature GLWindow", allowing you to define input interactivity (mouse,keyboard,etc) and keep animated objects with their own relative and individual states in a list. In turn this derived class and its viewer/manager class can be "attached" to a GLWindow. Most simply, without all of the extras of the other viewer/manager classes, Proce55or objects can be grouped in a Proce55ors list and its functionality invoked from your GLWindow, alongside other special layers you've created, to create a game or game view. You can seen an example of the simplest form of these classes in action by watching the video Intro to Proce55ors

Viewers of Proce55or objects

This part of the code allows the following 2D worlds to be created:

  • class Proce55ors Simple lists of objects to be independently drawn and animation
  • class Zoned* Complex "zoned" large worlds where only parts of the world are active based on the camera/screen position.
  • class ZSorted* Z-sorted worlds like you might see in Double Dragon style platformer or a point-and-click adventure
  • class FireAndForget* or include Wrapping or Limited Worlds that wrap, are limited to a rectangle (don't wrap or wrap within an arbitrary size), or exist just to handle "fire and forget" particles
  • Parallax and/or animated textures (Render-to-Texture onto an FBO shown later in a 2D or 3D world) or backgrounds (when treated as a layer in a more complex system)

These classes are specialized to different purposes, and range from simpler to more complicated.

I anecdotally cover this portion of the engine in the following video: Overview of the Proce55or Class Family (video)

Another, of the more specific implementations, is a series of interlocking classes around the theme of "linear progression". Those classes are:

  • Presentation A linear presentation medium that can also be looped, so that you can create interactivity and/or cutscenes in the style of a Macromedia Director / Flash / Powerpoint kind of way by programmatically creating artistic animations.
  • Slide Contains elements displayed over a specific duration of time
  • VisualAid / fx_* Specialized children of the Proce55or class that work in the Presentation class and expect to work directly with Presentation as a parent manager class, as part of a Slide
Clone this wiki locally