HUD Drawing

SGDK only sub forum

Moderator: Stef

Post Reply
orlanrod
Very interested
Posts: 99
Joined: Fri Sep 25, 2015 7:46 pm

HUD Drawing

Post by orlanrod » Wed Sep 30, 2015 8:48 am

How do i make the bottom portion of the screen into a hud area? 24 pixels in height is what i need.

Thanks.

matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Re: HUD Drawing

Post by matteus » Wed Sep 30, 2015 11:57 am

Pick a PLAN and load in the tiles that represent the hud. Unless you're trying to do something else?

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: HUD Drawing

Post by Stef » Wed Sep 30, 2015 1:56 pm

orlanrod wrote:How do i make the bottom portion of the screen into a hud area? 24 pixels in height is what i need.

Thanks.
The window feature is exactly here for that :) Just see the window as a fixed part of the plan A with its own tilemap data.

Sik
Very interested
Posts: 939
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: HUD Drawing

Post by Sik » Wed Sep 30, 2015 4:55 pm

And beware that tile positions are always relative to the top left of the screen, not the window area. So if you set it to the bottom three rows, that means the first row is 26, not 0. Take this into account before wondering why stuff doesn't show up on screen.
Sik is pronounced as "seek", not as "sick".

Post Reply