Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,135 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Bullet trace and effect tut #448663
02/16/15 01:58
02/16/15 01:58
Joined: Feb 2010
Posts: 886
Random Offline OP
User
Random  Offline OP
User

Joined: Feb 2010
Posts: 886
Do you guys have any suggestions, hot to create a good looking bullet trace effect?
Like this one:
Sample

And I am looking for an effect tutorial and/or library I can learn from.
Because currently I watch aftereffects tut and try to recreate the effects. Videos like this one:
after effect tut

Regards Random



Re: Bullet trace and effect tut [Re: Random] #448667
02/16/15 09:07
02/16/15 09:07
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Just use a particle tail?

Re: Bullet trace and effect tut [Re: Ch40zzC0d3r] #449860
04/01/15 17:46
04/01/15 17:46
Joined: Apr 2005
Posts: 796
U.S.A. Michigan
exile Offline
User
exile  Offline
User

Joined: Apr 2005
Posts: 796
U.S.A. Michigan
Random,

There are a few different ways you can do it. The most common way would be to move a particle down the trajectory path with the STREAK flag enabled. Another way to do it would be to create a particle(sprite or model), determine its starting point and end point, then stretch the particle image to the length of the distance between those two points. Another way you could do it would be to sort of "mix" the two previously mentioned methods. Essentially you would have the trail start from the projectile, calculate where the projectile is compared to where it was one frame ago, then stretch the trail to the result. Again, there are a few different ways of doing it, could you elaborate more on what you want it to look like? I may be able to help you out if I can get more info.


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