Loading Image

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.
Post Reply
xsinick
Posts: 18
Joined: Fri Aug 10, 2007 12:05 am

Loading Image

Post by xsinick »

Can some one help me to make code that can display a load image when I launch my irrlicht app.
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

xsinick
Posts: 18
Joined: Fri Aug 10, 2007 12:05 am

Loading Image Start screen

Post by xsinick »

Yeah but how do i link it to the loading of my content?
so when stuff is finished loading it goes away or I can hold it on screen for like 10 sec then fade it off for like 15 frames?
Ion Dune
Posts: 453
Joined: Mon Nov 12, 2007 8:29 pm
Location: California, USA
Contact:

Post by Ion Dune »

I would imagine the best way to do it would be this way:

Code: Select all

create irrlicht device

device->beginscene //probably need this
video->drawimage //loading image here
device->endscene //and this as well

//now right here load everything you need (I assume you mean meshes, etc.)

while (device->run)
{
...

xsinick
Posts: 18
Joined: Fri Aug 10, 2007 12:05 am

Post by xsinick »

thank you for some sort of direction know is up to me to spend the rest of this year finding a way to may the documentation code work with it.


Really thank you !
Post Reply