Da die Tage so langsam wärmer werden und der Sommer näher rückt, hat so mancher wieder Sehnsucht nach Sommer, Sonne, Strand und Meer.
Code
Declare Handle pic, Long x, y, i
Window 400, 450
Mcls 390, 380
StartPaint -1
x = 0
y = 150
UseBrush 1, RGB(130, 200, 229)
Rectangle 0, 0 - 390, 200
UseBrush 1, RGB(255, 255, 0)
Ellipse 200, 50 - 240, 90
WhileLoop 1, 8
For i, 1, 23
DrawIcon "Wasser", x, y
Inc x, 16
EndFor
x = 0
Inc y, 32
EndWhile
x = 0
y = 257
WhileLoop 1, 5
For i, 1, 23
DrawIcon "Sand", x, y
Inc x, 16
EndFor
x = 0
Inc y, 32
EndWhile
UsePen 0, 5, RGB(0, 0, 0)
Line 200, 350 - 300, 350
Line 300, 350 - 320, 300
Line 220, 350 - 220, 370
Line 280, 350 - 280, 370
UsePen 0, 3, RGB(0, 0, 0)
Line 210, 340 - 290, 340
Line 290, 340 - 300, 320
Line 270, 320 - 290, 330
DrawIcon "Gesicht", 280, 290
DrawIcon "Eis", 250, 290
EndPaint
pic = Create("hPic", 0, "&MEMBMP")
DrawPic pic, 0, 0; 0
WaitEnd
Alles anzeigen
Viel Spaß ! 🤩