Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
cusor particle #297742
11/09/09 15:42
11/09/09 15:42
Joined: Jun 2009
Posts: 258
behind this enternet window
zeusk Offline OP
Member
zeusk  Offline OP
Member

Joined: Jun 2009
Posts: 258
behind this enternet window
hey guys does anyone know how to make a particle function that follows the cursor arrow?I've tried but every thing i do doesnt work!Thanks

Re: cusor particle [Re: zeusk] #297744
11/09/09 15:51
11/09/09 15:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
look into the Forecast..

they will bring new 2D features with the next update... 2D Particles are inlcuded..

So wait a bit ^^


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: cusor particle [Re: Espér] #297751
11/09/09 16:06
11/09/09 16:06
Joined: Jun 2009
Posts: 258
behind this enternet window
zeusk Offline OP
Member
zeusk  Offline OP
Member

Joined: Jun 2009
Posts: 258
behind this enternet window
so you mean i cant make particles follow the cursor like how you would with a space ship? cry

Re: cusor particle [Re: zeusk] #297764
11/09/09 18:27
11/09/09 18:27
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
You can use vec_for_screen for that.

Re: cusor particle [Re: Widi] #297786
11/09/09 21:55
11/09/09 21:55
Joined: Jun 2009
Posts: 258
behind this enternet window
zeusk Offline OP
Member
zeusk  Offline OP
Member

Joined: Jun 2009
Posts: 258
behind this enternet window
Originally Posted By: Widi
You can use vec_for_screen for that.

i'm new to lite-c how would i do that because i've been tryin to implement the particle code from aum 78 to my cursor some kind of way but i dont know how.

Re: cusor particle [Re: zeusk] #298016
11/11/09 11:26
11/11/09 11:26
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
you define a vector, set it to the mouse x and y and the z to the distance, where the particles will be spawned. then you pass it to the vec_for_screen function and at the last step you use it as the spawn position in effect().

Code:
VECTOR prtPos;
vec_set(prtPos, vector(mouse_cursor.x, mouse_cursor.y, 50));
vec_for_screen(prtPos,. camera);
effect(yourFunc, 123, prtPos, nullvector);



hope this helps =)
Scorpion


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