scaling, but weirdly positioned hollywoo-flixel props
This commit is contained in:
@@ -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)))
|
Reference in New Issue
Block a user