GReeting And Question about App.functions

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
GGPlay
Posts: 2
Joined: Sat Aug 30, 2008 12:17 pm

GReeting And Question about App.functions

Post by GGPlay »

HI everybody, firstof all i want to express all my
passion and appreciation to this ZGameEditor ,it's really fantastic!!
I am just get this on tutorial 2 and i have seen also some post of
this forum, but i just saw the App.MousePosition(), App.DeltaTime()
,i have checked out the documentation on official page, but there
is no info.(or i didn't get it)about App functions.

Is that possible to get it ? Or App. is not available now??
:?: :?:

Thx again and welcome any reply :P

GGPlay
User avatar
VilleK
Site Admin
Posts: 2277
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Hi and welcome ggplay!

The info you want is here:

http://www.zgameeditor.org/index.php/Co ... pplication

DeltaTime and MousePosition are not functions, they are properties of the ZApplication-component. When you make a new project there is always a ZApplication-component named "App" created for you. You access the properties in code using "App.MousePosition" etc, without the "()" you would use for calling a function.
GGPlay
Posts: 2
Joined: Sat Aug 30, 2008 12:17 pm

Post by GGPlay »

:oops: jaja, that's right...,it should be a property not
function.Thx ur correction!

I should read more in the documentation, but thak you
very much for the really useful answer !!
and also ur time :)
Post Reply