Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

User Interface

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 masonium   Members   

118
Like
Likes
Like

Posted 31 August 2001 - 06:56 PM

How would I display a user interface for a player in an fps, for example, if I am using gluLookAt for the camera positioning, like so: gluLookAt(190.0f, 120.0f, 102.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f); How would I create a text-based user interface that shows ammo or something like that using either bitmap or outline fonts or any other method?

#2 DavidH   Members   

122
Like
Likes
Like

Posted 31 August 2001 - 11:22 PM

If your interested, I have made an object that can output text to specified screen coordinates, and use any windows font to do so. If your interested I could send you the code (it's in Delphi though, so if you use C you will have to alter the sytax slightly)

Edited by - DavidH on September 1, 2001 6:23:05 AM

#3 Null and Void   Members   

1087
Like
Likes
Like

Posted 01 September 2001 - 07:56 AM

Use an orthographic projection matrix and alter the viewport (one of NeHe''s tutorials shows how to do this). Then you can just specify the pixel you want.

[Resist Windows XP''s Invasive Production Activation Technology!]




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.