How to make 2D hud like in quake 3 games?
How to make 2D hud like in quake 3 games?
all in the title
Just use the usual GUI-Elements. If those are not enough (can't remember right now how quake 3 looked like) then you will have to code custom gui-elements.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Quake III screenshot:

I see 2 ways how to do this:
1) use Irrlicht' GUI: all you need is IGUIImage (for 2d numbers and texts) and IGUIMeshViewer (for 3d models of ammo and player head).
2) draw all the gui using just IVideoDriver members, so you do:

I see 2 ways how to do this:
1) use Irrlicht' GUI: all you need is IGUIImage (for 2d numbers and texts) and IGUIMeshViewer (for 3d models of ammo and player head).
2) draw all the gui using just IVideoDriver members, so you do:
Code: Select all
beginScene()
smgr->drawAll()
... here you draw gui using IVideoDriver which has all the methods to draw 2d and 3d...
endScene()right,
I think I see:
2x StaticText (big)
2x StaticText (small)
1x StaticText (small with border)
2x MeshViewer
1x Image (crosshair)
I think I see:
2x StaticText (big)
2x StaticText (small)
1x StaticText (small with border)
2x MeshViewer
1x Image (crosshair)
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:

http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java