S
SonicTheHedgehog+123
Guest
The Problem that I have is that when I am switching from my player_sprite to my ducking sprite. I cant change to another sprite because the code is in the step event.
Here is the ducking code:
if keyboard_check(ord("S"))
{
sprite_index = Ducken
}
else
{
sprite_index = Fledermaus_Bild
}
if sprite_index = Ducken
{
hspeed = 0
}
is there a way that my sprite goes from ducking to player sprite and I still can switch to other sprites (like an item_sprite)
Open for any help
Here is the ducking code:
if keyboard_check(ord("S"))
{
sprite_index = Ducken
}
else
{
sprite_index = Fledermaus_Bild
}
if sprite_index = Ducken
{
hspeed = 0
}
is there a way that my sprite goes from ducking to player sprite and I still can switch to other sprites (like an item_sprite)
Open for any help