hollywoo reader macros passing cc automatically

This commit is contained in:
2021-11-27 20:37:40 -07:00
parent f94be8f111
commit 082a6df576
2 changed files with 69 additions and 67 deletions

View File

@@ -1,6 +1,9 @@
(loadFrom "hollywoo" "src/hollywoo/HollywooDSL.kiss")
(loadFrom "hollywoo-flixel" "src/hollywoo_flixel/AssetMacros.kiss")
(defMacroVar subclass true)
(loadFrom "hollywoo" "src/hollywoo/Movie.kiss")
(method newFlxScene [name set time perspective]
(let [setSprite (new FlxSprite 0 0)]
(setSprite.loadGraphic (dictGet sets set))