Kodable Creator tips for family (2025)
đ Moving a Character
Make a character that can move around the screen:
- Pick the character you want and place it on the screen.
- Click the character to open its settings.
- Add a function for each arrow key (Up, Down, Left, Right):
Example: When âUpâ is pressed â do âMove Upâ.
đ§± Placing Things on the Ground
Make your character drop or place things:
- Click your character.
- Add a function: When you press the space bar (shoot) â do âCreateâ â pick what you want to place (like a block).
- Want that block to move or do something? Click it and add functions
- Want it to block movement? Click the item, go to properties, and turn on Obstacle.
đ« Shooting Projectiles
Make your character shoot things like lasers or fireballs:
- First, follow the steps above to create something when you press space.
- Now click your projectile (laser, etc.) and:
- Add a loop that moves in âMy Directionâ.
- Add an on create function: set direction = direction of the parent (the shooter).
- Optional: add a sound in either the shooter or in the âon createâ for the projectile.
đ„ Making Projectiles Destroy Things
Letâs say you have:
- A ship (that shoots),
- A laser,
- And asteroids (that should explode when hit).
Steps:
- Click the asteroid.
- Add an âon hitâ by laser â then âDestroyâ.
- Optional: Add a sound and an animation to make it feel like a real explosion!
Want the laser to disappear too?
- Click the laser.
- Add an âon hitâ by asteroid â then âDestroyâ.
đ Only the object being destroyed can have the âDestroyâ action.
đȘ Things That Take Multiple Hits
Letâs make a giant asteroid that takes 3 hits to explode.
Steps:
- Click the asteroid â change health from 1 to 3.
- In its functions:
- Change âon hit by laserâ â use âSubtract healthâ.
- Add âon health zeroâ â âDestroyâ and play a big explosion sound/animation.
Extra cool idea:
- Add âSet Colorâ to red when health is low.
- Click the color action â add âIf health == 1â.
Now it glows red when itâs almost destroyed!
đ€ Making a Boss Move by Itself
To make something (like a boss enemy) move side to side on its own:
Steps:
- Put the boss at the top of the screen, facing left or right.
- Add a loop to move âMy Directionâ.
- Add two invisible triggers, one on the left and one on the right of the screen.
- On the boss:
- Add âon hit by left triggerâ â face right.
- Add âon hit by right triggerâ â face left.
đ If your boss looks different on each side, donât use âFlip directionâ. It might get stuck flipping forever!
đ Lock and Key Game
Letâs build a level where the player needs a key to open a door.
Steps:
- Add your player (like a ship) and make it move.
- Place a key and a locked door.
- On the key:
- When hit by the player â Set has-key = True, Destroy the key, and play a pickup sound.
- On the lock:
- When hit by the player â If has-key == True, then Destroy the lock and play a sound.
đ§Ș Test it! Make sure the door doesnât open without the key!
đȘ Portal to Another Level
Want to go to a new level or a win screen?
Steps:
- Add a second level using the dropdown above the level area.
- Back in Level 1, place your portal.
- On the portal:
- When hit by the player â âLoad Level 2â.
Thatâs also how you can make win or lose screens!
đ§ź Keeping Score
Want to earn points for beating enemies?
Steps:
- On the bad guy: when hit â âAdd: Scoreâ.
- Add Score Text from the text menu.
- Add a loop function: âSet Text: Scoreâ so the number updates.
Otherwise, your score might stay stuck at 0!
â€ïž More Than 5 Health
Characters start with max health = 5. But you can add more!
Example:
- Add an item (like a heart).
- On hit by the player â âAdd: Healthâ.
Use this to make healing items!
đ§ Important Concepts
- Characters can move with arrow keys.
- Properties are facts about something in your game. You can think of them like the characterâs settings or stats. For example: How much health it has (like hearts), how fast it moves, or what color it is.
- A function is a list of actions your character can follow. âWhen something happens (an event), run this function.â Functions can do things like move, shoot, or play a sound.
- An event is something that happens in the game. When something happens, you can tell your character what to do. In Kodable, events are things like âon hit by somethingâ or âon press upâ. You can connect those events to functions. This is called an event handler â itâs like saying: âWhen this happens, do that.â
- Space bar (called âShootâ) can place or create thingsânot just shoot!
- A Spawner is invisible and can make new things appear.
- Obstacle/Collision means you canât move through it.
đ§Ș Pro Tips
- Test your game often!
- Test things like:
- Does the key unlock the door?
- Does the laser stop when it hits something?
- Use animations and sounds to show when things happen (like hits, pickups, or destruction).
â ïž Limitations to Know
- If you place two of the same character (like two ships), they will share the same settings.
- Some actions only work on certain types of items.
- The background and sound are the same across all levels.