Search found 10 matches
- Fri Aug 01, 2008 9:51 am
- Forum: Beginners Help
- Topic: device->drop
- Replies: 1
- Views: 180
device->drop
Can the "drop" cause any program crashes? It seems that my game "encounters a problem and needs to be closed" after I quit. (the device->drop is performed).
- Thu May 29, 2008 7:13 pm
- Forum: Beginners Help
- Topic: integer drawing with fonts [SOLVED]
- Replies: 4
- Views: 450
integer drawing with fonts [SOLVED]
I was recently using these handy font functions, and I would like to use it to print integer values. I am not really familiar with const wchar_t * so I cant write a converter of my own.
font->draw(L"Bloodyness",rect<s32>(5,80,300,50),SColor(255,255,255,255));
font->draw(integer,rect<s32>(5,80,300 ...
font->draw(L"Bloodyness",rect<s32>(5,80,300,50),SColor(255,255,255,255));
font->draw(integer,rect<s32>(5,80,300 ...
- Tue May 20, 2008 12:45 pm
- Forum: Beginners Help
- Topic: Attaching weapon
- Replies: 9
- Views: 1012
attach
Works like charm now. Thanks everyone
- Mon May 19, 2008 12:02 pm
- Forum: Beginners Help
- Topic: Attaching weapon
- Replies: 9
- Views: 1012
attatch
After copying sword loading code I noticed that
was missing 
now I can see it. it follows the hand but its in wrong angle and position. Do you think I should just rotate/reposition it manually until I get it right?
Code: Select all
sword = smgr->addAnimatedMeshSceneNode( mesh_sword);
now I can see it. it follows the hand but its in wrong angle and position. Do you think I should just rotate/reposition it manually until I get it right?
- Mon May 19, 2008 11:31 am
- Forum: Beginners Help
- Topic: Attaching weapon
- Replies: 9
- Views: 1012
Attaching weapon
I am trying to attach weapon to a characters hand.
So I have this ISceneNode sword and IAnimatedMeshSceneNode node (character)
Both are x format
Obviously I need to make node hold the sword
As far as I figured out I did this in my init fuction, after loading meshes
ISceneNode hand = node ...
So I have this ISceneNode sword and IAnimatedMeshSceneNode node (character)
Both are x format
Obviously I need to make node hold the sword
As far as I figured out I did this in my init fuction, after loading meshes
ISceneNode hand = node ...
- Thu May 01, 2008 3:48 pm
- Forum: Beginners Help
- Topic: getTime problems
- Replies: 7
- Views: 534
sads
Whel my code is quite messy and all but I'll try to explain.
This is supposed to be an RPG game.
I made a global device and few variables
IrrlichtDevice* device = 0;
int atstumas;
u32 timetorun,time1;
Then goes my event receiver class.
A mouse method from it:
vector3df coords; //storage for ...
This is supposed to be an RPG game.
I made a global device and few variables
IrrlichtDevice* device = 0;
int atstumas;
u32 timetorun,time1;
Then goes my event receiver class.
A mouse method from it:
vector3df coords; //storage for ...
- Thu May 01, 2008 3:03 pm
- Forum: Beginners Help
- Topic: getTime problems
- Replies: 7
- Views: 534
sdf
Its ok I forgive you
This one shall be a challenge for me
This one shall be a challenge for me
- Thu May 01, 2008 2:43 pm
- Forum: Beginners Help
- Topic: getTime problems
- Replies: 7
- Views: 534
fa
Rogerboards guess was correct. But solution to this problem leads to another bug.
thanks
thanks
- Thu May 01, 2008 9:11 am
- Forum: Beginners Help
- Topic: Function which converts 2D to 3D
- Replies: 7
- Views: 906
yes
gogo's file would make sense if it had any source included
- Thu May 01, 2008 8:55 am
- Forum: Beginners Help
- Topic: getTime problems
- Replies: 7
- Views: 534
getTime problems
I have a problem with time function in my event receiver;
here's a fragment
u32 time1 global
if(event.EventType == EET_MOUSE_INPUT_EVENT &&
event.MouseInput.Event == EMIE_LMOUSE_LEFT_UP){
time1=device->getTimer()->getTime();
}
It compiles fine, but when I actually press the mouse button ...
here's a fragment
u32 time1 global
if(event.EventType == EET_MOUSE_INPUT_EVENT &&
event.MouseInput.Event == EMIE_LMOUSE_LEFT_UP){
time1=device->getTimer()->getTime();
}
It compiles fine, but when I actually press the mouse button ...