Code/gml_Object_eng_button_Step_0.gml

16 lines
318 B
Plaintext
Raw Normal View History

2023-09-29 22:12:03 +03:00
if place_meeting(x, y, hitbox_copy)
{
if (image_alpha < 1)
image_alpha += 0.05
if mouse_check_button_pressed(mb_left)
{
if (!instance_exists(out_to_next))
{
global.language = "en"
instance_create(x, y, out_to_next)
}
}
}
else
image_alpha = 0