Search found 38 matches

by fon3m
Thu Jan 04, 2007 8:47 pm
Forum: Beginners Help
Topic: frame loop when shoot
Replies: 5
Views: 438

I have already know that question.
thank you :P
by fon3m
Thu Jan 04, 2007 8:23 pm
Forum: Beginners Help
Topic: frame loop when shoot
Replies: 5
Views: 438

frame loop when shoot

I have question that when i press to shoot and it's equal to enemy, i want the enemy is change frameloop. and i try this //when shoot is equal to enemy void enemy::shootEn() { nodeEn1->setFrameLoop ( 50,1000 ); nodeEn1->setAnimationSpeed(60); } but when is equal, enemy is in loop 50 and didn't chang...
by fon3m
Wed Dec 27, 2006 2:29 pm
Forum: Beginners Help
Topic: question about frame loop
Replies: 8
Views: 449

Thanl you :)
by fon3m
Tue Dec 26, 2006 8:07 pm
Forum: Beginners Help
Topic: question about frame loop
Replies: 8
Views: 449

Did you set frame loop(10,1500) in tutorial#1 ?
I try it in tutorial#1.
if i don't set frame loop,it's normal.
but if i set frame loop, size is abnormal.
Did you like me? :)
by fon3m
Tue Dec 26, 2006 6:19 pm
Forum: Beginners Help
Topic: question about frame loop
Replies: 8
Views: 449

by fon3m
Tue Dec 26, 2006 5:14 pm
Forum: Beginners Help
Topic: question about frame loop
Replies: 8
Views: 449

I mean i want size of model is equal all of frame. if i didn't set frame loop,it's will equal all. But when i set frame loop,in last frame will larger than before frame although i didn't set any size of model. and it's happen all frame loop. :shock:
by fon3m
Mon Dec 25, 2006 7:40 pm
Forum: Beginners Help
Topic: question about frame loop
Replies: 8
Views: 449

question about frame loop

I use ms3d model and set frame loop by

Code: Select all

nodeEn->setFrameLoop(0,1500);
it's start normal but in last frame, model is very large(about 0.5 second).
How to do that?

thank you
by fon3m
Mon Dec 25, 2006 7:23 pm
Forum: Beginners Help
Topic: I have problem about enemy.
Replies: 1
Views: 155

I can do that. :D
by fon3m
Mon Dec 25, 2006 11:22 am
Forum: Beginners Help
Topic: I have problem about enemy.
Replies: 1
Views: 155

I have problem about enemy.

I did third person. I set direction of enemy is it's will walk follow the actor(player). and i use this code p = nodeEn->getPosition(); r = nodeEn->getRotation(); rot = ((atan(-(acZ-p.Z)/(acX-p.X)))*57.29)-75; // angle rotate r.Y = rot; nodeEn->setRotation(r); p.X += cos((r.Y) * 3.14 / 180); p.Z -= ...
by fon3m
Mon Dec 18, 2006 7:40 pm
Forum: Beginners Help
Topic: About Text.
Replies: 12
Views: 447

OH! Thank you very much. and sorry about my stupid.
by fon3m
Mon Dec 18, 2006 6:56 pm
Forum: Beginners Help
Topic: About Text.
Replies: 12
Views: 447

I saw in doc of engine that "text is the text to be displayed. Can be altered after creation with SetText(). " and I do this text1 = irrDevice->getGUIEn(); text1->addStaticText(L"You must find a key to open this door. ",core::rect<s32>(110,10,300,20), true, true, 0, -1, true); if...
by fon3m
Mon Dec 18, 2006 6:06 pm
Forum: Beginners Help
Topic: About Text.
Replies: 12
Views: 447

I think setText() is an assign. I don't understand.
Um........... Did you have sample for me?

Thank you
by fon3m
Mon Dec 18, 2006 5:13 pm
Forum: Beginners Help
Topic: About Text.
Replies: 12
Views: 447

I do this code

Code: Select all

IGUIElement* text3;
text3->setText(L"555...");
text3->setRelativePosition (core::rect<s32>(100,10,184,99));
text3->draw();
but it's error and close windows. What's wrong? :(
by fon3m
Mon Dec 18, 2006 3:27 pm
Forum: Beginners Help
Topic: About Text.
Replies: 12
Views: 447

About Text.

I want to show text when open the door(with out key), get a key, etc. I use addStaticText() to draw. but when i want to change text , i can't change it because i don't know function for change text. i would like to know that addStaticText() have function to change text? and have function to move thi...
by fon3m
Mon Dec 18, 2006 11:43 am
Forum: Beginners Help
Topic: I have problem about draw2DImage to be health bar.
Replies: 8
Views: 388

Oh! I can do it. Thank you. :D