x = x + distance * cos(angle) y = y + distance * sin(angle)
---
http://www.mathsisfun.com/sine-cosine-tangent.html
<img src="http://www.mathsisfun.com/images/adjacent-opposite-hypotenuse.gif" border="0">
Sine Function: sin(?) = Opposite / Hypotenuse Cosine Function: cos(?) = Adjacent / Hypotenuse
Sine Function (to find Opposite side):
=> sin(?) = Opposite / Hypotenuse
=> Opposite = Hypotenuse * sin(?)
=> y amount = distance * sin(angle)
Cosine Function (to find Adjacent side):
=> cos(?) = Adjacent / Hypotenuse
=> Adjacent = Hypotenuse * cos(?)
=> x amount = distance * cos(angle)
The start page gets disabled when C2 crashes and you can't turn it back on unless you have a licence (or edit the registry).
I think you just want to set the arm angle to the thumbstick angle. Though I also had to rotate the arm and sword 90 degrees clockwise so that they are facing right (towards 0 degrees).
https://dl.dropboxusercontent.com/u/8367729/construct/example/25-MAY-13%2520-%2520Changed%2520to%2520virtual%2520joystick_edit.capx
You can disable solids. Hide layer 1 -> pick solid objects on layer 1 (with the 'is on layer' condition) -> set disabled.
Develop games in your browser. Powerful, performant & highly capable.
Sorry I missed your reply. Check the collision polygon of the Level sprites.
You can also put your unused objects on a different unused layout.
You do not have permission to view this post
Yeah it works as expected in Firefox for me but in Chrome you can put the mouse pointer in-between two blocks and it's not overlapping.
Can't see anything wrong in the screenshot.
No it doesn't reset. It's based on the game timer that starts when the game starts.
Just add the variable to the family and then select each object and set it's value.
Did you fix it? It works for me.
Member since 17 Apr, 2012