OddConfection's Recent Forum Activity

  • shukra

    Global variables count towards events. You can see this by creating a new blank project and adding a global variable, the Events counter will go from 0 to 1.

    That would account for the extra events you are seeing.

  • sqiddster

    Congratulations on winning the Best Use of Physics title.

    Will check out the demo, the original game was great.

  • Joannesalfa

    Thanks, seems like a useful addition. I'll check it out.

    I used the 3rd code.

  • DuckfaceNinja

    I'm glad I could help someone else with one of my examples.

  • johnrazor

    Thanks. Downloading now.

    I used the third code.

  • Weleavefossils

    Here is an example of scrolling between two objects in a very simple platformer with two playable characters:

    [attachment=0:6nqbqg5z][/attachment:6nqbqg5z]

    In the example I have an invisible object with the ScrollTo and Pin behaviours, and when I switch between objects to follow I Unpin the ScrollTo object, move it to the new object and then Pin it when it's very close.

  • Ludipe

    Probably a bit late to help, but instead of using the Twitter plug-in you could add a Sprite for the Twitter button and then when it's Touched/Clicked use Browser->Go to url-> "https://twitter.com/intent/tweet?text=" & YourMessageHere

  • docdo1

    Add the GUI to a separate layer and set the layer's parallax to 0,0

    Give each GUI element the Anchor behaviour and set left edge to Window Right and top edge to Window Top

    It should then stay in the same position on screen and work with any aspect ratio.

  • mahdi71

    You could also use anglediff(angle1,angle2) when doing the comparison, which should be ok with negative angles.

    Here's an example

    [attachment=0:casp76qk][/attachment:casp76qk]

    Just drag the blue target around and the turret will follow it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > mahdi71

    >

    > Objects have X and Y values for their position

    >

    > So if you had an object Turret and an object Target, using the expression Shinkan suggested you'd do angle(Turret.X, Target.X, Turret.Y, Target.Y) to get the angle from Turret to Target.

    >

    > You'd then compare this angle to Turret.Angle to see if it was pointing in the right direction.

    >

    actually it should be angle(turret.x,turret.y,target.x,target.y)

    Ok, so angle(Turret.X, Turret.Y, Target.X, Target.Y) as might be case-sensitive

  • mahdi71

    Objects have X and Y values for their position

    So if you had an object Turret and an object Target, using the expression Shinkan suggested you'd do angle(Turret.X, Turret.Y, Target.X, Target.Y) to get the angle from Turret to Target.

    You'd then compare this angle to Turret.Angle to see if it was pointing in the right direction.

  • i am using only my art , ..., as i am able to create it myself.

    Not everyone can create art, so you could consider selling game art packs to raise money to buy the Construct 2 license.

OddConfection's avatar

OddConfection

Member since 26 Jun, 2012

None one is following OddConfection yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies