g.setColor(Color.RED);
for (int i = 0; i < 399; i+=2)
{
g.drawLine(GlobalOptions.Pos[i][0] - xCam, GlobalOptions.Pos[i][1] - yCam,
GlobalOptions.Pos[i+1][0] - xCam, GlobalOptions.Pos[i+1][1] - yCam);
}
layer.renderExit0(g, tick, paused?0:alpha, mario.winTime==0);
if (debugPos < 400)
{
GlobalOptions.Pos[debugPos][0] = (int) your-mario-x;
GlobalOptions.Pos[debugPos][1] = (int) your-mario-y;
debugPos++;
}
advanceStep(action);
if (debugPos < 400)
{
GlobalOptions.Pos[debugPos][0] = (int) your-mario-x;
GlobalOptions.Pos[debugPos][1] = (int) your-mario-y;
debugPos++;
}
Wow, your long run on the youtube blows the socks off me — all the ego
stroking you receive about this run is well deserved (though, a valid
question probably is, how many competition newcomers you managed to
scare off with it :)
Anyways, speaking about the competition, is there a chance that you'd
run and share the ch.idsia.scenarios.Stats competition score of your
Mario? It'd be cool to know where our little penny-pinching weirdly
jumping frequently-dying plumbers stand in comparison.
For the reference, my humanish mario, who plays almost as bad as me
myself, currently achieves 18155 points, which is just a little bit
more than twice as much as the braindeadest gap-avoiding stock
ForwardAgent.
Cheers,
Einar