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

Non-platform specific questions.

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

Postby Hblade » Wed Sep 02, 2009 3:20 pm

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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 8:55 pm

At a loss on this, even tried using hex codes, still produced a space. Anyone else any ideas, all other \codes seem to work.
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 8:59 pm

Also, the other \codes dont work, like these for example.
\t - Horizontal tab
\f - Form read
\r Carriage return
\v Vertical tab
\a - Aleart
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 9:06 pm

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.
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 9:14 pm

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.
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 9:19 pm

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.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 9:31 pm

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.
Last edited by DocRabbit on Wed Sep 02, 2009 9:34 pm, edited 1 time in total.
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 9:34 pm

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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 9:42 pm

maybe Mak can jump in here and reveal one of those hidden Actor variables that might do the trick.
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 9:44 pm

Mak's a fatty and never logs on lol >.> Just kidding mak...
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby makslane » Wed Sep 02, 2009 9:46 pm

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.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 9:47 pm

Awe... well is there anyone to do something similar to \b?
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby DocRabbit » Wed Sep 02, 2009 10:12 pm

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
User avatar
DocRabbit
 
Posts: 114
Joined: Fri Oct 27, 2006 2:56 am
Score: 10 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 10:14 pm

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.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby Hblade » Wed Sep 02, 2009 10:21 pm

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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron