Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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