Rewrote hit window, score screen, fixed replays.

This commit is contained in:
Kade M
2021-06-19 15:05:22 -07:00
parent 19134e6694
commit f3cfec3ea4
13 changed files with 823 additions and 129 deletions

View File

@ -437,8 +437,6 @@ class ModchartState
PlayState.instance.removeObject(sprite);
return true;
});
// hud/camera
@ -461,6 +459,14 @@ class ModchartState
GlobalVideo.get().restart();
});
Lua_helper.add_callback(lua,"getVideoSpriteX", function() {
return PlayState.instance.videoSprite.x;
});
Lua_helper.add_callback(lua,"getVideoSpriteY", function() {
return PlayState.instance.videoSprite.y;
});
Lua_helper.add_callback(lua,"setVideoSpritePos", function(x:Int,y:Int) {
PlayState.instance.videoSprite.setPosition(x,y);
});