add minimap
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user