[Plugin] Square with fill and outline

Post your completed addons to share with the community

Post » Mon Feb 27, 2012 10:59 pm

Simple plugin to create square/rectangle object (was to lazy to add sprites for simple temporary objects every new project). You can select fill color, outline color and outline size.

Square 1.0

Conditions:
- Is fill color - can't make it to work with color :/
- Is outline color - can't make it to work with color :/
- Is outline size

Actions:
- Set fill color
- Set outline color
- Set outline size

Expressions:
- FillColor - returns current fill color
- OutlineColor - returns current outline color
- OutlineSize - returns current outline size


Square 1.1

- Added: Is overlapping another object
- Added: On collision with another object
// forgot to include that from my earlier version


EDIT: This plugin is not available anymore.
Last edited by shinkan on Sun Jul 05, 2015 3:14 pm, edited 1 time in total.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Tue Feb 28, 2012 7:44 am

Very good. But without webGL it's useless as most games uses it. Maybe ask C2 devs for help.
B
53
S
14
G
10
Posts: 282
Reputation: 7,578

Post » Fri Jun 08, 2012 2:59 pm

Hello Shinkan, can you please re-upload the plugin?

Thanks
B
23
S
5
G
2
Posts: 17
Reputation: 3,521

Post » Fri Jun 08, 2012 5:46 pm

@Vhael should be working now.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Fri Jun 08, 2012 8:31 pm

Thank you so much :)

Good Work Shinkan!

Saved my ass, because i was using your plugin for prototyping some parts of my game :P
B
23
S
5
G
2
Posts: 17
Reputation: 3,521

Post » Thu Nov 15, 2012 4:53 am

I am having difficulty getting the plugin to work. I inserted one of these objects into my layout but now when I run my layout the following error occurs:


Javascript error!
TypeError: ctx is null
http://localhost:50000/Square_plugin.js, line 62 (col undefined)

This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!


I'm pretty new to Javascript so I could use some help
B
6
S
2
G
3
Posts: 5
Reputation: 2,502


Return to Completed Addons

Who is online

Users browsing this forum: edisone, Kcpunk666, twg and 5 guests