Search found 16 matches

by zarstar
Wed Jun 07, 2006 10:17 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Hi Emil: I've tried to use your new system for collision, but I can't do it. Can you explain more how we can use it? What are the parameters of the function: if(SpriteCollide->CheckPixelCollide(MsslCollide,Mx,My, SprtX,100,Sprite->GetCurntFrame())) What it do? Check the collision between SpriteColli...
by zarstar
Sun Jun 04, 2006 11:28 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Sorry Emil, I have not idea why Irrlicht do it... but I think that if you write a post in the general forums there will be people that can solve the problem!

Tell me if anthing changes!
by zarstar
Fri Jun 02, 2006 9:52 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

The functions seems to not work in my program. I post some screenshots and the code: SMaterial grp_ball_collision; //Sprite for the collision of the ball (the ball is a Tanim) grp_ball_collision.Texture1 = driver->getTexture("graphics/ball_collision.bmp"); driver->makeColorKeyTexture(grp_b...
by zarstar
Thu Jun 01, 2006 3:10 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Emil can I know how the new collision functions work? So I've tested them, but I didn't understand how the new 2 functions (Point and Pixel Collision) work... I've tried to check collision between two little sprites (one tanim image and one smaterial), but I can't succeed to work with a"two pix...
by zarstar
Wed May 31, 2006 4:00 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Hi emil! You're great, man! I've finished the code to move my soccer player on the screen (with and without the ball! ;) ) but I need to improve the collision code.. So now I run to test your improvement and new functions!!! :D It all seems to work very good... Now on the screen there is a player an...
by zarstar
Fri May 26, 2006 11:59 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

After a day that I've leaved you in peace ( ;) ) : 1 - I've studied how to have a constant fps with Irrlicht, so my question it's not a real problem, but I'm curious to know if in your library it's included a function to do it (have a constant fps) 2 - Have you found anything on the problem of colli...
by zarstar
Thu May 25, 2006 3:00 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

last question for today ;): I have to load a high number of sprites (I want to make the player much personalizable). But I've tested that for each file (containing the sprites) I load, it takes a while... What can I do? My sprites were .BMP images. I've tried to convert them to .PNG : I've the same ...
by zarstar
Thu May 25, 2006 10:36 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Another question:
I have to draw more sprites for one player (head, body, feet).
Is there a method to draw them into a SPRITE and then draw only this sprite??
Or i have to draw every time 3 sprites on the screen?
by zarstar
Thu May 25, 2006 10:33 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Another question:
I have to draw more sprites for one player (head, body, feet).
Is there a method to draw them into a SPRITE and then draw only this sprite??
Or i have to draw every time 3 sprites on the screen?
by zarstar
Thu May 25, 2006 9:39 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Ill' wait for you research!

;)

However...thanks for all!
Your work is really great!
by zarstar
Wed May 24, 2006 9:15 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Even this solution doesn't go fine... Because the TMagicSceneNode it's only a single sprite, while I need animations (more sprites, like TAnimImage). However, I need different sprites only for feet, because I want to color them by code (How can I do it? You haven't answered me for that ;) ) PS: Isn'...
by zarstar
Wed May 24, 2006 9:56 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

I've thinked to create a simple rectangle sprite, and move it dinamically in the code following the animations (over the feet). So I can check the collision between it and the ball.

What do you think?

The only problem is that I've to move it manually in the code...
by zarstar
Wed May 24, 2006 9:31 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

I've tried the CheckCollide function, but it isn't good for what I've to do. Because I need a precisely collision between the soccer-player feets and the ball. 1) Is there any method to enable pixel by pixel collision? 2) or is there any method to check collision between only a part of a sprite? (Fo...
by zarstar
Wed May 24, 2006 12:22 am
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

First: sorry for all these questions and for my poor English :lol: I want to know more about the CheckCollide functions: CheckCollide ( grp_actual_sprite , My_Player.pos_x , My_Player.pos_y , grp_ball , ball.pos_x , ball.pos_y ,1,0) 1) What are the last two parameters? 2) This function check the col...
by zarstar
Tue May 23, 2006 2:26 pm
Forum: Project Announcements
Topic: Magic Library - True Type windows font
Replies: 319
Views: 77357

Are there any method to centre the text when drawing it?

Pratically, I want to write over the head (centrally )of a person his name.
But obviusly, the lenght of the name is variable.

So are there any solution?