Rules (events)
When this happens, do that. The Events tab, the picker, red rules, groups, gates and Teach me.
- What a rule isTwo halves: When and Do. Checked top to bottom, sixty times a second.
- The Events tabRows are rules, columns are things. The columns in order.
- Grid or listThe same rules two ways. The list reads like sentences.
- Your first ruleWhen the ball hits a brick, smash the brick and bounce the ball.
- Choosing a conditionThe picker: pick a thing, then what to test. Search for โcollidesโ.
- Adding actionsClick a cell, pick what that thing should do. Reorder, change, delete.
- The settings dialogThe ๐ก line, the boxes, and the sentence that updates as you type.
- Red rules happen onceRed conditions are moments. The others are checked all the time.
- Only the coin you touchedA condition picks the copies it is about, so Destroy removes just those.
- NOT: the oppositeMake any condition the other way round.
- Groups and commentsFold rules into folders, switch a group on and off, leave notes.
- Works in every levelWrite a group once and it runs in every level of the game.
- Search, and Only one objectFind a rule in a big game, or show only the rules about the Hero.
- Only once, not more than, repeatThe Special conditions that limit or repeat a rule.
- Pick one at randomOut of all the coins, choose one.
- Turn off, duplicate, copy and paste rulesRight-click the number for more. โC a rule into another level or game.
- Teach mePress Teach me while playing. When two sprites touch, NutHouse asks what should happen.
- Reading a sampleโs rulesOpen a sample, switch to List, and read it like a story.
Still stuck?
Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.