Here ghot proof that even a 10 year old is smarter then you...
Heres my sons lua code to mod his game.Code
<Layer
Condition="GAMESTATE:IsHumanPlayer(PLAYER_1)"
Type="Quad"
InitCommand="hidden,1"
StepP1MessageCommand="%function(self)
if GAMESTATE:GetSongBeat() >= 0 then
if herp1 == 0 then
P1:addy(1);
derp1 = derp1-0.01;
P1:zoom(derp1);
if derp1 == 0 then
herp1 = 1
end
else
P1:addy(1);
derp1 = derp1-0.01;
P1:zoom(derp1);
if derp1 == 2 then
herp1 = 0
end
end
end
end"
/>
<Layer
Condition="GAMESTATE:IsHumanPlayer(PLAYER_2)"
Type="Quad"
InitCommand="hidden,1"
StepP2MessageCommand="%function(self)
if GAMESTATE:GetSongBeat() >= 0 then
if herp2 == 0 then
P2:addy(1);
derp2 = derp2-0.01;
P2:zoom(derp2);
if derp2 == 0 then
herp2 = 1
end
else
P2:addy(1);
derp2 = derp2-0.01;
P2:zoom(derp2);
if derp2 == 2 then
herp2 = 0
end
end
end
end"
/>
<Layer
Type="Quad"
OnCommand="diffusealpha,0;sleep,1000;"
/>
<Layer
Type="Quad"
OnCommand="hidden,1"
InitCommand="%function(self)
checked = false;
-------------------------------------
-- my code --
-------------------------------------
mod_actions = {
{0.1,function()
if P1 then
P1:y(SCREEN_CENTER_Y);
P1:zoom(1);
derp1 = 1
herp1 = 0
end
if P2 then
P2:y(SCREEN_CENTER_Y);
P2zoom(1);
derp2 = 1
herp2 = 0
end
end},
}
Also will update you soon on unity progress ducky. Seems he really is more interested into java script atm.
but he did manage to make a few small animations with a sphere in unity.This post was edited by King Atrhur on Apr 8 2016 06:05pm