Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Animation mit TImage! (https://www.delphipraxis.net/5437-animation-mit-timage.html)

Ag3nt 6. Jun 2003 01:25

So Problem auch gelöst!

Delphi ist ja EaSY :)
gefällt mir :)

Also hier der Code fürs rukelfreie :)

Delphi-Quellcode:
procedure TForm1.Timer1Timer(Sender: TObject);
begin


        Image1.Picture.LoadFromFile ('pics/1_'+IntToStr(temp)+'.bmp');
        Paintbox1.Canvas.Draw(0,0,Image1.Picture.Graphic);
        inc(temp);
        if temp = 4 then temp := 1;



end;

procedure TForm1.FormCreate(Sender: TObject);
begin
temp:= 1;
end;

end.
Man muß einfach das Pic in einem Image laden und dann in eine Paintbox kopieren uns schon gehts :)

Ag3nt 6. Jun 2003 01:27

Wichtig dabei ist das dann das Image auf Visiab... auf False ist sonst sieht man es doppelt :)

Mat 6. Jun 2003 02:29

wenn dein problem geloest ist, brauch ich mich ja nich durch die kaefer-animation fummeln.. *puh* hab ja auch noch nich soviel delphi ahnung



Mat

Ag3nt 6. Jun 2003 10:33

Zitat:

Zitat von Mat
wenn dein problem geloest ist, brauch ich mich ja nich durch die kaefer-animation fummeln.. *puh* hab ja auch noch nich soviel delphi ahnung



Mat

ich erlich gesagt auch noch nicht :)

Danke nochmals :firejump:

Ag3nt 6. Jun 2003 10:35

Hier für Tamagotchi Fans ein JavaScript Tamagotchi sieht nur doof aus :)

http://www.engsoc.carleton.ca/~derid...i/newtama.html

Spoon 12. Jun 2003 13:27

Eine ganz andere variante:

Wenn du Flash beherrschst kannst du einfach kleine Flash animationen nehmen und in einer WebBrowser Kompo anzeigen... wie gesagt falls du flash beherrschst ;)

Die sind dann alle flackerfrei und leicht zu erstellen :bounce1:


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:57 Uhr.
Seite 3 von 3     123   

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