Skip to content

Repository files navigation

panel-pop

A Panel de Pon / Tetris Attack / Puzzle League clone made with C++ and SDL

Gameplay video

screenshot

Features:

  • Original-like mechanincs modeled after SNES version
  • Additional visual gameplay tweaks
  • Single player endless mode
  • Simple AI
  • Two-player VS game with garbage blocks

Controls

Default gameplay and menu keys:

  • Arrow keys - move cursor
  • X - accept/swap blocks
  • Z - cancel/raise stack
  • Esc - pause/start

Misc:

  • Ctrl+F - toggle fps diplay
  • Alt+Return - toggle fullscreen

How to configure gamepads

Plug in gamepads before launching the game. Controls can be configured individually for P1/P2 in the options menu. The default keyboard controls will always work in the menus.

How to build

Dependencies

  • cmake
  • SDL2
  • SDL2_image
  • SDL2_ttf
  • SDL2_mixer
  • boost

Linux

  1. cmake .
  2. make

You can run the resulting panel-pop binary straight from the source tree (it finds assets/ and reads/writes panelpop.ini in the current directory).

To install system-wide:

cmake -B build -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
sudo cmake --install build

This installs the assets under /usr/share/panel-pop, a desktop entry and an icon. When installed, the config file lives in $XDG_CONFIG_HOME/panel-pop (typically ~/.config/panel-pop/panelpop.ini); a panelpop.ini in the working directory still takes precedence if present.

Arch Linux

The panel-pop-git package is maintained in a separate repository:

git clone https://github.com/a544jh/panel-pop-git.git
cd panel-pop-git
makepkg -si

It is not on the AUR yet.

MacOS

  1. cmake
  2. make

Windows (MinGW)

Install https://nuwen.net/mingw.htm and then overwrite/copy ALL files from each SDL dependency's 64-bit MinGW development distribution's lib and include folders into the MinGW installation's respective folders.

  1. cmake -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND"
  2. make

Third-party assets

panel-pop is MIT licensed, but the two bundled fonts are not covered by that grant. Press Start 2P is under the SIL Open Font License; Square Sans Serif 7 is distributed as "Freeware". See THIRD-PARTY.md before redistributing.

About

Panel de Pon / Tetris Attack / Puzzle League clone

Topics

Resources

Stars

45 stars

Watchers

8 watching

Forks

Releases

Packages

Contributors

Languages