Plugins & Behaviors in development

Post your work in progress addons and get feedback

Post » Thu Jun 14, 2012 8:16 am

[QUOTE=rexrainbow] @00Rez

Does worksheet plugin match (or similar) this requirement?[/QUOTE]

Yeah thanks rex. Thought I'd seen something related. Can the worksheet call during the timer rather than when it finishes? Would it be worth making a behavior of mine? I've got it down just need to refine it. What do you think?
B
21
S
7
G
2
Posts: 185
Reputation: 3,280

Post » Thu Jun 14, 2012 11:45 am

@00Rez

Sure, you can modify it for any purpose.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sat Jun 16, 2012 8:41 pm

Would be nice to have a noise plug in.
Just saying.:)

A javascript example
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Wed Oct 10, 2012 6:45 am

I would be very interested in a Wacom Javascript API plugin that adds Wacom tablet pressure support to Construct if anyone is up for the challenge.

I'm not sure how difficult such a plugin would be to make for Construct so I'm just throwing it out there.

Here's the html5 App on deviantArt that supports it http://muro.deviantart.com/

Another demo of pressure support.

Wacom Tablet Plugin Developer Page

Some more info

Thanks guys let me know what you think.
B
31
S
6
G
7
Posts: 140
Reputation: 5,983

Post » Mon Dec 10, 2012 8:05 am

I'm developing a new sprite bank plugin recently. It's very interesting.
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Sun Jan 13, 2013 1:35 pm

I'm currently working on a Polygon plugin. You basically feed it some vertices (in the proper order) in local space and then draw.
It also handles collisions.

What I have done so far:
Condition:              
- Is overlapping another object
- Is overlapping at offset
- Collisions enabled
- On Drawn
- Compare area

Actions
- Add Vertex (x,y) \\ in local space
- Log Vertex List \\ outputs the vertex list in the js consol
- Draw Polygon (fillColor,lineWidth,lineColor) \\ every change in vertex list needs a draw call to be seen
- Move Vertex (index,x,y)
- Remove Vertex (index)
- Clear Polygon \\ empty the vertex list and erase the poly)
- Load (JSON)
- Download (JSON)

Expression
- VertexX(index) (in world space)
- VertexY(index) (in world space)
- VertexCount
- Area
- LocalVertexX(index) (the original values entered in Add Vertex)
- LocalVertexY(index) (the original values entered in Add Vertex)
- asJSON

Basically everything in this list is done and I'm already using it for a project so I can thorouoghly test it.

Also it might not be super easy to work with since I'm mixing local and world space. But that's what I found the most practical.
You create vertices relative to the position of the object so you can feed the same vertex list to other instances an have the same shape drawn.
And you retrive the vertex position in world space so you can "pin" some objects to them or do some calculations.
You can copy polygons using either the LocalVertex expressions or Get as JSON -> Load

I don't support textured polygon for now at least... If it's not too hard to implement and if it doesn't make the plugin too complex I might.

I think I'll be releasing it this month so we'll be able to talk about it in its own topic =)Yann2013-01-13 13:38:18
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sun Jan 13, 2013 3:55 pm

I put my TODO list of my plugins in here. Uh, might be a little long...
B
97
S
22
G
176
Posts: 4,108
Reputation: 103,019

Post » Thu Jan 17, 2013 8:35 am

[QUOTE=Yann] I'm currently working on a Polygon plugin. You basically feed it some vertices (in the proper order) in local space and then draw.
It also handles collisions.

What I have done so far:
Condition:              
- Is overlapping another object
- Is overlapping at offset
- Collisions enabled
- On Drawn
- Compare area

Actions
- Add Vertex (x,y) \\ in local space
- Log Vertex List \\ outputs the vertex list in the js consol
- Draw Polygon (fillColor,lineWidth,lineColor) \\ every change in vertex list needs a draw call to be seen
- Move Vertex (index,x,y)
- Remove Vertex (index)
- Clear Polygon \\ empty the vertex list and erase the poly)
- Load (JSON)
- Download (JSON)

Expression
- VertexX(index) (in world space)
- VertexY(index) (in world space)
- VertexCount
- Area
- LocalVertexX(index) (the original values entered in Add Vertex)
- LocalVertexY(index) (the original values entered in Add Vertex)
- asJSON

Basically everything in this list is done and I'm already using it for a project so I can thorouoghly test it.

Also it might not be super easy to work with since I'm mixing local and world space. But that's what I found the most practical.
You create vertices relative to the position of the object so you can feed the same vertex list to other instances an have the same shape drawn.
And you retrive the vertex position in world space so you can "pin" some objects to them or do some calculations.
You can copy polygons using either the LocalVertex expressions or Get as JSON -> Load

I don't support textured polygon for now at least... If it's not too hard to implement and if it doesn't make the plugin too complex I might.

I think I'll be releasing it this month so we'll be able to talk about it in its own topic =)[/QUOTE]


@Yann it looks interesing! Isn't based from Rojohound's canvas plugin?
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Thu Jan 17, 2013 3:10 pm

@Joannesalfa
The drawing part ressemble the draw line and fill action. But it's simplified since you don't have to do the beginPath, moveTo and lineTo, endPath, fillPath, strokePath etc
you just have to do a serie of Add Vertex action followed by a draw Polygon action where you specify the fill color and line width/color.
Everything else is handled under the hood.
And since you give the vertices in local space, you can more or less dynamically position the origin. And also the collision polygon is automatically created to fit your polygon.
So yes... ressemble canvas plugin but way more specialized toward polygons.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Fri Jan 25, 2013 12:48 am

[QUOTE=rexrainbow] I put my TODO list of my plugins in here. Uh, might be a little long...[/QUOTE]
That plugin for Pomelo (which I'm discovering btw) sounds exciting ^^
B
20
S
5
G
8
Posts: 325
Reputation: 6,473

PreviousNext

Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests