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.

Newcomers AppGameKit Corner / How code ellapsed time disk.

Author
Message
Hubert BAYRE
6
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 7th Apr 2018 19:52 Edited at: 7th Apr 2018 19:55
Hello
I've you an idea how to do this (see image) with code / gfx.
Display ellapsed time (green).
Total time could be 60 secondes (total blue zone or more) and green zone increase each secondes (or other ratio).
i don't want use 60 animated images to do this !
Thanks for ideas !

Attachments

Login to view attachments
Hubert BAYRE
6
Years of Service
User Offline
Joined: 21st Oct 2017
Location: France
Posted: 8th Apr 2018 07:23 Edited at: 8th Apr 2018 15:19
Finally i code this with an classic image strip.
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 14th Apr 2018 21:53 Edited at: 14th Apr 2018 21:55
Hey I made a Masking shader some time ago which you could use form this.
Take a look at this: https://forum.thegamecreators.com/thread/214598?page=3#msg2604492
There is a zip file attached

Login to post a reply

Server time is: 2024-03-28 08:39:12
Your offset time is: 2024-03-28 08:39:12