eternal-space/objects/obj_player_2/Step_0.gml
2021-08-01 20:37:02 -04:00

14 lines
276 B
Plaintext

/// @description Insert description here
// You can write your code in this editor
if(keyboard_check_pressed(ord("L"))){
instance_create_layer(x,y, "Instances", obj_laser);
};
if(keyboard_check(ord("K"))){
y -= 15;
};
y += GRAVITY;
move_wrap(true, true, sprite_height/2);