[Plugin] Square with fill and outline

  • 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.

  • Very good. But without webGL it's useless as most games uses it. Maybe ask C2 devs for help.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello Shinkan, can you please re-upload the plugin?

    Thanks

  • Vhael should be working now.

  • Thank you so much :)

    Good Work Shinkan!

    Saved my ass, because i was using your plugin for prototyping some parts of my game :P

  • 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

    localhost/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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)