R0J0hound's Recent Forum Activity

  • The only solution I can think of would be to not use pin and implement something like pin with just events. But that can be tricky as well.

  • Pin locks the position, so you'll probably need to unpin it first, then re-pin after repositioning.

  • I'm probably just explaining it poorly. Here's an example of it if it helps.

    https://dl.dropboxusercontent.com/u/542 ... ottom.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A full rotation is 360 so you could just add 360 to degreesToMove multiple times.

  • The actions are a set position and set size action using the equations I linked to. I'll have to defer to someone else for further discussion or perhaps alternate solutions.

  • "within 60 of 30" would mean 330 to 90, or 60 degrees in each direction from 30. So it probably is easier for you to just use the "is between angles" condition instead.

    I don't understand your last question. The equation is:

    speed = sqrt(2*deceleration*degreesToMove)

    It calculates the speed needed so when using a certain deceleration it will stop after rotating degreesToMove degrees. The speed will be higher for higher values of deceleration and degreesToMove.

  • Only "scale" is used in the set height expression. It's actually the same as if you squished the height with it scaled around the origin. The only thing that changes when you scale from a different point is the object needs to be moved.

  • Off the top my head there is the audio analyzer example bundled with C2. It works with sounds you play from your game. To use it with you mic add the userMedia object to access it, and it then is tied in with the audio plugin. line out/line in aren't accessible as far as I know.

  • adcornaglia

    That bit is already implemented in C2.

  • A global variable would be the easiest. You can get the name from the player with a Textbox object, and then set the global from that. So say you call the global variable "hero", you can then build the text the npc says with an expression like:

    "hey " & hero & " how are you?"

    hero & " , can you get me this stuff?"

    The key thing is "&", which combines values together as text.

  • Using the expressions:

    Sprite.ImagePointX(point)

    Sprite.ImagePointY(point)

    Replace "point" with either the index of the of the image point like 0 for the origin, 1 for the first image point, 2 for the second,... and so on.

    ...or you can use the name of the image point.

  • It's true, events are run top to bottom. However triggers (they have a green arrow to the left) are only run when they are triggered, but if there is more than one of the same trigger they are run top to bottom. Basically you could move the triggers around and the game will run the same as long as they have the same order. "on collision" and the gampad triggers are the exceptions. They are not real triggers, and are run in order with everything else in the event sheet.