F
Falconsoft-Industries
Guest
Here’s my draw event code
draw_sprite(self.x+4,self.y+4,spr_message_box)
If !keyboard_check_pressed(vk_space)
{
draw_text(x,y,draw_copy_string(sentences,1,index))
// 1 is how many characters a second are typed
}
If keyboard_check_pressed(vk_space)
{
draw_text(x,y,draw_copy_string(sentences,10,index))
// 10 is how many characters a second are typed
}
Will this work?, ‘I know all my other code to handle loops for the typewriter text effect work.’
draw_sprite(self.x+4,self.y+4,spr_message_box)
If !keyboard_check_pressed(vk_space)
{
draw_text(x,y,draw_copy_string(sentences,1,index))
// 1 is how many characters a second are typed
}
If keyboard_check_pressed(vk_space)
{
draw_text(x,y,draw_copy_string(sentences,10,index))
// 10 is how many characters a second are typed
}
Will this work?, ‘I know all my other code to handle loops for the typewriter text effect work.’
Last edited by a moderator: