Could C2 create that shape and blending effect??

Get help using Construct 2

Post » Fri Mar 08, 2013 1:14 pm

Hi guys,

I really believe, that C2 is almost almighty, and if there are some feature leaks now, they could/would be improved in the immediate future!

I've seen the nice effect on that site http://rallyinteractive.com/ , which is HTML5, and I was wondering if C2 could achieve that too. I've tried around for a day without success...

1) I have not found a possibility in C2 to create primitive lines or shapes, which is integrated in HTML5;
2) Is it possible to play with the sprite object form/edge, i.e. round the corners??

Maybe you could have an idea??

CheersXManBG2013-03-08 21:41:11
B
11
S
3
G
3
Posts: 79
Reputation: 3,343

Post » Fri Mar 08, 2013 4:34 pm

Yes it's doable... um I'm not an export on this however.

http://www.scirra.com/forum/flashlight-effect_topic49676.html
Just modify and edit the principles as needed. Don't use black. use a triangle sprite....
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Fri Mar 08, 2013 9:40 pm

Hei, thank you very much.

The Blending settings were the key to success. I realized it partially, but never succeed to set the correct combination. Now it is working sides blending... (sorry for the wild hand-made triangle shape)

CAPX

DEMO

Unfortunately, I'm still missing the possibility in C2 to create and change shapes. In the example site there is a dynamic corner rounding. So far, that the triangle becomes a circle at the end. Maybe I have to draw the frames in another program, export them, and make an animation out of them in C2?!

Is there the possibility to add some raw HTML5 code to the canvas from within C2??

CheersXManBG2013-04-02 09:33:03
B
11
S
3
G
3
Posts: 79
Reputation: 3,343

Post » Fri Mar 08, 2013 9:51 pm

[QUOTE=XManBG]....

Maybe I have to draw the frames in another program, export them, and make an animation out of them in C2?!

....

Cheers[/QUOTE]

That is the way I tried...

my example

I think there is a plugin that allows you to draw direct ("canvas" ? maybe) - but nothing I have ever tried.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
59
S
30
G
34
Posts: 1,194
Reputation: 23,767

Post » Sat Mar 09, 2013 10:30 am

Yes, thank you for the animation example... What program did you use??

Anyway, it would be more efficient to do it procedural, because of the fine dynamic changing of the form, using different shapes etc. Could it be developed as C2 Plug-In if not planed already by the C2 team??
B
11
S
3
G
3
Posts: 79
Reputation: 3,343

Post » Sat Mar 09, 2013 12:04 pm

I used a program called drawplus 4.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
59
S
30
G
34
Posts: 1,194
Reputation: 23,767


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, jeffige, Yahoo [Bot] and 1 guest