-
Text Snake etc
/Text Snake/
Here's something kind of silly that I threw together the other day when I was bored. Move the mouse and the text will follow it like a snake - uh... wee! :D
I'm sure there are better ways to do it, but you know... I'm not much of a Kliker, so meh.
BTW, he might rather not have his name associated something so silly, but LB sort of inspired this with his neat debugging method of attaching a string object to active objects to show their alterable values. Cheers to LB... wooh!
[img:center]http://img390.imageshack.us/img390/7473/textsnake.gif[/img]
/Text Typing Demo/
Some games I have seen use a text typer that will begin typing a word at the end of a line and the whole word would jump down when the line is filled. That bothered me, so I decided to build one that didn't do that.
After I had already built the demo, Looki and LB informed me of the mid$() command... so to test it out and for comparison, I made another typer underneath that makes the afformentioned "jump". I've been too lazy to go back and add the mid$() into the original though. :P
/Typing Game Example/
I wanted to see if I make some kind of simple typing game that gauged a player's words per minute and kept track of errors. This is my first attempt. Note: there ARE two spaces after each period... it isn't a bug! That's how I was taught to type... back in the stoneage... on a real typewriter. :o :D
-
Re: Text Snake etc
Thank you for these examples !!
I'm ( trying to ) work on some educational software ( to help French students learn English ) and examples of text manipulation are helpful to me ! Thanks again !
-
Re: Text Snake etc
Nice work, but I cannot figure out how to make the text snake move even when the mouse doesn't? That'd be great. Good job on these examples mojo!
-
Re: Text Snake etc
I'm not sure if this is what you meant, LB, but here is another version where the text snake will now take on it's own movement when the mouse is not moving.
(I recycled my Stupid Enemy Widget from this thread.)
-
Re: Text Snake etc
No that's not what I wanted. :eek: I mean to have the text snake do the EXACT SAME THING it does when the mouse is moving, exept to do it ALSO when the mouse ISN'T moving. So that it's ALWAYS trying to catch up to the mouse no matter what. ;)
-
Re: Text Snake etc
If it kept moving, wouldn't the end of the tail end up overlapping the head?
LOL! Don't be angry! :D
-
Re: Text Snake etc
-
Re: Text Snake etc
Yes that is EXACTLY what I wanted thanks mojofltr!!!
-
Re: Text Snake etc