eternal-space/objects/obj_player_2/Step_0.gml

14 lines
289 B
Plaintext
Raw Normal View History

2021-08-02 13:17:58 -04:00
/// @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;
2021-08-01 20:37:02 -04:00
move_wrap(true, true, sprite_height/2);