This doesnt make sense. I have tried this before and it didnt work but when I use the following code it works.
If GetRawKeyPressed(013) = 1 //Return
input_str$ = input_str$ + chr(010)
cx# = 0
cy# = cy# + 4
SetSpritePosition(cursor,cx#,cy#)
keypressed = 0
EndIf
If I use chr(13) for when the key is pressed and then add in a chr(10) to make the string move to a different line. It doesnt make sense
Anybody know why this works this way. Is cr chr(10) or chr(13)? If I use chr(10) for both or chr(13) then the string doesnt move to the next line and neither does my cursor. Whats going on?
cx and cy are values for cursor position. keypressed is the last key that was pressed. cursor is the ID for my sprite (a blinking square).