[Behavior] Pin+

Post your completed addons to share with the community

Post » Thu Jun 01, 2017 6:59 pm

@tonypond , I can't open it since I don't have those plugins installed. But based on the gif, it looks like you are pinning objects to other objects that are also pinned. When you pin an object to another pinned object, you get a delay in the movement- This is a known limitation of how construct2 manages instances. The way to solve it is to only pin your objects to other objects that aren't pinned.
Another possibility is that you're pinning to an object that is using a behavior that causes delays.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Fri Jun 02, 2017 3:09 am

Prominent wrote:@tonypond , I can't open it since I don't have those plugins installed. But based on the gif, it looks like you are pinning objects to other objects that are also pinned. When you pin an object to another pinned object, you get a delay in the movement- This is a known limitation of how construct2 manages instances. The way to solve it is to only pin your objects to other objects that aren't pinned.
Another possibility is that you're pinning to an object that is using a behavior that causes delays.


Thank you Prominent, you are right, i had hands pinned to arms. while arms were pinned to upper body, thank you for your reply, appreciated it. i will disable position pin and add every tick maybe.
B
17
S
5
Posts: 31
Reputation: 1,150

Post » Wed Aug 16, 2017 11:22 am

@Prominent Hey, nice plugin. How does relative pinning works? Also, a lot of the times I want to reposition pinned objects when pinned too object is on screen, like shadow of a jumping charakter. for example, to be re positioned only on y axis, and so on. Is this possible in your plugin, or could you maybe add code that would allow to reposition object by setting its position trough action, without need to unpin and then pinning it again? Cheers
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
91
S
30
G
22
Posts: 1,985
Reputation: 20,149

Post » Tue Sep 12, 2017 4:15 pm

@megatronx , Hi, sorry I've been away from Construct for a few months so I haven't seen your post until now..
It has been a while since I touched the plugin. I think relative pinning pins the object relative to the current offset (it keeps the x,y distances) ..I haven't double checked that though.
That is also a good suggestion for being able to reposition the pin! I'll look into adding that when I get some time. I'm slowly getting back into C2 dev stuff.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Thu Sep 14, 2017 11:43 am

very great work bro
B
21
S
12
G
16
Posts: 6
Reputation: 10,184

Post » Sun Sep 17, 2017 6:42 am

@Prominent Really useful plugin. Thank you! Can you add a relative X and Y pinning option? Right now, using the relative scale changes objects' location.
Last edited by bilgekaan on Sun Sep 17, 2017 5:56 pm, edited 1 time in total.
Image
B
71
S
34
G
39
Posts: 432
Reputation: 24,993

Post » Sun Sep 17, 2017 3:41 pm

bilgekaan wrote:@Prominent Really useful plugin. Thank you! Can you add a relative X and Y pinning option? Right now, when using the relative scale, objects changing their location.


Thanks! So if I understand correctly, if an object is pinned to another object that changes scale(width/height), you want the pinned location to stretch with it?
I'll see what I can do.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Sun Sep 17, 2017 5:56 pm

@Prominent Exactly, thank you!
Image
B
71
S
34
G
39
Posts: 432
Reputation: 24,993

Post » Sat Sep 23, 2017 4:52 pm

This plugin is amazing, thank you!
I only wish I discovered it earlier, it would have saved me many hours of work.
Check out my awesome game Doptrix
B
17
S
9
G
50
Posts: 828
Reputation: 27,965

Post » Sat Sep 23, 2017 7:35 pm

@bilgekaan , I've added a link to new version (r8). If you set the X and Y to "Enable 3", it will position the pin points relative to the scale.
I've also fixed a bug with flipping.
I've also noticed that when mirroring/flipping, it doesn't mirror/flip the object's angle, so I'm thinking of a way to add that option.
Haven't got around to implementing the repositioning pin actions either.

dop2000 wrote:This plugin is amazing, thank you!
I only wish I discovered it earlier, it would have saved me many hours of work.

no problem! glad it is useful.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests