Rewrote hit window, score screen, fixed replays.
This commit is contained in:
@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user