C
CrabKing
Guest
So, I have this code that gradually draws text like a typewriter,
but I want "Text" to be replaced with an encrypted text that I copy pasted into it.
Of course, it turns the encrypted text into question marks. I'm wondering how to tell it to not worry about converting it, and just draw the symbols.
Is there a way to do this in the actual code instead of drawing a sprite for every letter or something?
GML:
///Create Event
fin="Text";
len=string_length(fin);
lettersSoFar="";
charCount=0;
alarm[0]=4;
///Alarm Event
lettersSoFar=string_copy(fin,0,charCount);
if(charCount<len)
{
charCount+=1;
sound_play(talking);
alarm[0]=4;
}
///Draw Event
draw_set_color(c_orange);
draw_set_font(title_font);
draw_text(x,y,lettersSoFar);
Of course, it turns the encrypted text into question marks. I'm wondering how to tell it to not worry about converting it, and just draw the symbols.
Is there a way to do this in the actual code instead of drawing a sprite for every letter or something?