How do I create a smooth curved line?

Get help using Construct 2

Post » Mon Jul 13, 2015 1:04 pm

@LittleStain Yes, even I had thought of this solution, however, I do not really know how to make them slow down, also because green sprites that move vertically aren't stationary.

The movement of the Enemy I would that be like Sine behavior but that at random moments it changes direction in order to be unpredictable. I tried to recreate it with Bullet behavior but are not similar.
B
17
S
3
Posts: 62
Reputation: 1,054

Post » Mon Jul 13, 2015 1:16 pm

I'm still not sure what it is you are aiming for..

Will the (moving) green squares be visible in the final result or are they only there to interrupt the movement?
How random would you want the movement to be?
If the green squares are only meant to create the movement, it would be easier to create the smooth movement without them..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jul 13, 2015 1:57 pm

Yes, the green squares in the center are just to make the movement more unpredictable and not always the same. At the end they will be transparent so you will not see.

Well, I had thought to put "Every random(1,2) second" I think it is fast enough
B
17
S
3
Posts: 62
Reputation: 1,054

Post » Mon Jul 13, 2015 2:31 pm

Although this is not yet close to what you want I'd thought I'd share:

https://dl.dropboxusercontent.com/u/485 ... ttry1.capx
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jul 13, 2015 2:41 pm

So simple ... compared to trying to change the trajectory of each bullet... I bow to you master @LittleStain lol
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Mon Jul 13, 2015 3:51 pm

MadSpy wrote:I bow to you master @LittleStain lol


lol

hardly a master.. haha
This example is actually a bit messy, but the idea behind it could be a good way to go..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Jul 13, 2015 4:00 pm

you're absolutely right , I think to do things too complicated (as usual) especially since I knew that the sawtooth effect was dependent displacement of the enemy
Image Image
B
22
S
13
G
135
Posts: 871
Reputation: 70,320

Post » Mon Jul 13, 2015 4:15 pm

Exactly, that's what I was looking for, thanks again for saving me one more time :)
B
17
S
3
Posts: 62
Reputation: 1,054

Previous

Return to How do I....?

Who is online

Users browsing this forum: blue visionary, namaewayukidesu and 11 guests