IGUIImage* imagename = guienv->addImage();
imagename->setPosition(); or imagename->setRelativePosition();
Fill in the arguments yourself. Don't forget to turn off capslock.
Then just do as Dances suggested, or use draw2DImage in the main render loop (you have to draw the image each cycle then).
And please fix your CAPS LOCK key or I'll remove your posts.
Deleting intermediate files and output files for project 'saa - Win32 Debug'.
--------------------Configuration: saa - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
i:\program files\microsoft visual studio\myprojects\saa\anamenu.h(63) : error C2039: 'setPosition' : is not a member of 'IGUIImage'
j:\irrlicht1.3\irrlicht-1.3\irrlicht-1.3\include\iguiimage.h(17) : see declaration of 'IGUIImage'
Error executing cl.exe.
alt->setRelativePosition(core::rect<s32>(0, time + 387));
I TESTED THIS
I TOOK ONE SUCH MISTAKE ..
--------------------Configuration: saa - Win32 Debug--------------------
Compiling...
main.cpp
Compiling Irrlicht with Visual Studio 6.0, support for DX9 is disabled.
i:\program files\microsoft visual studio\myprojects\saa\anamenu.h(63) : error C2665: 'rect<int>::rect<int>' : none of the 5 overloads can convert parameter 1 from type 'const int'
Error executing cl.exe.
hybrid wrote:Use setRelativePosition (const core::rect< s32 > &r) and note that you have to define the image rectangle, not just the starting position.
Please read the previous answers before 'asking' a next question. And PLEASE don't use capitals.