From a1b1cf175b54b8e8975c3b328d1065997ad15d1d Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 15 Aug 2021 22:10:08 -0700 Subject: [PATCH] Update docs --- character/README.md | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/character/README.md b/character/README.md index 089590c..e279aec 100644 --- a/character/README.md +++ b/character/README.md @@ -4,12 +4,28 @@ 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 -character. +character. His script has support for two different A.I. patterns +depending on whether he is controlled by the player or not. -If you Link him to a Start Flag, you will play as him when the level -starts and he faces the direction you're moving and animates and so -on. +## Player Controls -If dropped in your level as an enemy character, his A.I. is to move -right and left, turning around when it meets an obstacle. He is able -to pick up keys, unlock doors, and activate buttons and switches. He does not travel through Warp Doors. +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. \ No newline at end of file