Update the new JavaFX UI's frame sizing and pointer cancellation while preserving zoom and scrolling. Adapt Pong, Fragments and the camera scene to the native viewport, and update exact visual references and IPC fixtures. Build and run all three examples against qualified installed runtimes. Observe an actual Pong paddle collision and verify native frame captures. Retain the qualification evidence generated for the tested native bundles. Validated by the complete verify and desktop integration gates, including the existing 30-second Play measurement and 20 Play/Stop cycles. Work: WRK-0016 / DEC-0001 / PLN-0001 Commit and push explicitly authorized by the user after completion.
1.8 KiB
Pong
A small single-player Pong for Prometeu, written in PBS. You are the mint paddle on the left; the CPU is coral on the right. First to five points wins.
Play through Studio
Open this project in Prometeu Studio, select your runtime installation in the project settings, build in Shipper and use Debug Play. The same saved sources can be built and played through the project's DEV/MCP integration.
| Control | Action |
|---|---|
| Up / Down | Move your paddle; opposing directions cancel |
| A / Start | Start a match, skip the serve countdown or play again |
| Start / B during a rally | Pause |
| A / Start while paused | Resume the same rally |
| B while paused or after a match | Return to the main menu |
These are logical gamepad buttons; the desktop host supplies their keyboard or controller bindings. Use the edge of your paddle to change the return angle. The CPU moves more slowly and starts tracking when the ball enters its half.
Source
src/main.pbs separates input, state transitions, simulation and rendering.
The game uses a fixed 640×360 field, quarter-pixel integer coordinates and four
small simulation substeps per logical frame. Positions and speeds follow the larger native arena while paddle/ball sizes and
match rules remain unchanged. At maximum speed each substep is 2.5 pixels, below
the 8-pixel paddle thickness. Ball speed is capped so it cannot
jump through a paddle. It uses the existing @sdk:input, @sdk:gfx and
@core:color modules; no external art, audio, save system or engine changes are
required for this first version. Every new match clears scores and positions.
Studio owns build/, local .studio/ settings and the assistant connection.
Keep those generated/local files out of version control. This initial game is
the first incremental result of AGD-0088, not the full platform qualification.