Autor Beitrag
Joachim Knutson
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Mo 29.05.06 12:02 
hi,

ich möchte bei einer kollision von 2 bildern (das eine als image, das andere mit prozedur eigebunden (bitmap)) eine kleine explosion elnblenden.

ich habe schon gefunden wie man ein video einfügen kann, doch dazu braucht man ein panel und ne mediaplayer1 komponente.
ich will aber keine extra box öffnen, sondere nur diese explosion an der kollisionsstelle sehen. (d.h. am besten auch kein hintergrund in der animation haben)

kennt ihr erstmal seiten, wo man solche animationen downloaden kann?
und wie fügt man die dann ein? man müsste doch sicherlich auch oben bei uses eine neue bibliothek öffnen oder? (mpeg geht schon mal nich :D )
LH_Freak
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 385

Win XP
D7 PE, D2k5 Trial
BeitragVerfasst: Mo 29.05.06 12:57 
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mo 29.05.06 13:02 
Also diese Explosionen sind IMHO wunderhübsch:
blenderartists.org/f...m/showthread?t=60971
www.centralsource.com/blender/effects.htm

Du kannst ein TAnimateObjekt nehmen und dort eine AVI reinladen. Das platzierst du dann immer dorthin, wo eine Explosion stattfindet. Problematisch wird es aber bei Transparenz, da darf das AVI nicht komprimiert und ohne Antialieasing sein, sonst franst das aus.

Oder du nimmst ein Bild das die einzelnen Explosionsframes enthält und einen Timer, der wenn er aktiviert wird die einzelnen Frames an die Koordinaten malt(auf den sog. Canvas).

Ansonsten gäbe es noch Fremdkomponeten bei www.torry.net um Transparente GIFs zu benutzen.
Joachim Knutson Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Mo 29.05.06 17:14 
user profile icondigi_c hat folgendes geschrieben:
Ansonsten gäbe es noch Fremdkomponeten bei www.torry.net um Transparente GIFs zu benutzen.


mal ne doofe frage, wo kann man denn da so ne gifs downloaden? ich finde da irgendwie nichts zum downloaden.

und die methode mit transparenten gifs find ich ganz gut. (nur find ich da eben keine)
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Di 30.05.06 08:16 
www.torry.net/quicksearchd.php?String=GIF Wer suchet der findet ;)

Dann bei Download: deine entsprechende Delphi Version aussuchen. Im Project JEDI ist glaube ich auch eine GIF Komponente mit bei...
Joachim Knutson Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 27



BeitragVerfasst: Do 01.06.06 15:05 
user profile icondigi_c hat folgendes geschrieben:
www.torry.net/quicksearchd.php?String=GIF Wer suchet der findet ;)

Dann bei Download: deine entsprechende Delphi Version aussuchen. Im Project JEDI ist glaube ich auch eine GIF Komponente mit bei...


danke.