Sfoglia il codice sorgente

Property added the environment.json as a resource of the gamemap

master
Bryan Miller 6 anni fa
parent
commit
b673905498
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      game/scenes/editor.py

+ 1
- 1
game/scenes/editor.py Vedi File

@@ -14,7 +14,7 @@ def get():
root.set_clear_color((0,0,0,0))

gamemap = NodeGameMap("GameMap", root)
gamemap.set_resources("", "walls.json")
gamemap.set_resources("environment.json", "walls.json")
gamemap.add_layer("main", 10, 10)

editor = NodeMapEditor("Editor", gamemap)

Loading…
Annulla
Salva