This is my worm game in SDL3, which is a remake of the classic copter / worm game with multiple gameplay modes

Mouse Controls

ButtonAction
LEFT Start GAME when pressed in upper & middle part, Repeadetly tap to move Worm. If pressed on level increases level, if pressed on score increases game mode
RIGHT Select Game Mode on Titlescreen when pressed in upper & middle part. If pressed on level increases level by 15, if pressed on score increases game mode

Controls Keyboard

KeyAction
A/SPACE Start GAME, Repeadetly tap to move Worm
LEFT/RIGHT Select Game Mode on Titlescreen
UP/DOWN Select Seed, increases by 1
PAGEUP/DOWN Select Seed, increases by 10
R Reset scores
F/ATL+ENTER Switch to fullscreen

Controls XBox Controller

ButtonAction
A Start GAME, Repeadetly tap to move Worm
LEFT/RIGHT Select Game Mode on Titlescreen
UP/DOWN Select Seed, increases by 1
L/B Select Seed, increases by 10
START Reset scores
Y Switch to fullscreen

Aim of the game

Repeadetly Press / hold A button to move the worm around, dont hit obstacles and walls, try to gain highest score.

High Scores

High Scores are only saved for levels 1 to 99 per game mode. If you select rnd2 levels, it will also select levels randomly higher than 99 but those all share a common highscore. If you want to compete with friends select a level manually to compare scores.

Seed System

The game has a seed system, you can choose a number between 1 and 99 for the seed. Selecting Rnd1 will select random levels between 1 and 99 on every (re)start, where highscore is saved for them. Rnd2 will also select random levels higher than 99 but it will use a common highscore for these levels. This is similar to how it was initially implemented in the previous version. It allows you to play random levels different from the fixed 99 ones.

Game Modes

There are 5 Game modes to play on, each with their own specifics

Mode A

  • decreasing space for the worm to move in
  • 5 obstacles
  • Constant slower speed

Mode B

  • Fixed space for the worm to move in
  • No obstacles
  • Increasing speed

Mode C

  • Fixed space for the worm to move in
  • 2 obstacles
  • Increasing speed

Mode D

  • Decreasing space for the worm to move in
  • No obstacles
  • Increasing speed

Mode E

  • Pacman mode: Collect the yellow squares, missing one is game over
  • Fixed space for the worm to move in
  • No obstacles
  • Constant slower speed

Credits

The game was made possible after watching this youtube movie: https://www.youtube.com/watch?v=W-3okcjOFnY

License

  • License of my part of game's code is MIT

History

V1.2

  • Fixed 99 levels so people can play same levels
  • RND1 (random level between level 1 & 99)
  • RND2 (random level but higher than 99 also this is how version 1.0 worked)
  • Highscores for first 99 levels per game mode
  • global, shared highscore for levels > 99, this is how version 1.0 worked
  • Fixed tunnel gaps appearing, removed addition of tunnelspeed when creating new tunnelsections, all tunnel sections adhere to tunnelsectionwidth
  • UP/DOWN increases / Decreases level by 1
  • L/R increases / decreases level by 10
  • Better collision checking, it now checks also on intersections instead of player being fully inside somewhere (like a wall, obstacle, or collectable)
  • Obstaclewidth increased from 10 to 12 to make sure we can't fly through it
  • Speed optimazations (not that they were required)
  • Renamed "Seed" to "Lvl" to make it more clear
  • Can increase game mode by left clicking on score as well (handy for phones)

V1.1

  • Fixed bug where using same seed and same game mode on different platforms did not produce same levels
  • Added Fullscreen switching with F or ALT + ENTER
  • Added code to prevent accidental (re)starts of a game
  • Web version will now scale to document size, making it able to run fullscreen as well as on different mobile phones
  • Added macos-26 build
  • Added macos-15-intel build

Download

Download
Worm-windows-latest_x86_64.zip 3.5 MB
Download
Worm-windows-latest_i686.zip 3.3 MB
Download
Worm-ubuntu-24.04_x64.zip 3.1 MB
Download
Worm-ubuntu-24.04-arm_arm64.zip 3 MB
Download
Worm-ubuntu-22.04_x64.zip 3.1 MB
Download
Worm-ubuntu-22.04-arm_arm64.zip 3 MB
Download
Worm-macos-26_arm64.zip 2.5 MB
Download
Worm-macos-15_arm64.zip 2.5 MB
Download
Worm-macos-15-intel_x64.zip 2.5 MB
Download
Worm-macos-14_arm64.zip 2.5 MB
Download
Worm-macos-13_intel.zip 2.6 MB

Development log

Leave a comment

Log in with itch.io to leave a comment.