Fake Circle Object

Post your own tutorials, guides and demos.

Post » Sun May 04, 2008 11:10 pm

Actually, any shape, really.

File is about 500k.
[url:29s4w5ba]http://www.strouperman.com/Special/fakecircleobject.cap[/url:29s4w5ba]
B
3
S
2
G
4
Posts: 310
Reputation: 2,120

Post » Sun May 04, 2008 11:14 pm

Very nice solution, textures pull this off nicely. Kudos for scaling smoothness too!

Hint: Enable 'Force Own Texture' on the circle layer, and add the Erase effect to the green circle. You get just a nicely antialiased black ring which might be useful.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Mon May 05, 2008 2:43 am

That's a useful trick.. And gets around the only major flaw I can see with my implementation. The border goes wonky in the case of complex shapes (think swiss cheese).. But those are not what this was designed for. Force own texture does not, however, allow for especially thick borders.

I just thought of something. Force own texture with lots of layers might create a nice dynamic toon effect. I will play with this idea later.
B
3
S
2
G
4
Posts: 310
Reputation: 2,120

Post » Mon May 05, 2008 1:07 pm

Hey nicely done :)

That's pretty much how I used to do stuff like that in MMF/TGF. Works good, but works even better in Construct :D
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Sun May 11, 2008 1:25 pm

So basically this is just how to make a outline without using the "outline" effect?

Simple but well made. I liked the smooth scaling ;)
B
2
S
2
G
5
Posts: 448
Reputation: 2,546


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest