Prob bei Animation

Übersicht BlitzBasic Allgemein

Neue Antwort erstellen

 

woody

Betreff: Prob bei Animation

BeitragSo, Jul 11, 2004 20:35
Antworten mit Zitat
Benutzer-Profile anzeigen
bei meinen shooter "Battlefield Iraq" funzt eine animation nicht so, wie es sein sollte:

Code: [AUSKLAPPEN]

dim spieleranimation(15,1)
restore spieleranimation
for A=1 to 15
 read,spieleranimation(A,0)
next
for A=1 to 15
 read,spieleranimation(A,1)
spielerstart=millisecs()
drawimagerect soldat,soldatX,soldatY,spieleranimation(spielerframe,0)spieleranimation,(spielerframe,1),...,...
spielerende=millisecs()
if spielerende-spielerstart>2500 then
spielerframe=spielerframe+1
end if
if spielerframe=15 then spielerframe=0

.spieleranimation
data ;... ... ...
data :... ... ...

sbrog

BeitragSo, Jul 11, 2004 20:41
Antworten mit Zitat
Benutzer-Profile anzeigen
probiers mal mit for a = 0 to 15

Neue Antwort erstellen


Übersicht BlitzBasic Allgemein

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group