add minimap

This commit is contained in:
2024-12-23 10:08:06 +09:00
parent e23978ea90
commit 604368b52c
5 changed files with 46 additions and 12 deletions
+2 -2
View File
@@ -41,13 +41,13 @@ app.listen(port, () => {
const entity = new Entity()
entity.id = '1'
entity.teleport(0, 0)
entity.teleport(100, 100)
entity.radius = 35
game.spawn_entity(entity)
const entity2 = new Entity()
entity2.id = '2'
entity2.teleport(100, 100)
entity2.teleport(200, 100)
entity2.radius = 35
game.spawn_entity(entity2)