Changed setCamZoom and setHudZoom from int to float
Now you can have float value cam/hud zooms :) (Updated docs aswell)
This commit is contained in:
1 parent
d7ceb0eaec
commit
e0efa341b0
2 files changed
+4
-4
No files matched your search
@@ -392,11 +392,11 @@ class ModchartState
|
||||
return FlxG.camera.y;
|
||||
});
|
||||
|
||||
Lua_helper.add_callback(lua,"setCamZoom", function(zoomAmount:Int) {
|
||||
Lua_helper.add_callback(lua,"setCamZoom", function(zoomAmount:Float) {
|
||||
FlxG.camera.zoom = zoomAmount;
|
||||
});
|
||||
|
||||
Lua_helper.add_callback(lua,"setHudZoom", function(zoomAmount:Int) {
|
||||
Lua_helper.add_callback(lua,"setHudZoom", function(zoomAmount:Float) {
|
||||
PlayState.instance.camHUD.zoom = zoomAmount;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user