GenIncSpriteHitPoints


GenIncSpriteHitPoints sprite, inc

sprite

The sprite to increment.

inc

This is the amount to add to the sprite's hit points. This number may be positive or negative.

This command increments a sprite's hit points. Hit points or health points are part of the game engine's automatic scoring system. Enabled by default, collisions do damage subtracting hit points. This command can be used to restore or subtract hit points from the sprite.

If enabled score trailer numbers will appear above the sprite showing the hit point change.


Game Engine Overview







Become a Patron