Cita de: eams1986 en Mayo 24, 2014, 04:16:40 PM
if can_shoot=true
{
can_shoot=false
instance_create(x,y,obj_player_bullet)
alarm[0]=5
}

hola a todos esto tengo en disparar

if can_shoot=true
{
can_shoot=false
if powerup = false instance_create(x,y,obj_player_bullet)
if powerup = true instance_create(x,y,obj_player_bullet_upgraded)
alarm[0]=5
}

elvis gracias pero yo pienso que en esta ocasion el depth no funka por que la nave power UP tambien es mas pequena estos usando el depth la nave apareceria encima de la otra  pero muy buena idea .

Gracias de todos modos

if can_shoot=true
{
can_shoot=false
if sprite_index=nave_power_up
{
instance_create(x,y,obj_player_bullet_power_up)
}
else
{
instance_create(x,y,obj_player_bullet)
}
alarm[0]=5
}
PURA VIDA