caiorosisca's Recent Forum Activity

  • How exactly is the path to follow, you can use waypoint and lerp to them. if it's a simple sine, there's the sine behaviour which you could try out, try adding more than 1 to see the effects, 1 vertical and 1 horizontal for example

  • How are you stopping the game?

  • I wouldn't use platform behaviour for the blocks.

    Using your example, instead of simulating pressing right for the block, try set position to: Block.X + Player.Platform.Speed

  • I'm not sure it this works in C2, but everytime you add score, I would try a comparison between two values, score%10 and 0, if true add a life. score%10 returns the rest of the equation, so if score is a multiple of 10 it adds a life.

    blackhornet, this solution would end up giving the player, 1 life, then 2, then 3 and so on if he doesn't subtract 10 from score.

    You can also use blackhornet's solution together with a 'hidden score', everytime it reachs 10, add a life and subtract 10 from it.

  • This should guide you

    dl.dropbox.com/u/23551572/C2/trailNoCanvas.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make a boolean switch to activate the event only once.

    Setup a flag and add a check for it together with your Space is pressed/ Space is down event, then activate the flag inside this event. Then when your player touches the ground reactivate the flag.

  • Haven't tested this but you can try.

    Create an object that follows your mouse the whole time. When you click the object you want to throw create a joint between it and the object that follows your mouse, then on button release destroy the joint.

    Should work.

  • Animate in flash, export a png sequence, then import all the frames into a sprite

  • Are all frame's speed correct? Aren't you changing them at the wrong time? When animation change is it starting from beggining or currentFrame?

  • On Every Tick> Add Player.speed *dt to totalDistance.

    From Auto-Runner template. Have a look at it.

  • I'm not sure if I understood what you want. Put all the images you want into a single sprite, set animation speed to 0, set image point to bottom on the whole animation.

    Then spawn your object, set frame to floor(random(0,numberOfImagesYouHave)), set collision to disabled.

    Is that what your are looking for?

  • Add an instance variable to your balls, something like shouldAttract, on your second example, instead of what your are doing, just set shouldAttract to true(or 1), on both balls. Then use your first example to attract them, but also check if ball.shouldAttract is true. Does that work for you?

caiorosisca's avatar

caiorosisca

Member since 20 Jan, 2014

None one is following caiorosisca yet!

Connect with caiorosisca

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies