Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
if(hspeed = 0 && vspeed = 0)
current_frame +=0;
else
current_frame +=4/30;
if(keyboard_check(vk_up))
{
vspeed = -3;
if(current_frame > 3.4)
current_frame = -0.6;
}
if(keyboard_check_released(vk_up))
{
vspeed = 0;
current_frame = 1;
}
if(keyboard_check(vk_down))
{
vspeed = 3;
if(current_frame > 7.4 || current_frame < 4)
current_frame = 4;
}
if(keyboard_check_released(vk_down))
{
vspeed = 0;
current_frame = 5;
}
if(keyboard_check(vk_left))
{
hspeed = -3;
if(current_frame > 11.4 || current_frame < 7.6)
current_frame = 7.6;
}
if(keyboard_check_released(vk_left))
{
hspeed = 0;
current_frame = 9;
}
if(keyboard_check(vk_right))
{
hspeed = 3;
if(current_frame > 15.4 || current_frame < 11.6)
current_frame = 11.6;
}
if(keyboard_check_released(vk_right))
{
hspeed = 0;
current_frame = 13;
}
Which made everything run smooth.
And yeah, having everything besides the draw in draw event could have caused the issues, which was not the case now tho.