Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,400 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated TGA with action #132791
05/30/07 21:57
05/30/07 21:57
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Hey everyone,

I have a few animated TGA files in my level, which have been placed in the level via WED, with the correct filename format (filename+number.tga). These animate perfectly in the level until I assign an action to them. As soon as I assign them an action, they no longer animate. Is there a piece of code I should place in the action statement that will keep them animating?

Thanks!

Re: Animated TGA with action [Re: CBSection31] #132792
05/30/07 22:02
05/30/07 22:02
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
if (my.frame < (number after +)) {MY.FRAME += 1 *time_step;}
in loop should be enough


Never say never.
Re: Animated TGA with action [Re: CBSection31] #132793
05/30/07 22:03
05/30/07 22:03
Joined: Dec 2005
Posts: 252
MyOwnKingdom
nipx Offline
Member
nipx  Offline
Member

Joined: Dec 2005
Posts: 252
MyOwnKingdom
something like:


Code:
	
while(my.frame < <<yourNumberHere>>)
{
my.frame+=3*time_step;
wait(1);
}





nipx


edit: tompo, dont type so fast

Last edited by nipx; 05/30/07 22:04.
Re: Animated TGA with action [Re: nipx] #132794
05/30/07 22:27
05/30/07 22:27
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
sorry


Never say never.
Re: Animated TGA with action [Re: tompo] #132795
05/30/07 22:31
05/30/07 22:31
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thanks!!! It works perfectly!


Gamestudio download | 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