Ich habe folgendes Problem. Ich habe mehere Objekten (Diamanten) die FUnkels sollen, jedoch funktelt immer nur ein diamanten, nähmlich den denn ich zu letzt reingesetzt hab. Ich habe aber schon verschiedene Emitter gemacht aber trozdem tritt dieses Problem auf.
Da ich bei Partikelsystem mit D&D arbeite würd ich mich über eine D&D antwort freuen
hier mal meine D&D code
Information about object: 300_d
Alles anzeigen
Da ich bei Partikelsystem mit D&D arbeite würd ich mich über eine D&D antwort freuen
hier mal meine D&D code
Information about object: 300_d
Quellcode
- Sprite: sprite21
- Solid: false
- Visible: true
- Depth: 0
- Persistent: false
- Parent: <no parent>
- Mask: <same as sprite>
- Destroy Event:
- destroy emitter 0
- destroy the particle system
- Step Event:
- create particle system at drawing depth -20
- create particle type 0 to have shape star or sprite <undefined>, size between 0.05 and 0.2, and increasing with 0
- set the life time for particle type 0 to lie between 10 and 20
- create emitter 0 with shape ellipse of area x-20 - x+20 by y-20 - y+20
- burst 20 particles of type 0 from emitter 0
- Collision Event with object character:
- execute code:
- score+=300
- destroy the instance
- create a small effect of type firework at (x,y+15) of color 16776960 above objects
- create instance of object 300_anzeige_schore at position (x,y)