Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

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

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

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