forums

TNT Basic Forums > Feedback
Sprites - Flipping and Colliding!
< Last Thread     Next Thread >
Author
Thread        Post A Reply

03-01-2002 09:03

Posted by:
franz

Find more posts by franz



as mentioned in earlier thread,

Sprite Fliping would be a great feature for next version ;-)
I dont know how difficult it is for you to add
but it'd come in VERY handy for platform games (Mario-ish)
which it seems like many people are working on...

I guess it'd be one more optional number to
add to the "Sprite" command?

also "smaller rectangle" colision detection,
for those spaceships with pointy fins? ;-)


TNT Basic rocks! ;-)
-f

03-05-2002 22:24

Posted by:
Mark Tully

Find more posts by Mark Tully

Collision

Hi Franz,

What exactly do you mean by smaller collision rectangles? The ability to have a different collision rectangle than the image rectangle?

That's something we could add, is it really going to be useful though?

Mark

03-06-2002 09:55

Posted by:
Franz (Newly Registered)

Find more posts by Franz (Newly Registered)

it would be a "happy medium" between "fast" and "precise"...

Well, i guess i could use the "sprite intersecting with rect" command to do it, as a workaround...

(yes, I checked out the Phoenix ship demo - ;-) )

What i was saying was that my shapes are irregular
but I have far too many sprites on the screen to use
"precise" colision detection on them without a
big speed decrease...

So I use the "fast" option,
but it produces "unfair" results sometimes, because
the rectangles are so big and chunky.

I'm doing a game with a whale as hero,
and his tail sticks out...
(I will be showing the beta on the message board soon?)

So I figured if the sprites only "hit" with a smaller
rectangle inside,
it would be a "happy medium" between "fast" and "precise"...

as they did on Nintendo Gradius,
(where the fins and wings of the ship dont count as hits)

- Franz

03-07-2002 07:47

Posted by:
Franz

Find more posts by Franz

Sorry! Guess I was wrong...

Sorry! Guess I was wrong...

After examining more carefully i realize
that it was the drawing of 40-odd large sprites
(not the colision detection) that was really slowing down.

Guess I'm still green.
I've only been using TNT for one month...
;-)

03-07-2002 07:48

Posted by:
Franz

Find more posts by Franz

Sorry! Guess I was wrong...

Sorry! Guess I was wrong...

After examining more carefully i realize
that it was the drawing of 40-odd large sprites
(not the colision detection) that was really slowing down.

Guess I'm still green.
I've only been using TNT for one month...
;-)

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.