Hallo, Ich habe ein Problem bei eines meiner Programme.
Und zwar, erstens, Kapiere ich nicht, wieso ich erst die Häuser erstellen lassen muss und dann die Map.
Zweitens, sobald ich denn Baum fällen möchte (Auf dem Baum Klicke) komm der baumstamm unter das Map Bild.
Hat jemand eine Lösung? zip datei.
Spoiler anzeigen
func _map_kulsav()
$Haus1 = GUICtrlCreatePic("Haus1_wiese.bmp", 640, 35, 116, 156,$SS_NOTIFY) ; Oben rechts
$Haus2 = GUICtrlCreatePic("Haus1_wiese.bmp", 99, 60, 116, 156,$SS_NOTIFY) ; Oben Links
$Haus3 = GUICtrlCreatePic("Haus1_wiese.bmp", 99, 322, 116, 156,$SS_NOTIFY) ; Unten Links
$Haus4 = GUICtrlCreatePic("Haus1_wiese.bmp", 640, 322, 116, 156,$SS_NOTIFY) ; Unten Rechts
$Baum1 = GUICtrlCreatePic("Baum_wiese.bmp", 272, 216, 108, 124,$SS_NOTIFY) ; Baum 1
$MAP = GUICtrlCreatePic("kulsav.bmp", 0, 0, 850, 600,$SS_BITMAP,$SS_NOTIFY) ; Map
EndFunc
Func _baum1()
GUICtrlDelete($Baum1)
$Baums1 = GUICtrlCreatePic("Baumstamm_wiese.bmp", 296, 304, 52, 36,$SS_NOTIFY,$SS_BITMAP) ; Baumstamm 1
EndFunc