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
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 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
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,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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 | 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