First 3D-Game with Irrlicht?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

nything drawn in "2d" with the video:: and other gui:: namespace classes is rendered in your main loop using gui->drawALL(): right??

Well if you want icons to be static, just create the image like this

Code: Select all

env->addImage(driver->getTexture("../../media/irrlichtlogo2.png"),
		core::position2d<s32>(10,10));

taken straight outta the irrlicht tutorial, its a hud icon

and is drawn whenever

Code: Select all

		env->drawAll();
is called in the code

Look at the tutorials :

http://irrlicht.sourceforge.net/tut011.html

:)
[/code]
Post Reply