Kleines problem mit Buttons

Übersicht BlitzBasic Beginners-Corner

Neue Antwort erstellen

DAK

Betreff: Kleines problem mit Buttons

BeitragMo, Jul 25, 2005 23:44
Antworten mit Zitat
Benutzer-Profile anzeigen
Was ist daran falsch?
Code: [AUSKLAPPEN]
Repeat
If MouseHit(1) And ImagesCollide(curser1$, mx, my, 0, choicebox$, 100, 110, 0) And y > 0 And x > 0 Then
Text 181, 20, "Mampf."
x = x - 1
y = y - 1
c1% = 0
tex% = 1
WaitMouse
EndIf

If MouseHit(1) And ImagesCollide(curser1$, mx, my, 0, choicebox$, 100, 110, 0) And y = 0 Then
tex% = 2
WaitMouse
EndIf

If MouseHit(1) And ImagesCollide(curser1$, mx, my, 0, choicebox$, 100, 110, 0) And x = 0 Then
tex% = 3
WaitMouse
EndIf


If tex% = 1 Then
Text 181, 20, "Mampf."
ElseIf tex% = 2 Then
Text 181, 20, "Du kannst mich nicht füttern, wenn du kein Futter für mich hast."
ElseIf tex% = 3 Then
Text 181, 20, "Ich krieg nix mehr runter."
EndIf
Until KeyHit(1)
End

D2006

Administrator

BeitragMo, Jul 25, 2005 23:46
Antworten mit Zitat
Benutzer-Profile anzeigen
Hi,

siehe dazu hier:
https://www.blitzforum.de/viewtopic.php?t=8345

MfG
D2006

Neue Antwort erstellen


Übersicht BlitzBasic Beginners-Corner

Gehe zu:

Powered by phpBB © 2001 - 2006, phpBB Group