Sprite control information!

Posted By: Eagle

Sprite control information! - 02/21/02 15:22

I’m looking for advanced sprite control information!
If you know where I can find information on Flags
and skill settings for sprites, could you point
me in the right direction? If you know where this
is located in the manual please post the page number [Smile]
Im having problems with the collision settings. I
also believe there is a lot more to sprite usage
than I thought before! I’m only now discovering all
the different uses for them!..
anyway, If you could give me this information I would
be very Grateful [Smile]

always,
Posted By: Eagle

Re: Sprite control information! - 02/22/02 16:41

you mean no one knows this??? [Eek!]

Doug..?
Posted By: Keith B [Ambit]

Re: Sprite control information! - 02/22/02 19:27

Hi Eagle,

I'm no expert on sprites, but all the information on them is in the part of the manual that deals with entities in general (ie they have no separate section) - beginning around p.92 or thereabouts. They have some specific flags such as oriented/facing, and the nofilter flag is useful for getting rid of that black outline you get on Voodoo cards etc. The rest of the flags are pretty much the same as for all entities.

As for collision detection, the sprite collision detection is again mentioned in the "collision detection" section that talks about all entities (p.99). This is what I could find specific to sprites:

"For sprite entities, its origin is the geometric centre of the bitmap. For map or model entities, the
origin is its coordinate origin given by the editor."

"min_x, min_y, min_z, max_x, max_y, max_z
The bounding box corners of the entity, relative to the entities’ origin, used for collision
detection against other sprite or model entities"

So if you are having collision problems you probably have to adjust the origin or mess around with the min and max values.

Hope that's of some help.
Cheers,
Keith
Posted By: Eagle

Re: Sprite control information! - 02/23/02 00:30

Ambit You are awesome!
Thanks for the lead!!! You know, I look in the
index for a lot of things and I can find it most
of the time but believe it or not, Sprites are
not even mentioned in the index of the manual...
or at least where I could find them..LOL!

Thanks for the help!

always,
© 2024 lite-C Forums