2d animated planet proof of concept

Show us your completed creations made in Construct 2

Post » Sat Oct 04, 2014 9:34 pm

Someone in the forum asked for an animated 2d planet technique in Construct, which might be of interest to others as well, so I am posting it here as an example.

Here is the live version:
http://estructor.altervista.org/animated_2d_planet_concept/

The trick is very simple: mask out the cloud and planet textures with a circle using the blend effects. Please check the capx file how I achieved it. It's pretty much one big fake.

I created all the effect maps in Photoline.

The planet resides on its own layer which I rotate and zoom out - but you could also use the pin behaviour to control the planet's position, for example.

You also need the Lite Tween behaviour installed for this example to work (although I could have applied the bullet behaviour as well).
behavior-litetween_t70700

Capx:
http://estructor.altervista.org/animated_2d_planet_concept/planet.capx

The current version does not seamlessly repeat either the clouds or the planet texture, so after a while the illusion is shattered ;-) It should take relatively small effort to have those repeat. This effect is imperfect: it would be nice if we had access to a filter that would bulge the planet as a sphere.

If others here know additional tricks and techniques to improve upon my simple version, feel free to add your own approach to this thread. Maybe we can create the "perfect planet" in Construct :D

To create and render your own custom planet maps, check out the following links:

Planet creator that outputs all the maps you need:
http://www.blitzbasic.com/Community/pos ... opic=97336

Good solar system planet maps:
http://planetpixelemporium.com/planets.html
Win7 64- i7 [email protected], p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
30
S
10
G
8
Posts: 170
Reputation: 7,074

Post » Sun Oct 26, 2014 2:00 am

It's AWESOME!
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
92
S
30
G
22
Posts: 1,987
Reputation: 20,178

Post » Sun Oct 26, 2014 6:02 am

Interesting!
B
159
S
27
G
17
Posts: 916
Reputation: 32,668

Post » Sun Oct 26, 2014 4:16 pm

I cant find "Black to alpha" effect on the forums. Could you share a link please?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
92
S
30
G
22
Posts: 1,987
Reputation: 20,178

Post » Wed Oct 29, 2014 12:02 am

Really creative, I didn't even know this was possible to do!
B
17
S
4
G
4
Posts: 59
Reputation: 3,121

Post » Wed Oct 29, 2014 2:00 pm

excellent work
Image
B
54
S
12
G
2
Posts: 259
Reputation: 5,066

Post » Fri Oct 31, 2014 8:21 pm

Great work :D
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sat Nov 01, 2014 12:12 am

Wow. I'm impressed. Thanks for the capx. I'm so putting this into a project of mine. that's amazing.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Sat Nov 01, 2014 6:08 am

Hey, I actually got some responses! Thanks for the kind words - it really is just a big fake. The clouds at the top and bottom, and the shadow hide the flat texture pretty well, and it creates a good illusion of a sphere. I think the illusion would shatter without those clouds, though.

Ideally we would be able to wrap the textures around a sphere with a shader. I found this one online:
http://z0b.kapsi.fi/webgl-sphere.html

That effect does NOT rely on a 3d sphere, and would be perfect to apply the wrap-around for the textures in my example. I have been looking into the shaders, and it should not take too much of an effort to convert it to a Construct version.

If only I had the time... Perhaps later.
Win7 64- i7 [email protected], p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
30
S
10
G
8
Posts: 170
Reputation: 7,074

Post » Fri Jul 15, 2016 6:10 am

Would be interested to see this. Any chance someone could share the capx?
My Games on google play

ImageImage
B
33
S
7
G
4
Posts: 100
Reputation: 3,405

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 4 guests