diff --git a/objects/obj_player.object.gmx b/objects/obj_player.object.gmx index 780ad42..2fae9f4 100644 --- a/objects/obj_player.object.gmx +++ b/objects/obj_player.object.gmx @@ -26,8 +26,9 @@ 1 /// Player creation code. +ship_type = 0; image_speed = 0; -image_index = 1; +image_index = ship_type; is_moving = false; dead = false; invuln_counter_max = 1*room_speed; @@ -373,6 +374,32 @@ image_speed = 0; instance_create(view_xview[0]+(view_wview[0]/2),view_yview[0]+(view_hview[0]/2),obj_gameover_overlay); instance_create(view_xview[0]+(view_wview[0]/2),view_yview[0]+(view_hview[0]/2),obj_respawn); + + + + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + if(global.debug) +{ + ship_type +=2; +} @@ -402,7 +429,7 @@ instance_create(view_xview[0]+(view_wview[0]/2),view_yview[0]+(view_hview[0]/2), is_moving = true; audio_play_sound(snd_engine,1,true); -image_index = 0; +image_index = ship_type+1; @@ -432,7 +459,7 @@ image_index = 0; is_moving = false; audio_stop_sound(snd_engine) -image_index = 1; +image_index = ship_type; diff --git a/sprites/images/spr_player_0.png b/sprites/images/spr_player_0.png index 0616bc5..8903737 100644 Binary files a/sprites/images/spr_player_0.png and b/sprites/images/spr_player_0.png differ diff --git a/sprites/images/spr_player_1.png b/sprites/images/spr_player_1.png index 8903737..0616bc5 100644 Binary files a/sprites/images/spr_player_1.png and b/sprites/images/spr_player_1.png differ diff --git a/sprites/images/spr_player_2.png b/sprites/images/spr_player_2.png index 79f1750..80b221e 100644 Binary files a/sprites/images/spr_player_2.png and b/sprites/images/spr_player_2.png differ diff --git a/sprites/images/spr_player_3.png b/sprites/images/spr_player_3.png index 80b221e..79f1750 100644 Binary files a/sprites/images/spr_player_3.png and b/sprites/images/spr_player_3.png differ