Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (3run, Grant, 1 invisible), 3,863 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 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