Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, flink), 748 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bounding box of tga - sprite #292098
09/30/09 10:54
09/30/09 10:54
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
I've used filenam+12.tga format for one of my effects on the game and set it as POLYGON.. I've scaled it's x value to 5 but it seems that its bounding box is not updated since the other entity will just collide on the middle part.. I've also tried to use c_setminmax(me) after scaling but still doesn't work..

Anybody knows why??

BTW, the dimension of my tga file is 3072x256, and my camera is in ISOMETRIC view.. I've used some dds file as sprites and it didn't give me problems like this..



Can't is not an option™
Re: Bounding box of tga - sprite [Re: seecah] #292240
10/01/09 12:31
10/01/09 12:31
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Nobody experience this? Setting a tga animation as a POLYGON?



Can't is not an option™
Re: Bounding box of tga - sprite [Re: seecah] #292365
10/02/09 13:52
10/02/09 13:52
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
no.. you just can set a cubic bounding box with

vec_set(my.max.x, vector(10,10,10));
vec_set(my.min.x, vector(-10,-10,-10));


or set an invisible Model as bounding box.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Bounding box of tga - sprite [Re: Espér] #292381
10/02/09 16:49
10/02/09 16:49
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
you cant use polygon detection with a sprite, it'll just use a bounding box

Re: Bounding box of tga - sprite [Re: darkinferno] #292409
10/03/09 07:18
10/03/09 07:18
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
thanks all.. I think I'll go with Esper's suggestion to just use an invisible model as a bounding box..

Thanks thanks thanks



Can't is not an option™
Re: Bounding box of tga - sprite [Re: seecah] #292415
10/03/09 10:31
10/03/09 10:31
Joined: Apr 2009
Posts: 274
atari98 Offline
Member
atari98  Offline
Member

Joined: Apr 2009
Posts: 274
no.. you just can set a cubic bounding box with

vec_set(my.max.x, vector(10,10,10));
vec_set(my.min.x, vector(-10,-10,-10));


Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: Bounding box of tga - sprite [Re: atari98] #292418
10/03/09 11:10
10/03/09 11:10
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
I'll try..thanks...



Can't is not an option™

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1