How do I have the trail effect work with a hi-speed obj

Get help using Construct 2

Post » Wed Jul 01, 2015 6:22 pm

so I tried the working methods spawning,particles,the works but the obj is way too fast and the trail ends up broken could someone give me a fix
stats
MAX SPEED :2500
ACCELERATION :5000
MAX FALL SPEED :2500

P.S.:Slowing the obj down is no option cuz..................... reasons
B
5
S
1
Posts: 60
Reputation: 495

Post » Wed Jul 01, 2015 8:27 pm

Have you tried increasing the size of the trail maybe?

I don't really understand what's going wrong in your game
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Thu Jul 02, 2015 1:47 am

i'd like to find out the answer to this question also. essentially, when you have an object moving too fast (but just right for your game), creating a trail using the traditional examples on this forum does not work...there is an empty space between the spawned trail sprites. making the trail sprites larger is not the answer because you may want the trail to be thin/small for special effect visual reasons.
B
130
S
40
G
10
Posts: 131
Reputation: 13,420

Post » Thu Jul 02, 2015 2:19 am

It's almost impossible to offer advice without a capx to show what you have actually done. Aside from saying: try something different? How big is the object - width / height v pixels per tick? How far does it travel on screen? Is it a black bullet or is it a glowing plasma ball with sparks? What resolution is your game window? What's the background behind it like? And so on....
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
73
S
19
G
66
Posts: 2,198
Reputation: 42,188

Post » Thu Jul 02, 2015 8:24 am

Message: Ash10500 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
@Colludium

here's an image of it
I can't give a specific background as each level will have a different one
Its not a problem with my comp for sure
let me know if anything else needs specifying

https://www.mediafire.com/?zdm743dfk7o1lws
B
5
S
1
Posts: 60
Reputation: 495

Post » Thu Jul 02, 2015 2:04 pm

I'm assuming you're creating a single trail object per tick. If the moving object travels a distance longer than the size of the trail object, you'll get gaps. To compensate, you need to calculate the distance traveled between ticks, and create multiple trail objects along the movement path.

Example
B
62
S
19
G
8
Posts: 341
Reputation: 12,075


Return to How do I....?

Who is online

Users browsing this forum: ivanski1983, KTML5, Yahoo [Bot] and 3 guests