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
0 registered members (), 16,232 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
sky.speed_u/v in Lite-C #166131
11/06/07 14:00
11/06/07 14:00
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
is there any way to define sky movement speed in Lite-C?

i do it this way

ENTITY* bla =
{
flags2 = SKY;
}

void sky_speed_startup()
{
while(1)
{
bla.u+=10*time_step;
wait(1);
}
}

is there a more convenient way to do that? uv shifting is too fast for a sky, and lower values(below 0.001) don't move it at all

Re: sky.speed_u/v in Lite-C [Re: Shadow969] #166132
11/06/07 14:02
11/06/07 14:02
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Set the u,v parameters to the desired speed. I'm not 100% sure but I think they'll move automatically, without needing your action.

Re: sky.speed_u/v in Lite-C [Re: jcl] #166133
11/06/07 14:25
11/06/07 14:25
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
Thank you for the fast answer, it works!
EDIT: i think it should be mentioned in the manual

Last edited by Shadow969; 11/06/07 14:28.

Moderated by  old_bill, Tobias 

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