Jump to content

HUD after setCameraMatrix()


Dreft

Recommended Posts

Note: Calling this function takes the camera's focus away from the player and sets the camera in a fixed position and rotation.

I guess that means as it's not focused on the player, and the HUD is a property of the player element, it won't show.

Link to comment

I've using setCameraMatrix() in food shop to see sales-man in first person view. Then I showing GUI window where player chooses what he want's to buy. Food increase health, so I wanted HUD that player see how much HP he have. Maybe I insert label in GUI window with "Current health: [HP HERE]"..

you have to re-draw it using dx functions :P

How I can redraw HUD using dx functions ?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...