update hollywoo & support prop-connected lighting

This commit is contained in:
2024-06-26 16:29:00 -06:00
parent 4f5acefadf
commit 5ed6213d0e
2 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#43478ac60ad2cd5995157ebbf2b70ba60953a535" into hollywoo/0.0.0/github/43478ac60ad2cd5995157ebbf2b70ba60953a535
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/43478ac60ad2cd5995157ebbf2b70ba60953a535"
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#5803f02d34ff0d65343b85c3b2e317ff334f0182" into hollywoo/0.0.0/github/5803f02d34ff0d65343b85c3b2e317ff334f0182
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/5803f02d34ff0d65343b85c3b2e317ff334f0182"
-lib kiss
-lib kiss-tools
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/43478ac60ad2cd5995157ebbf2b70ba60953a535/src/
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/5803f02d34ff0d65343b85c3b2e317ff334f0182/src/
-D hollywoo=0.0.0

View File

@@ -1110,4 +1110,7 @@
(FlxG.state.remove inputIcon true))
(method :Void prepareForRecording []
(set FlxG.mouse.visible false))
(set FlxG.mouse.visible false))
(method :FlxLightSource offsetLightSource [:FlxLightSource source :StagePosition offset]
(new FlxLightSource (for point source.points (new FlxPoint (+ point.x offset.x) (+ point.y offset.y))) source.color))