Browse Source

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

master
Bryan Miller 6 years ago
parent
commit
b673905498
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      game/scenes/editor.py

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

root.set_clear_color((0,0,0,0)) root.set_clear_color((0,0,0,0))


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


editor = NodeMapEditor("Editor", gamemap) editor = NodeMapEditor("Editor", gamemap)

Loading…
Cancel
Save