Frame
Übersicht

White-airBetreff: Frame |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
ehmm ich bracuh da mal dringend hilfe ich hab mir ein bild mit 4 frames gemacht und dann steht da auf einmal "image does not exist",ich hab die pixelgrössen auch überprüft aba das war so richtig.was ist daran falsch?
Graphics 1024,768,32,2 SetBuffer BackBuffer() Naruto = LoadAnimImage("af2.png",44,47,0,4) MaskImage Naruto,0,255,0 Repeat cnt=cnt+1 If cnt>20 Then frame=frame+1 cnt=0 EndIf If frame > 3 Then frame = 0 DrawImage Naruto,500,350,frame Flip Cls Until KeyHit(1) |
||
D²O |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Läuft bei mir Tadellos.
Hier kanns eigendlich nur am Bild selber liegen. Edit: Wie schauts im debugmode mit der Variable Naruto aus ? Stimmen die Pfadangaben zur grafik ? Ist es die Vollversion oder Demo ? Code: [AUSKLAPPEN] Graphics 1024,768,32,2
SetBuffer BackBuffer() controll = FileType("af2.png") If controll = False Then RuntimeError "af2.png nicht geladen/gefunden" Naruto = LoadAnimImage("af2.png",44,47,0,4) MaskImage Naruto,0,255,0 Repeat cnt=cnt+1 If cnt>20 Then frame=frame+1 cnt=0 EndIf If frame > 3 Then frame = 0 DrawImage Naruto,500,350,frame Flip Cls Until KeyHit(1) |
||
Blitz+; Blitz3d; BlitzMax; GLBasic; Purebasic;
GameMaker Studio 1.4xx; AGK; |
- Zuletzt bearbeitet von D²O am Sa, Jan 13, 2007 16:50, insgesamt einmal bearbeitet
![]() |
pixelshooter |
![]() Antworten mit Zitat ![]() |
---|---|---|
du liest auch 5 frames ein: 0, 1, 2 , 3 und 4! | ||
>> Musikerstellung, Grafik und Design: http://www.pixelshooter.net.tc |
D²O |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
pixelshooter hat Folgendes geschrieben: du liest auch 5 frames ein: 0, 1, 2 , 3 und 4!
Ne, das passt schon. Zitat: If frame > 3 Then frame = 0
DrawImage Naruto,500,350,frame |
||
Blitz+; Blitz3d; BlitzMax; GLBasic; Purebasic;
GameMaker Studio 1.4xx; AGK; |
White-air |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
ja ich habs jez auch thx | ||
D²O |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
White-air hat Folgendes geschrieben: ja ich habs jez auch thx
Und was wars? Es ist auch für ander Interresant was der fehler war. |
||
Blitz+; Blitz3d; BlitzMax; GLBasic; Purebasic;
GameMaker Studio 1.4xx; AGK; |
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group