Como fazer esse código funcionar(Resolvido)
Enviado: Ter Nov 29, 2016 11:19 pm
Sou novo e queria saber como fazer isso funcionar
Código: Selecionar todos
///sprite
if place_free(x, y + 4)
sprite_index = SprPulando
else if keyboard_check_direct(vk_right) or keyboard_check_direct(vk_left)
sprite_index = SprAndando
else
sprite_index = SprPersonagem
Check = true
if keyboard_check_released(vk_left)
Check = false
if keyboard_check_released(vk_right)
Check = true
if keyboard_check_pressed(vk_left) and Check == true
image_xscale *= -1
if keyboard_check_pressed(vk_right) and Check == false
image_xscale *= -1