Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Cursor Partikel #305079
01/12/10 20:18
01/12/10 20:18
Joined: Aug 2008
Posts: 32
Y
Yannick Offline OP
Newbie
Yannick  Offline OP
Newbie
Y

Joined: Aug 2008
Posts: 32
Hi! I need particle, who follows my cursor. For now I have made 3d particles on a view. Here is my code:
------------------------------------------------
var prtPos[3];
vec_set(prtPos, vector(mouse_cursor.x, mouse_cursor.y, 1500));
vec_for_screen(prtPos, particles_view);
effect(special_effect, 10, prtPos, nullvector);
--------------------------------------------------
It´s great, but if I make my panel visible (on a negative layer), I can see only my cursor, but not the particles.

Can anyone help me or are 2d particles much better for this effect?


Regards

Re: Cursor Partikel [Re: Yannick] #305131
01/13/10 00:43
01/13/10 00:43
Joined: Aug 2008
Posts: 32
Y
Yannick Offline OP
Newbie
Yannick  Offline OP
Newbie
Y

Joined: Aug 2008
Posts: 32
No one knows, how can I make particles, who follows the cursor over a panel ??

Deutsch:

Niemand weiß, wie man Partikel dem Mauszeiger über einem Hintergrund-Panel folgen lässt ?

Last edited by Yannick; 01/13/10 00:45.
Re: Cursor Partikel [Re: Yannick] #305135
01/13/10 02:53
01/13/10 02:53
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Use 2D particles. You'll have to write panels for each particle, though.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Cursor Partikel [Re: Redeemer] #305137
01/13/10 04:07
01/13/10 04:07
Joined: Aug 2008
Posts: 32
Y
Yannick Offline OP
Newbie
Yannick  Offline OP
Newbie
Y

Joined: Aug 2008
Posts: 32
Hehe... I´ve tested with 2d particles, but I dont know, how I make moves for each particle.

I´ll have to read more particle tutorials. grin


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