Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / CreateTweenObject(duration ) Is duration an integer?

Author
Message
blink0k
AGK Developer
Gold Codemaster
6
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 25th Nov 2018 06:59
First things first. Absolutely love these tweens. They're like little code lollies.

So is the duration parameter and integer? I have tried decimals and it seems to round it up to seconds.

If this is the case (duration is an integer). Is there any way to make a tween last less than a second?
TomToad
1
Years of Service
User Offline
Joined: 6th Jan 2018
Location:
Posted: 25th Nov 2018 10:49
Tier 2 has it defined as static void CreateTweenObject( UINT tweenID, float duration );, so I would think it should be a float in tier 1 as well.

Login to post a reply

Server time is: 2019-04-22 08:15:13
Your offset time is: 2019-04-22 08:15:13