Sfoglia il codice sorgente

Updated the scenes.editor.get() to set the root NodeSurface clear color to transparent

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

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

@@ -11,6 +11,7 @@ def get():
root.keep_aspect_ratio = True
root.align_center = True
root.set_surface((64, 64))
root.set_clear_color((0,0,0,0))

gamemap = NodeGameMap("GameMap", root)
gamemap.set_resources("", "walls.json")

Loading…
Annulla
Salva