Skocz do zawartości

Rekomendowane odpowiedzi

Opublikowano

I nic Ci to nie da. Jest wyraźnie napisane że jest to prędkość animacji na podglądzie, a nie w grze.

Opublikowano

oj nie najlepsza :jezor:

zwykłe image_speed to ogólnie ważna stara dobra funkcja której warto sie przyjrzec.

Opublikowano
image_speed The speed with which we cycle through the sub-images. A value of 1 indicates that each step we get the next image. Smaller values will switch sub-images slower, drawing each sub-image multiple times. Larger values will skip sub-images to make the motion faster. Sometimes you want a particular sub-image to be visible and don't want the program to cycle through all of them. This can be achieved by setting the speed to 0 and choosing the correct subimage. For example, assume you have an object that can rotate and you create a sprite that has sub-images for a number of orientations (counter-clockwise). Then, in the step event of the object you can set

{
  image_index = direction * image_number/360;
  image_speed = 0;
}

Opublikowano

w create:

 

change sprite i tam masz speed i wpisz od 0 do 1. np. 0.5.

ale najpierw tam wybierz sprite tej animacji.

 

pasi? :blink:

 

ot cala filozofia

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...