First, someone have any suggestions, or a little advice how make a little bar with health status?...
Second: Can someone give my some training code, how to load 2d images, simple on the screen, and they have to be sticking to the camera (they couldn't be "far away and unseen" on the map, i hope u understand me, i want load something all the time visible), also some good tutorial about positioning, how to position, crosshair or hud images etc. (i want to make some hud images, i mean bar of the hud will be rectangle i think, but next to this bar there eill be 4 small images, making it nicer)
I use this
Code: Select all
IGUIImage* img = env->addImage(rect<int>(10,10,98,41));
img->setImage(driver->getTexture("base/gui/irrlichtlogoaligned.jpg"))
***And now, at the end there is:***
env->drawAll();
[/code]