speech bubbles and delays
This commit is contained in:
@@ -107,6 +107,7 @@ greeter = """
|
||||
fn init() {
|
||||
log(`hello from object — player at ${Board.player_x}, ${Board.player_y}`);
|
||||
set_tile(2); // change my glyph to ☻ — proves the write path
|
||||
say("Hello there, traveller!");
|
||||
}
|
||||
"""
|
||||
|
||||
@@ -123,5 +124,6 @@ fn tick(dt) {
|
||||
// or -1 for the player.
|
||||
fn bump(id) {
|
||||
log(`mover bumped by ${id}`);
|
||||
say("Ow!");
|
||||
}
|
||||
"""
|
||||
Reference in New Issue
Block a user