So I have two lifebar graphics for each player, each in their distinct color (in particular, blue and gold). It works correctly in single-player, but add a second to the equation, and they're both the same color. specifically the 2p one. (uh oh)
LifeMeterBar over.lua
LifeMeterBar over.lua
local t = Def.ActorFrame {};
t[#t+1] = LoadActor("_p1life") .. {
InitCommand=cmd(player,PLAYER_1);
};
t[#t+1] = LoadActor("_p2life") .. {
InitCommand=cmd(player,PLAYER_2);
};
return t
Last edited: 18 December 2013 8:42am