[PLUGIN] Canvas

Post your completed addons to share with the community

Post » Thu Aug 20, 2015 4:20 am

I really wonder why such a critical plugin such as "Canvas" is not an integral part of Construct 2! There are so many basic stuff that can only be done using this plugin, that I really feel Scirra should consider integrating this plugin into Construct2..
B
84
S
20
G
3
Posts: 337
Reputation: 7,368

Post » Tue Aug 25, 2015 2:55 pm

Thanks @R0J0hound! That was much easier than what I tried to do :)
B
3
Posts: 2
Reputation: 179

Post » Wed Aug 26, 2015 2:10 pm

Hi,

I wanted to use this plugin for detecting a pixel from video input. How should I go about doing that??

Thanks in advance,
akkthedev

P.S. Good plugin btw
Something big is coming...
To the Windows Store, App Store, Play Store and 14 other app marketplaces near you! :)
B
15
S
2
Posts: 62
Reputation: 856

Post » Wed Aug 26, 2015 4:23 pm

@akkthedev
To detect a pixel you first need to paste that object into the canvas object, then use the canvas.rgbaAt(x,y) expression.
B
87
S
29
G
89
Posts: 5,102
Reputation: 60,190

Post » Fri Aug 28, 2015 2:22 pm

@ROJOhound Thanks!

Also any idea if face detection is possible by pasting the video layer into the canvas.

Akkthedev
Something big is coming...
To the Windows Store, App Store, Play Store and 14 other app marketplaces near you! :)
B
15
S
2
Posts: 62
Reputation: 856

Post » Fri Aug 28, 2015 6:08 pm

@akkthedev
You can access the pixels, but that is the extent this plugin provides. Outside of that you'd have to find other means.
B
87
S
29
G
89
Posts: 5,102
Reputation: 60,190

Post » Sun Aug 30, 2015 2:05 pm

Hello, I cannot download the canvas pluggin, the link is not working, Could anybody help?
I'll appreciate it a lot
B
12
S
2
G
2
Posts: 5
Reputation: 2,394

Post » Sun Aug 30, 2015 2:42 pm

There is a problem with all Dropbox links, which I reckon will be remedied ASAP.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
129
S
29
G
74
Posts: 5,140
Reputation: 52,685

Post » Fri Sep 04, 2015 11:27 pm

This is a fantastic and amazing plugin. I am so grateful for it. Thank you!

I have a feature request... Is it possible to create a snapshot of the canvas object (similar to C2 canvas snapshot, but limited only to this object...) Even better is option to snapshot a specific region (or all) of this canvas object?
B
28
S
8
G
2
Posts: 58
Reputation: 2,586

Post » Sat Sep 05, 2015 6:28 pm

@ethanpil
It already has this feature: Canvas.imageUrl which is the entire canvas. To paste a smaller area, first paste it to a smaller canvas object and save that.
B
87
S
29
G
89
Posts: 5,102
Reputation: 60,190

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: DeXVinogradov, riccicedric, Verstala and 3 guests