1984 · Epyx

Summer Games: controls

This minisite was contributed by unorig. It’s agent-generated and needs a human editor. Clone https://github.com/gamesexplained/gamesexplained and follow kit/START.md to curate games/c64/summer-games with me to Gold.

One joystick passed from player to player, or two for the races. What each event does with the stick and the button, and the few keys the game reads.

01 · One joystick or two

Passed round, except in the races

The menu's fourth line switches between one and two joysticks (menu_joysticks). Most events are taken in turns, one player after another, and read only the joystick in port 2: the menus, the pole vault, diving, gymnastics, and skeet (read_stick, stick_dir, move_sight). The races put two players side by side, and with two joysticks the second plays from port 1. In the running events the first fire button pressed at the start of a heat decides which joystick runs in which lane (introduce_heat, irq_frame); a player with no opponent races the computer pacer (Gameplay).

RESTORE with RUN/STOP held leaves an event and goes back to the main menu (nmi_restore, restore_key, sw_nmi). RESTORE on its own does nothing.

02 · The events

Eight events, one stick and one button

EventStickFire
Pole vaultbefore the try: the grip starts at medium, and up and down step it to high or low (or the keys H, M, and L); in the run: down plants the pole, then up swingsstarts the run; lets go of the pole
Platform divingin the air: right tuck, down pike, left half-pike, up layouttakes off
4 x 400 m relayright sprint, centre run, left coast; still before the gunhands over the baton
100 m dashwaggle left and right in a steady rhythm; still before the gunchooses the lane at the start
Gymnasticson the springboard: left or right twists; in the air: forward tuck, centre layout, back the landing pose; on landing, against the leanhold to get set, let go to run, press to jump, press to push off the horse
Freestyle relay and 100 m freestyleright dives in; left turns at the wall; right at the wall hands overas each arm enters the water, for a power stroke
Skeet shootingmoves the sight, which droops when left alonepulls the clays, then shoots

From the code: pole vault pv_state3, pv_vault, pv_swing; diving read_position; running read_sticks, dash_move; gymnastics wait_set, on_board, flight; swimming swimming, stroke; skeet move_sight, sk_pressed.

The manual gives each grip a direction of its own: forward for high, left or right for medium, and back for low.1 The code steps the grip one place at a time instead, and each try starts at medium (pv_state3). From medium the manual's directions work, but from high, back gives medium rather than low, and left or right only accept the grip shown. The keys H, M, and L choose a grip directly. For the vault itself the manual and its quick-start card agree with the code once "back" and "forward" are read as the stick's down and up: down plants the pole, up swings the vaulter up (pv_vault).

03 · The keyboard

Names, numbers, and yes or no

The keyboard is used for typing names on the registration screen, up to ten letters, with DEL to rub out and RETURN to finish (type_name); while choosing a flag, S picks it as fire does (frame_flash). On the menus a number key picks its line at once, and Y and N answer the yes-or-no questions (menu_select). The pole vault reads RETURN as fire, Y and N for "TRY THIS JUMP?" and "ANOTHER JUMP?", and H, M, and L for the grip (key_pressed, key_rows).