![]() |
Re: Pixel Schneefall :D
Naja, das liegt da dran, das Du nur die Schneeflocke 100 ansteuerst, bzw. das Du alle relevanten Daten in Deinem Array brauchst, zB
Delphi-Quellcode:
Nun kannst Du Dein Array anstatt mit Integer mit TSchneeflocke(n) machen
type
TSchneeflocke=record X:Integer; Y:Integer; Size:Byte; end; TSchneeflocken=Array[0..1280] of TSchneeflocke; Wichtig ist, das Du am Anfang Dein Array initialisierst, das macht man mit [oh] ![]() ![]() Dann kommt noch, das Du schrittweise durch Dein Array gehen mußt und jede Schneeflocke anzusteuern, das machst Du dann mit einer [oh] ![]() Guck immer mal zu Begriffen die Dir genannt werden in die Delphi Hilfe, da sind oftmals nützliche Beispiele, also ran an den Speck :mrgreen: |
Re: Pixel Schneefall :D
naja ich versteh es nicht ganz, aber ich denke ich schlaf da jetzt mal ne nacht drüber und schau mir das morgen mal an, auch wenn ich glaub, dass das nicht funktioniert....
trotzdem danke.... ich bekomm das schon iwie schon hin... gruß toshiba |
Re: Pixel Schneefall :D
is ok mach das :D
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:57 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz