Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,361 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
detect particles #407134
09/07/12 07:18
09/07/12 07:18
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
ist it possible to detect particles by a trace or with event_touch or something like that?

Re: detect particles [Re: GameScore] #407136
09/07/12 07:39
09/07/12 07:39
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Take a look at AUM 100, I've made an example of flamethrower via particles. They can detect objects and decrease their health. I hope it will help you, good luck.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: detect particles [Re: 3run] #407140
09/07/12 08:23
09/07/12 08:23
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
nice example,
but i meant how to detect a particle itself

Re: detect particles [Re: GameScore] #407147
09/07/12 12:41
09/07/12 12:41
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
don't use a particle, use sprites instead...
particles can't have collision


Visit my site: www.masterq32.de
Re: detect particles [Re: MasterQ32] #407156
09/07/12 16:17
09/07/12 16:17
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I guess you cant detect particles themselfs, but tell us what you are trying to archive, maybe we could find a workaround for your situation


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: detect particles [Re: 3run] #407164
09/07/12 19:31
09/07/12 19:31
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
i create some particles and wanna select them with the mouse
like drag and drop
the solution i find for now is to use the distance of the
particle pos.x and the hit.x of a trace

now i calculate wich particle is the closest to the hit.x
with vec_dist, works for now but primitive a bit

Re: detect particles [Re: GameScore] #407177
09/08/12 05:25
09/08/12 05:25
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
hm.. why dont you use sprites instead of particles then? take a look at the samples folder, there should be example that creates same effect with particles and sprites, I guess it will help you


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1