codejoy's Recent Forum Activity

  • I have a physics based sprite that is moving around according to the direction its pointing and the impulse applied (currently I guess my sprite isn't rectangle so the impulse applied makes the sprite start rotating.

    not only that, i want to have the sprite bounce off the walls when it htis the boundary. Currently I did ad the Bound by behavior to the object...and it does stop the sprite but doesn't reflect it back...

    I am guessing there is a better way to do this?

  • bumping this cause I am not sure where to go from here.

  • Or is there another way to utilize the center of mass?

  • This is what I found

    Apply Physics impulse 2 at angle Angle(0,0, Ship.Physics.CenterOfMassY, Ship.Physics.CenterOfMassX) at image point 0.

    The result though are not quite what i was hoping for.

  • Not sure how to do this in construct speak. I thought maybe I wanted to apply the impulse force not to the Ship.Angle but to the angle created by the center of mass:

    Angle(0,0, CenterOfMassY, CenterOfMassX)

    this didn't seem to be right...

  • I have this ship i have impulsing around the world..it works good but every impulse starts the ship rotating... this is what I have:

    Apply Physics impulse 2 at angle Ship.Angle at image point 0.

    So image point 0 is center of ship, i can jet int he right direction but it starts spinning the ship when I do. I can set the Ship physics behavior Prevent Rotation to Yes. This stops the impulse behavior but it is my understanding it will stop it from rotating when being struck as well...is there another way to make the impulse not cause the ship to rotate but other than that let it rotate as normal?

    Oh keyboard on space released does the above Impulse Command

    and

    Left arrow down Rotate 5 degrees counter-clockwise

    right arrow down rotate 5 degrees clockwise.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am looking for construct2 games that are basically platformers on arcade or elsewhere that are reasonably advanced. I am looking to see good examples of what construct can accomplish. Examples beyond the simplisic demos easily found here. Just trying to get a feel if construct will handle the game we are designing. So links to complex games namely platformers?

    Just curious if any on knows of some great examples even if they are works in progress

codejoy's avatar

codejoy

Member since 27 Feb, 2012

None one is following codejoy yet!

Connect with codejoy

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies