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.

Author
Message
fubarpk
Moderator
14
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 28th Dec 2016 19:14 Edited at: 12th Apr 2018 20:46
I'm not sure what people think of this but here it goes


Just something ive been playing with, Something I wrote quite a while ago in c that read the characters in a dos window then replaced every one with its one
less character equivalent. this effectively gave the effect of the text dissolving away until adventually all text was character 32 a space character. The c version worked
nicely so ive been playing with text in agk and thought ide show what I have so far. A much larger text filling the screen looks allot better but I thought ide post what
I have so far
fubar
fubarpk
Moderator
14
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 28th Dec 2016 19:26 Edited at: 12th Apr 2018 20:46
to get a better idea of it working change the following
fubar
fubarpk
Moderator
14
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 28th Dec 2016 20:01 Edited at: 12th Apr 2018 20:47
Now with added alpha subtraction and removal of the frame limiter as speed was needed
I also added a global variable so that it no longer calls subtract routine once its completed

I hope someone finds this simple routine useful

fubar
29 games
13
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 28th Dec 2016 23:51
I like this.

It needs a proper timer so the effect can be transitioned over whatever period time is required. Something like this:



The function would have be tidied up so it could be used in a project but the effect is nice. I also like the original post, where the individual characters disappeared.
Hover Car Race Challenge! - available now on Google Play
Invaders of the 29th Dimension - available now on Google Play
Find me on indieDB

Login to post a reply

Server time is: 2019-05-22 05:00:26
Your offset time is: 2019-05-22 05:00:26