Problem mit explosion
Übersicht

mmsm1985Betreff: Problem mit explosion |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Ich habe ein problem mit den explosionen.
der debugger sagt mir immer "not enough frames in bitmap" Die Pixelmaße und die anzahl der bilder stimmen. Code: [AUSKLAPPEN] Global explosion = LoadAnimImage("gfx\explode.bmp",180,24,0,6) ..... Dim AlienExplodiert(5,3) ..... ..... ..... ; Explosion zeichnen For I=1 To 3 If ufo(I,0) = 0 Then If AlienExplodiert(I,1) + 100 < MilliSecs() Then AlienExplodiert(I,0) = AlienExplodiert(I,0) + 1 AlienExplodiert(I,1) = MilliSecs() If AlienExplodiert(I,0) = 6 Then AlienExplodiert(I,0) = 0 AlienExplodiert(I,1) = 0 ufo(I,0) = 0 EndIf EndIf DrawImage explosion, ufo(I,2), ufo(I,1), AlienExplodiert(I,0) MaskImage explosion, 255, 0, 0 EndIf Next danke[/code] |
||
- Zuletzt bearbeitet von mmsm1985 am Mo, Jun 19, 2006 18:43, insgesamt einmal bearbeitet
mmsm1985 |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Ich habs!!! ![]() ![]() ![]() die x Pixelanzahl darf nicht von der ganzen grafik sein, sondern nur von einem einzelnen animationsbild |
||
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group