Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by JeyKey II. 11/25/26 09:53
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (AndrewAMD, Grant, Quad, TipmyPip, JeyKey II), 7,448 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,149
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