Table Tennis Game

Show us your completed creations made in Construct 2

Post » Fri Aug 10, 2012 12:12 am

Table tennis game I am trying to make....Playable demo



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

Test

(the ball speed increases after every shot)

Any feedback welcome.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Fri Aug 10, 2012 1:03 am

I can hit the ball even if it's on the other player's side :)
B
13
S
4
Posts: 117
Reputation: 2,242

Post » Fri Aug 10, 2012 1:55 am

[QUOTE=Zero6] I can hit the ball even if it's on the other player's side :)[/QUOTE]

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

Regards chrisbrobs2012-08-10 01:56:20
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Fri Aug 10, 2012 9:39 am

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

Sorted problem...added speed score at the end.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Fri Aug 10, 2012 10:48 am

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 insteadRory2012-08-10 10:48:51
B
36
S
10
G
6
Posts: 948
Reputation: 11,101

Post » Fri Aug 10, 2012 12:47 pm

[QUOTE=Rory] 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[/QUOTE]

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.chrisbrobs2012-08-10 12:47:29
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Wed Aug 29, 2012 4:53 am

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.
B
106
S
27
G
8
Posts: 209
Reputation: 12,525

Post » Wed Aug 29, 2012 7:24 pm

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.
B
17
S
5
G
3
Posts: 19
Reputation: 3,451

Post » Wed Aug 29, 2012 8:31 pm

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.



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.

Play

WIPchrisbrobs2012-08-29 20:41:40
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298


Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 2 guests