gioca72's Forum Posts

  • Check this out:

    Notice how the ball squishes, and stretches? You want to do that with your sprite's animation.

    Set the sprites position with a sine behavior, and use the ABS() so you get an absolute value... this will make it bounce rather than bob up and down.

    You can do the above with a lerp too but i am not in the lerp kind of mood right now. Ashleys Sine behavior is much easier to use.

    Now you just have to add a little to the sprites +X or -X for the actual movement.

    Press rightArrow ----> set Sprite.Position: sprite.x+1

    Press LeftArrow ----> set Sprite.Position: sprite.x-1

    Tweak the 1 for the speed, the 1 means 1 pixel per frame.

    You can post a picture of the event sheet?

  • I do not understand why, the ball bounces but does not move ...... my relase is 212.2 can depend on that?

    thanks for your help is important

  • thank you very much but the ball does not move by clicking the button

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hello to a game I created a bouncing ball continuously, with bullet set: speed 500, gravity 600 , bouce off solids on yes. Now I want to know how to press two buttons to move the ball left and right while bouncing...

    thanks for the answers and sorry for English

  • how do I insert a link in the game to another game of the play store?

    Thank you

  • How can I do to stop the sprite to the first frame and pass it to the second after a collision with another object ?

  • good pc

  • sorry I have not explained , the frame rate is on the pc ..........

  • I use that phone for tests. So in games for mobile advice to use lower resolutions? thanks

  • Thanks GamerGon.The problem is that I do not have physics and large images, except the background using as tiled background. Using a layout of 1280, 720 is too much?

  • sorry but the English use a translator ..........

    I use cordova and I have problems on a lg400. The frame rate is 35-45 fps, cpu 25-35, image memory 27 mb. I would just figure out where I'm wrong ............

  • Hi, someone is willing to tell me how to improve the performance of my game is not very good on smartphones. if someone is willing to send the link capx in private.

    Thanks in advance and sorry for English.

  • Hi.....Exporting with sdk I activate cordova plugin?

  • Hi, I would like to attach capx for help as I do? I can not find the link...........

  • export with SDK fails with the error:

    BUILD FAILED

    /Developer/android-sdk-linux/tools/ant/build.xml:932: The following error occurred while executing this line:

    /Developer/android-sdk-linux/tools/ant/build.xml:950: null returned: 1

    Total time: 18 seconds

    .../cannonball/cordova/node_modules/q/q.js:126

    throw e;

    ^

    Error code 1 for command: ant with args: release,-f,.../cannonball/build.xml

    thanks for the help