Real object ids, fixed warping bug

This commit is contained in:
2026-06-06 20:01:07 -05:00
parent 374a69f0ca
commit ea18fe8fc2
6 changed files with 161 additions and 107 deletions
+3 -3
View File
@@ -64,9 +64,9 @@ content = """
# # #
# +++ # #
# # #
# | #
# #
# #
# oo G - | @ #
# oo G - @ #
# #
# #
# #
@@ -119,7 +119,7 @@ fn tick(dt) {
move(East);
}
}
// Fires when something steps into this object; id is the bumper's array index,
// Fires when something steps into this object; id is the bumper's object id,
// or -1 for the player.
fn bump(id) {
log(`mover bumped by ${id}`);