Game Objects 101

1.The Basics

 

After creating your first object you will see something similar to this on the left part of the workspace:

 

gpe_default_obj_s1

 

So Let’s digest what is all of this craziness.

 

Text Field

In the text-field of course is the object’s name. It is the name used for referencing it through the engine and the many function to connect with it’s class and descendants.

 

“Object Sprite Drop Down”

This is the default sprite for the object used for the scene editor as well as it’s default appearance in the game.

 

“Object Parent Drop Down”

 

This is the object in which this object inherits the properties of another user-defined object. This includes all of the user-generated functions and variables.  This is possibly the most powerful dropdown menu ever made in the GPE IDE( like seriously tho).

 

Visible Checkbox

-Enabled by default to make the object visible in the scene and render.

 

Needs Camera Checkbox

-Enabled by default to make the object’s logic and render calls(except for prelogic) be applied if it is within the view of at least one of the eight game cameras.

 

Mobile Checkbox

-Enabled by default to make the object utilize the GPE’s default physics system.

 

Continuous Checkbox

-Disabled by default to make survive after the game scene has been changed(Usually the player object is set to be continuous).

 

Now that that’s covered..

>>>> Move on to Coding Game Objects.

Suggest Edit