I want the hud follow the player (or to follow the view which is following the player).
but I want to player to be able to pass behind objects/walls (game objects)... yet have the hud still stay on top.
Parenting doesnt allow this.
Please help.
x=player.x;
y=player.y;
VisibilityState("Event Actor", DONT_DRAW_ONLY);
ChangeZDepth("Event Actor", 50);
x=max(player.x-width/2-2,min(x,player.x-width/2+2));
y=max(player.y-width/2-2,min(y,player.y-width/2+2));
Users browsing this forum: No registered users and 1 guest