Hallo,
hab noch ne Frage :-)
Die hat aber nichts mit Licht zu tun, sondern um Sprites.
Hab ein Lüftungssprite mit 5 Animationen, wie schaffe ich es
das es nun auch seine Bewegung durchführt?
Hab im Aum das folgendes gefunden:
Code:
action animated_sprite // attach this action to a sprite that contains several frames
{
var anim_speed;
while (1)
{
ent_animate(my, "text", anim_speed, anm_cycle); // put any animation name here ("test", "stand", whatever)
anim_speed += 5 * time; // "5" controls the animation speed
wait (1);
}
}
Ist das passend für meinen Zweck?
Bei "text" steht man soll den Animationsnamen angeben. Bei Modellen versteh ich das aber bei Sprites? Was für ne Animationsphase?
Muss hier dar Dateiname hin?
Das is bestimmt ne Noobfrage aber ich hab da wirklich keine Ahnung :-)
Danke an alle
Lg Sticky