Page 1 of 2

Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 3:20 pm
by Hblade
Hey I'm trying to make something but like, ok when the command \b is called inside of strcat(text, "\b");, it's suposed to make a backspace right? Well uh o.o it dosnt :O Any idea why?
For some reason it just makes it add an extra space...


Sorry for being rushey, it's jsut that I'd like to know this

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 8:55 pm
by DocRabbit
At a loss on this, even tried using hex codes, still produced a space. Anyone else any ideas, all other \codes seem to work.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 8:59 pm
by Hblade
Also, the other \codes dont work, like these for example.
\t - Horizontal tab
\f - Form read
\r Carriage return
\v Vertical tab
\a - Aleart

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:06 pm
by DocRabbit
Yes, was about to post addendum to my prior, most of the printer based function \codes don't seem to work, even if passed in hex form.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:14 pm
by DocRabbit
It seems to affect those ascii 32 and below other than 0 which is the null, it seems to work. Probably has something to do with code dealing with code limitations.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:19 pm
by Hblade
Hopefully we can find a solution. I wanted to my my OWn version of text inputting, isntead of the built in one that uses 1 SOLID | mark that you cant get rid of -.- Anyways yeah if anyone can find out, that'd be awesome.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:31 pm
by DocRabbit
Have you tried setting cursor color the same as your background, setting text background to yes, and same color as cursor?
Yeah, if your cursor is different than your text input windows background, you get that vertical line, but this method will make it disappear.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:34 pm
by Hblade
Yeah, but that does no good, either, specially if you have a moving background, or a background with multiple colors >.> Also, if you could append a blinking | to it it'd look MUCh better :O

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:42 pm
by DocRabbit
maybe Mak can jump in here and reveal one of those hidden Actor variables that might do the trick.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:44 pm
by Hblade
Mak's a fatty and never logs on lol >.> Just kidding mak...

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:46 pm
by makslane
Hblade wrote:Hey I'm trying to make something but like, ok when the command \b is called inside of strcat(text, "\b");, it's suposed to make a backspace right? Well uh o.o it dosnt :O Any idea why?
For some reason it just makes it add an extra space...s


The Game Editor implementation of this funtion doesn´t recognize the \b as a backspace, it is a bug.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 9:47 pm
by Hblade
Awe... well is there anyone to do something similar to \b?

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 10:12 pm
by DocRabbit
I thought I remembered something along these same lines from way back. SgtSparky tried tackling this issue couple years ago.

Here is a link to his post concerning it.

http://game-editor.com/forum/viewtopic.php?f=5&t=3349&start=0&hilit=repeated+typing+function

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 10:14 pm
by Hblade
I remembered Sgt Sparky did something similar to this, but this isn't what I want.
What I want, is to be able to delete the characters normally like in a txt format :O.. I have an idea.

Re: Backspace not working? "\b" [CAN ANYONE ANSWERE? >.>]

PostPosted: Wed Sep 02, 2009 10:21 pm
by Hblade
Makslane, is there any way at all to delete a letter at all? (sigh) I dont like using the standard one because the | thing dosnt blink :O