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.

DarkBASIC Discussion / Cool things you can do with text!!

Author
Message
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 31st May 2005 16:33
I made some sort of "base" for all my text functions...

Here it is:


If you can come up with some more cool text variants, please tell me!! (even if it's not (yet) coded)
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 31st May 2005 17:54
Very nice set of functions you've got there.

The happenings of tommorow are behind us now
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 31st May 2005 23:07 Edited at: 1st Jun 2005 00:25
nice. You could probably apply the same logic to Sprites.

[EDIT] Works in Pro too.

BatVink
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 1st Jun 2005 01:51
Thx... I don't really understand what you mean with sprites though...
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 1st Jun 2005 18:30
You have some nice little animation effects for text, such as circling and a wave effect. You could apply the same algorithms to sprites to animate images.

For example, you could create sprites with an image of a sphere, and have them rotating. It might make a nice background for a menu, ar be useful in an intro scene.

BatVink
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Jun 2005 02:18
Yeah, you're right!! I'll work on it right away

Immunity and Annihalation makes Immunihalation...
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Jun 2005 03:27
Well, I've done th circle function and the wave function again, but for sprites. Here it is:



Immunity and Annihalation makes Immunihalation...
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Jun 2005 17:03
Nice

I had to change the variable sprite to another name to get it to compile. Could have been because I have DB Pro, or because I use Blue IDE. I always avoid reserved words for variable names.

BatVink
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 2nd Jun 2005 19:25
cool functions
if you have DBP, batvink explains how to change the sprite code, the text code you have to change the name of the functino reverse$
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 3rd Jun 2005 03:11
Okay then... It's only a minor change, but for the completeness:

Text functions:


And the sprite functions:


Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2025-05-22 21:38:43
Your offset time is: 2025-05-22 21:38:43