How do I make a space warp

Get help using Construct 2

Post » Mon Oct 27, 2014 10:42 am

Hello, it is possible in construct2, to make an effect almost like this http://www.youtube.com/watch?v=v33o5Xg7c2E i mean, stars coming from far? thanks
B
36
S
13
G
7
Posts: 1,648
Reputation: 9,323

Post » Mon Oct 27, 2014 12:54 pm

Should be entirely possible..

It's just a matter of choosing your way to fake the distance..
This would obviously involve scaling (either the sprite or the layer)..

One way would be to "shoot" sprites with the bullet behaviour from the center and scaling them based on distance to the center..
for the trail effect you could spawn sprites with fade out behaviour at the bullet position..
This would create a lot of sprites onscreen though, so you might want to get creative and think of other ways to achieve a similar effect..
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 Oct 27, 2014 2:29 pm

yes you could do it but it will take time doing it
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,276

Post » Mon Oct 27, 2014 3:08 pm

Very simple example..
Not very cpu efficient, though:
You do not have the required permissions to view the files attached to this post.
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 Oct 27, 2014 3:38 pm

LittleStain that's wonderfully done top marks
B
245
S
39
G
15
Posts: 1,946
Reputation: 40,276

Post » Mon Oct 27, 2014 3:56 pm

You can make that also with WebGL http://gameswarp.com/studio/construct-2 ... el-effect/
Luca ConTato [RisingPixel]
Image
B
22
S
8
G
2
Posts: 109
Reputation: 2,893

Post » Mon Oct 27, 2014 5:17 pm

A similar result can be achieved with the following custom webGL effect that can be found here: http://gameswarp.com/studio/construct-2 ... el-effect/

Unfortunately it requires a little hack to the Sprite plugin. I did it for trying purposes and I haven't found any problems so far, but I am not doing any production work right now. Try it with your own risk!

See the result of a test here: http://www.eli0s.com/Tests/Warp/

Download the capx bellow if you wish. As far as I can tell, it's CPU friendly. Remember, you'll need the tunnel effect webgl effect in order to open the capx.

Edit- @tatogame is a ninja but I had to carry the capx with me ;)
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Mon Oct 27, 2014 6:52 pm

héhé :D thanks a lot :D
B
36
S
13
G
7
Posts: 1,648
Reputation: 9,323


Return to How do I....?

Who is online

Users browsing this forum: Allardje, Held, Rudi55, sublimate and 1 guest