Search found 14 matches

by Necrozard
Thu Jul 10, 2008 11:12 pm
Forum: Beginners Help
Topic: font->draw, Question.
Replies: 1
Views: 309

font->draw, Question.

Hi everyone. I have a question with this function.

I have this variable: int Damage=(rand()%201 +200);

Then i want to a text on the screen representing that Damage. I try: (L"%S"+Damage); and (L"%S"+(int)Damage); too, but nothing.

I want to set the Damage value on screen. This is my current line ...
by Necrozard
Thu Jul 10, 2008 1:39 am
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

do you know why if i put:

font->draw(L"254",rect<s32>(enemy->getAbsolutePosition().X,enemy->getAbsolutePosition().Y,300,50),SColor(255,255,255,255));

the text put himself on a corner? I want to set the text on the head of enemy.

Do you know?
by Necrozard
Thu Jul 10, 2008 12:48 am
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

Thanks a lot, but its solved.

It was because i had 1.3 Irrlicht version xD. Sorry!
by Necrozard
Wed Jul 09, 2008 11:37 am
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

by Necrozard
Tue Jul 08, 2008 11:16 pm
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

Can someone fix the problem please? I really need it!
by Necrozard
Tue Jul 08, 2008 10:41 pm
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

Ok, thanks everybody.

@BlindSide: It doesnt work, i dont know why. it says no matching funtion for call.

Well, here is a .rar archive, it has Dev-cpp Project+main.cpp, and the media folder. I will really appreciate if somebody fix my problem, thanks again and bye!

LINK: http://www.mediafire.com ...
by Necrozard
Tue Jul 08, 2008 7:30 pm
Forum: Beginners Help
Topic: How to return an IAnimatedMeshSceneNode
Replies: 6
Views: 621

Im using Dev-cpp, i think im going to download Code::blocks, and... which is the new syntaxis for STRUCT?
by Necrozard
Tue Jul 08, 2008 1:31 am
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

Well, i have a new problem!

If your line isnt in my code, the texture of Dwarf (Warrior) its there, but if a set it in my code, the texture of the floor scale good, but Dwarf´s texture dissapear, whats happening? I have a screenshots:

http://img224.imageshack.us/img224/1386/error1cl5.png
Here ...
by Necrozard
Tue Jul 08, 2008 1:10 am
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

It works! Thanks!
by Necrozard
Tue Jul 08, 2008 1:09 am
Forum: Beginners Help
Topic: How to return an IAnimatedMeshSceneNode
Replies: 6
Views: 621

Thank you very much guys for the answers!
by Necrozard
Mon Jul 07, 2008 11:28 pm
Forum: Beginners Help
Topic: How can i set mosaic texture?
Replies: 23
Views: 2420

How can i set mosaic texture?

Well, first of all, sorry about my flood of newbie questions xD, but i really want to learn Irrlicht.

Well, i set a Texture to a IAnimatedMeshSceneNode, and, its TOTALLY SCALED, and its big, so its look horrible, how can i set a flag or something to set mosaic texture, to repeat the texture its ...
by Necrozard
Mon Jul 07, 2008 10:32 pm
Forum: Beginners Help
Topic: How to return an IAnimatedMeshSceneNode
Replies: 6
Views: 621

How to return an IAnimatedMeshSceneNode

Hi!

Well, im doing a Function for the pj, i want it to return the IAnimatedMeshSceneNode *hero so i can check input, and more, in the Main Loop, this is a little part of the function:

int Pj(IrrlichtDevice *device,IVideoDriver *driver,ISceneManager *smgr)
{
struct{
int HP=1500;
int MP=540 ...
by Necrozard
Sun Jul 06, 2008 8:02 pm
Forum: Beginners Help
Topic: Problems creating enemy Update
Replies: 1
Views: 195

Problems creating enemy Update

Hi!

Well im training with irrlicht, im creating the "enemy" right now, the IA, Input check, and here is where i have the problem...

Important Point: Im doing an Function enemy, like:

int Enemy()

And in there i call IAnimatedMeshSceneNode, to set the Mesh, but, i need a Loop, to check the Input ...
by Necrozard
Sat Jul 05, 2008 8:53 pm
Forum: Beginners Help
Topic: Collisions in an .irr Scene
Replies: 1
Views: 160

Collisions in an .irr Scene

Hi!

Well, im new using this library, i really like it.
Well, lets go to the problem.

How can i detect collisions with objects, terrain, and others in a .irr scene?

Because my player walk over the terrain, over all objects.

This is the only problem i have right now, so, if anyone can help me i ...