Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users.
The judgment and combo positions are controlled by two functions. JudgmentTransformCommand and ComboTransformCommand.
If a theme doesn't use the default functions that the _fallback theme provides, it creates its own somewhere in Scripts or metrics.ini.
The official release of ultralight uses the ones in _fallback.
So you could just put a file in Scripts with the functions doing what you want.
Something like this:
Code:
local judge_offsets= { PLAYER_1= 100, PLAYER_2= -100 }
function JudgmentTransformCommand( self, params )
local x= judge_offsets[params.Player]
local y = -30
if params.bReverse then
y = y * -1
self:rotationx(180)
else
self:rotationx(0)
end
if params.bCentered then
if params.Player == PLAYER_1 then
self:rotationz(90)
else
self:rotationz(-90)
end
else
self:rotationz(0)
end
self:xy(x, y)
end
function ComboTransformCommand( self, params )
local x= judge_offsets[params.Player]
local y = 30
if params.bReverse then
y = y * -1
self:rotationx(180)
else
self:rotationx(0)
end
if params.bCentered then
if params.Player == PLAYER_1 then
self:rotationz(90)
else
self:rotationz(-90)
end
if params.bReverse then
y = y - 30
else
y = y + 40
end
else
self:rotationz(0)
end
self:xy(x, y)
end
Comment