Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
2 registered members (NnamueN, 1 invisible), 1,413 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Timer variable #298460
11/15/09 10:20
11/15/09 10:20
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
What is the name of variable changed by time ??? like timer() in lite-c. In d3d variable is called Time, but this engine is not recognizing it.

Re: Timer variable [Re: CharlieAmer] #298461
11/15/09 10:26
11/15/09 10:26
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
there is no variable changed by time, but time_frame is the exact time that the kast frame took to be rendered. you can write a function to add up time_frame so that variable changes by the time. (there is also time_step, check the manual)


3333333333
Re: Timer variable [Re: Quad] #298463
11/15/09 10:51
11/15/09 10:51
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
I am talking about shaders ... is there any variable in shaders language changed by time ? if not, is there any way that I can pass it to shader from main script ???

Re: Timer variable [Re: CharlieAmer] #298464
11/15/09 10:57
11/15/09 10:57
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
yes, that's all explained in manual.
http://www.conitec.net/beta/shader-var.htm


3333333333
Re: Timer variable [Re: Quad] #298466
11/15/09 11:30
11/15/09 11:30
Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
C
CharlieAmer Offline OP
Newbie
CharlieAmer  Offline OP
Newbie
C

Joined: Jun 2009
Posts: 27
Bosnia and Herzegovina, Saraje...
any other way ? my version is 7.25 xD

Re: Timer variable [Re: CharlieAmer] #298472
11/15/09 11:55
11/15/09 11:55
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
the other ways could possibly be not using WAREZ or if you already dont, update to 7.80, updates are free to those who PURCHASED a license.

Last edited by Quadraxas; 11/15/09 11:55.

3333333333
Re: Timer variable [Re: Quad] #298481
11/15/09 13:40
11/15/09 13:40
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Look up "vecTime" in the manual.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  Blink, Hummel, Superku 

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