Good stuff. Well done. And Im glad to help...
One suggestion though, to avoid 'wasting' horsepower with un-necessary tasks,
I would change your code to this...
function painel_startup()
{
while(1)
{
if(is(splash, SHOW))
{
splash.pos_x = splash.pos_y = 0;
splash.scale_x = screen_size.x / splash.bmap.width;
splash.scale_y = screen_size.y / splash.bmap.height;
}
wait(1);
}
}
That way it only actively re-sizes the splash if its actually visible...
There are other optimizations you could do, but this will get rid of the worst of it...
[DEIT] Do I see a hand-icon ripped from Dungeon Keeper in the screen-shots?
Or is it just a good copy...