Sprite

A character or thing that moves and animates: a player, enemy or ball. Sprites are the stars of your game.

Coin Quest โ€” NutHouse
The Hero sprite's settings: Name, X and Y, Visible when the level starts, Groups, buttons and the Movement section
A sprite has the usual settings on top and a Movement section below.

What a sprite is

A sprite is anything that can move: the hero, a bat, a coin, a bullet. It has pictures for each animation, like stopped, walking and jumping. It has a movement that says how it travels. And it has the longest list of rules of any kind.

Sprites appear in every mode.

How to add one

  1. Click + Add object.
  2. For a ready-made one, stay on Library and click a card. For a blank one, click New, then Sprite.
  3. Click โœŽ Open sprite editor on the right to draw or change its pictures.
  4. Under Movement, choose How it moves.

What the settings mean

Name, X, Y, VisibleThe same as every object. See Settings every object has.
Falls with gravityTick it and the sprite drops with the level's gravity. Platform sprites always fall, so they do not show this box.
GroupsAdvanced. Put the sprite in a group like Baddies and write one rule for the lot. See Groups of sprites.
โœŽ Open sprite editorDraw it, animate it, import a picture.
โญ Save to My libraryKeep it to use in other games.
MovementStays still, Arrow keys (8 directions), Platform (walk and jump), Bouncing ball, Patrols back and forth, Chases another object, and more in Advanced. See How movements work.

Rules sprites can use

Each sprite gets its own column in the Events tab. The most used tests and actions are:

Collides with another object Collides with a background Leaves the play area Compare the number of these objects Is near another object

Destroy Bounce Set position Change animation Shoot an object Hide Show

WhenHero collides with Coin
DoDestroy CoinAdd 10 to scorePlay sound Coin

The full lists are in the reference, starting at Sprites: collisions.

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.