Hey man!
I'm happy to see you back on forum!
I never worked with 'window' and also couldn't get it working (for the first try). For bar graphs I used to scale simple panels.
Here an example (also used 32x32):
#include <acknex.h>
#include <default.c>
var players_health = 100;
BMAP* bar_pcx = "bar.pcx";
PANEL *bars_pan = {
pos_x = 8;
pos_y = 32;
layer = 1;
bmap = bar_pcx;
flags = SHOW;
}
function main(){
fps_max = 60;
video_screen = 2;
video_mode = 8;
level_load("");
wait(3);
while(!key_esc){
players_health -= 5 * (key_1 - key_2) * time_step;
players_health = clamp(players_health, 0, 100);
DEBUG_VAR(players_health, 10);
bars_pan->scale_x = maxv(0.05, (players_health / 25));
bars_pan->scale_y = 0.5;
wait(1);
}
}
Also, will you run your webpage again? I remember it had a lot of useful stuff in it! F.e. mortair example
My best regards!