Here is my sprite code:
Code: Select all
driver->draw2DImage(sprite1, core::position2d<s32>(270,105),
core::rect<s32>(0,4,28,36), 0,
video::SColor(255,255,255,255), true);
scene::ISceneNode* node = 0;
at the beginning and then in the even receiver you call upon node
how would I use this code with the above sprite?
or could someone give me an example.