

Tennis Physics
Wobbly pixel puppets, one button each, first to five: Tennis Physics is a two-player tennis riot where physics does the rest.
Tennis Physics is a two player tennis game where the racket is a hinged arm rather than a paddle. The build is a Construct 3 project with five layouts, a physics ball, two goals and separate skin and touch handling for each side.
The project is named Tennis Physics and runs at 960 by 540, with five layouts and a loader. One is the match, one is the intro with a play button and the site branding, and the rest are a menu, a result screen and a second variant. A small screen count is normal for a two player sports game: the match is meant to be the whole product.
| Object | Role |
|---|---|
| Player and PlayerBox | The two bodies and their hit boxes |
| Arm and Racket | The hinged arm and its racket |
| Ball | The physics ball |
| Goal1 and Goal2 | The two scoring triggers |
| P1Touch and P2Touch | Touch controls per side |
| P1Wins and HUD2 | The win screen and the in match HUD |
The two goals are separate objects rather than one goal with a side variable. That is why a scoring event can print a different message for each player without an extra check, and why a match can be rebuilt by swapping one goal.
The racket is attached to an arm with a hinge, and the arm rotates rather than the player walking. A hinge plus a rotate input is a very different control model from a moving paddle: the swing arc decides where the ball goes, and the body stays roughly in place.
The object list backs that up with an Action animation, an ActionArm animation and a RotateArm behaviour style naming. A swing is therefore an animation plus a rotation, which is why the timing of the press matters more than the position of the player.
A PlayerBlock object sits between the body and the ball. In a hinged arm game the body still needs a collision shape, and keeping it separate from the box means the ball cannot tunnel through the arm on a fast hit.
The build stores Player as a two, a first server flag and two skin values, one per side. Two skins rather than one shared value means the two arms can be recoloured independently, which is the minimum a local versus game needs to keep the sides readable.
Each side also has its own touch object. In a shared keyboard game that would be redundant, so the touch objects are the sign that this build is meant for one device held between two people: a left touch zone and a right touch zone, each bound to its own arm.
| Value | Meaning |
|---|---|
| Player = 2 | Two player mode is the default |
| First = 1 | Which side serves first |
| p1skin, p2skin | Per side racket colour |
| P1Score, P2Score | Per side score counters |
| Sound | A single audio toggle |
The object list includes a physics behaviour and a solid behaviour on top of the platform one. A ball with physics and goals with solid bodies means a point is scored by a collision rather than by a coordinate check, which is why the bounce off the net and the walls looks continuous.
A hinger object exists beside the arm, and the goal triggers are separate from the goal art. That separation is what lets a goal area be larger than the sprite, so a ball that clips the line still counts.
A timer object and a camera scroll behaviour sit in the object list, so a point can be followed by a short pause before the next serve. That pause is what makes a two player game readable: without it, two quick points look like one.
The build carries a gomarice font, a set of star particles and branding for twoplayergames.org on the intro screen. A star burst on a point is the whole feedback budget: no replay, no slow motion, just particles and a score change.
Two sound files are named: a concrete footstep and a heavy wood impact. Those two cover movement and the ball hitting the racket or the floor, which is why the game can get away with a single audio toggle rather than a mixer.
The intro screen is part of the game rather than a splash: it carries a play button, a link to the host site and a second more games element. A build that puts navigation on the same screen as the play button is built for a portal, which is why the audio toggle is the only setting.
The match length is not a readable constant. Scores are counters with no declared target, so whether a set ends at five, seven or eleven points is decided in the event sheet rather than in a named value.
Ball mass, bounce and arm torque are also compiled into the project’s behaviour properties rather than declared as labels, so the physics tuning cannot be quoted. What is readable is the object set, the five layouts and the per side values.
You rotate a hinged arm to swing the racket at a physics ball. The body stays roughly in place, so timing decides the shot.
Two, on one device. Each side has its own touch zone and its own skin value.
Five plus a loader, covering the match, the intro, a menu and two result variants.
It gives the body its own collision shape, so a fast ball cannot pass through the arm.
By collision with one of two goal objects, which are separate from the goal art so the line can be forgiving.
The counters exist but no target value is readable, so the match length is set in the event sheet.
Construct 3, with physics and solid behaviours on the ball and goals.










