Categories


Description :

Creates an object of the selected class at the specified position on screen.

Uses :

Use this for creating new objects while the game is running. Very useful for creating bullets, enemies, etc.

Example :

The following code creates a new object of the class Insect at the mouse position when a mouse button is released.