How do I Pin 2 Objects And Align Properly

Get help using Construct 2

Post » Sat Nov 15, 2014 8:23 pm

I have a 16X16 'PivotBlock' that acts as an anchor to a 'SpikeBall' that has sine behavior. The PivotBlock's origin is at the topleft for 'snapping' purposes (it makes it easier to align with platform blocks) and the SpikeBall's origin is top.

The spikeball moves perfectly except it appears connected at the top of the pivotblock not the center. I've tried adding an imagepoint and events to both but then the spikeball doesn't show up when i run the layout.

Can someone give me some tips or point me in the right direction to accomplish the effect I'm after? Thank you for any help.

https://www.dropbox.com/s/nok649gboku9299/GameExample_03.capx?dl=0
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sat Nov 15, 2014 11:34 pm

Sorry dude - have you a copy of Ease Tween behavior - I don't have it and cannot open the capx....?
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,215
Reputation: 43,852

Post » Sun Nov 16, 2014 12:08 am

I've been trying to create the movements with out the easetween. I thought i uninstalled it but it's still there in the behaviors.

I've taken off the behavior - try this one:

https://www.dropbox.com/s/nok649gboku9299/GameExample_03.capx?dl=0

Also i think i may have gotten the affect i was after. It took a lot of editing the sprite.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: tarek2, Yahoo [Bot] and 20 guests