Tutorial part 4 and 5

This commit is contained in:
John McCardle 2025-07-29 21:15:50 -04:00
commit 0938a53c4a
2 changed files with 279 additions and 541 deletions

View file

@ -166,8 +166,8 @@ if len(rooms) > 1:
enemy_x, enemy_y = rooms[1].center()
enemy = mcrfpy.Entity(
(enemy_x, enemy_y),
texture=texture,
sprite_index=117 # Enemy sprite
texture=hero_texture,
sprite_index=0 # Enemy sprite
)
grid.entities.append(enemy)