scaling, but weirdly positioned hollywoo-flixel props

This commit is contained in:
2021-11-03 12:25:11 -04:00
parent 5e9cbbb9b3
commit 84ee07c309
9 changed files with 63 additions and 14 deletions

View File

@@ -12,4 +12,9 @@
(let [s (FlxG.sound.load path)]
(set s.volume volume)
(set s.persist true)
(newSound name s)))
(newSound name s)))
(method newFlxProp [name path]
(let [propSprite (new FlxSprite 0 0)]
(propSprite.loadGraphic path)
(newProp name propSprite)))