Bild flimmert

Übersicht BlitzBasic Beginners-Corner

Neue Antwort erstellen

@ndinho

Betreff: Bild flimmert

BeitragSa, Apr 09, 2005 12:58
Antworten mit Zitat
Benutzer-Profile anzeigen
Ich hab keine ahnung, warum das Bild flimmert:

BlitzBasic: [AUSKLAPPEN]
Graphics 1024, 768
SetBuffer BackBuffer()


logo = LoadImage(\"bt-games.jpg\")
time = 0



Repeat

time = time +1
Locate 240, 80
Print \"Present by:\"
If time = 200 Then DrawImage logo, 170,100
If time = 800 Then game()
Flip

Until KeyDown(1)




Function game()
Cls
Print \"Spiel\"
Delay 2000
End
End Function
User posted image

Mein PC: AMD 3000+ / 1024 DDR-Ramm 400 / Geforce 6800
Meine Lieblingsspiele: World of Warcraft, Warcraft III, Pro Evolutions Soccer 4, Blitz Basic Smile

Sir Dan

BeitragSa, Apr 09, 2005 13:04
Antworten mit Zitat
Benutzer-Profile anzeigen
Mach noch ein cls nach dem repeat
(\_/)
(O.o)
(> <) This is Bunny. Copy Bunny into your signature to help him on his way to world domination.

Ofenrohr

BeitragSa, Apr 09, 2005 13:05
Antworten mit Zitat
Benutzer-Profile anzeigen
dann aber auch If time > 200 Then DrawImage logo, 170,100

sonst blinkt es nur kurz auf...
Ofenrohr.net

simi

BeitragSa, Apr 09, 2005 13:09
Antworten mit Zitat
Benutzer-Profile anzeigen
Naja, ist ein bisschen ein komischer Programmaufbau....

Ich denke das Flimmern hat etwas mit Print zu tun....

Mein Vorschlag:
BlitzBasic: [AUSKLAPPEN]

Graphics 1024, 768
SetBuffer BackBuffer()

logo = LoadImage(\"bt-games.jpg\")
time = 0

Repeat
Cls
time = time +1

If time >= 200 And time < 800 Then
Text 240,80,\"Present by:\"
DrawImage logo, 170,100
End If
If time = 800 Then
Cls
Text 240,100,\"Spiel\"
Flip
Delay 2000
End
End If
Flip
Until KeyDown(1)

@ndinho

BeitragSa, Apr 09, 2005 13:09
Antworten mit Zitat
Benutzer-Profile anzeigen
danke, jetzt geht es
User posted image

Mein PC: AMD 3000+ / 1024 DDR-Ramm 400 / Geforce 6800
Meine Lieblingsspiele: World of Warcraft, Warcraft III, Pro Evolutions Soccer 4, Blitz Basic Smile

Neue Antwort erstellen


Übersicht BlitzBasic Beginners-Corner

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group