Example doodads from Sketchy Maze.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.0 KiB

# Playable Character
![Example Character](stand-right.png)
This is an example how to create a custom playable character for your
level. This will create a grayscale copy of the game's default player
3 years ago
character. His script has support for two different A.I. patterns
depending on whether he is controlled by the player or not.
3 years ago
## Player Controls
3 years ago
Drag the doodad into your level and use the Link Tool to connect him
to your Start Flag. Then you will play as this doodad when the level
starts.
In-game he updates his animations based on the direction you're
moving him in the level.
## A.I. Controls
If dropped in your level as an enemy doodad, the A.I. will have it
walk back and forth along the ground, turning around when it hits
an obstacle.
It can pick up keys and unlock doors with those keys, and it can
have its items stolen by a Thief.
It can activate buttons and switches (the kinds that activate just
by walking onto them), and it can fall through trapdoors.
Basically the same A.I. as the Red and Blue Azulians.