Table Tennis Game

0 favourites
  • 9 posts
From the Asset Store
JBoB Sound Studio Casual SFX "Casual Tennis Sound" Pack contain royalty-free stock sound effects.
  • Table tennis game I am trying to make....Playable demo

    <img src="https://dl.dropbox.com/u/22173473/pingball.png" border="0">

    Unsuprisingly its not finished...but you can try it here-

    Test

    (the ball speed increases after every shot)

    Any feedback welcome.

  • I can hit the ball even if it's on the other player's side :)

  • I can hit the ball even if it's on the other player's side :)

    Whoops

    Thanks for pointing that out...will fix it.

    Regards <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Zero6@

    'I can hit the ball even if it's on the other player's side :)'

    Sorted problem...added speed score at the end.

  • Its very nice now! good job.

    EDIT: Would be nice if you didn't need to click so much :) like using motions to hit the ball instead

  • Its very nice now! good job.

    EDIT: Would be nice if you didn't need to click so much :) like using motions to hit the ball instead

    Thought about going down that road, but it needs the 'click' event to enable groups/ detect collisions/ ball shadows etc.

    Next part is coding events for the player serve....nightmare.

    Thanks for testing.

  • It looks great!

    May I ask any tip of how to make the ball bouncing like it's in 3D world?

    I am curious if there's any formula can get the accurate position and size of moving bouncing ball with possible perspective angles.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Neat proof of concept, although the ball motion physics are a little bit wonky/floaty.

    I'd also suggest that you be able to hit the ball without having to click the mouse.

  • gonzdevour@

    It looks great!

    May I ask any tip of how to make the ball bouncing like it's in 3D world?

    I am curious if there's any formula can get the accurate position and size of moving bouncing ball with possible perspective angles.

    (I will post you an example capx when I get the time)

    KidsOnTheBeat@

    Neat proof of concept, although the ball motion physics are a little bit wonky/floaty.

    (The players initial strike does need tweaking)

    I'd also suggest that you be able to hit the ball without having to click the mouse.

    (It would make it too easy to hit the ball back?)

    ----------------------------------------------------------

    I managed to create the events for the 'computer' serve.

    <img src="https://dl.dropbox.com/u/22173473/servemachine.png" border="0">

    1, Click button A for a random serve(you or computer)

    2, Click button B to test your return serve reflexes.

    The machine will serve a ball at a random speed, that you have to return.

    <img src="https://dl.dropbox.com/u/22173473/reflex.png" border="0">

    Play

    WIP

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)