Skip to content

C++, CMake, SDL2 shooter minigame for The Tao of tmux and Terminal Tricks

License

Notifications You must be signed in to change notification settings

tony/tot-cpp-shmup

Repository files navigation

Tony's C++ Mini Game

C++ + CMake + SDL2 shooter minigame for The Tao of tmux and Terminal Tricks

Features

  • Makefile with file watching functionality from the book

    • make debug - generate game with debug symbols for lldb

    • make watch_debug - rebuild debug application on code file change

    • make build - generate game app

    • make watch_build - rebuild build application on code file change

    • make run - open game

      screenshot

  • Load project with tmuxp via $ tmuxp load . in the project directory. See .tmuxp.yaml

    screenshot

Dependencies

Clone with

git clone --recursive https://github.com/tony/tot-cpp-shmup.git

If you forgot to type --recursive download submodules with:

git submodule update --init --recursive

MacOS

$ make install_osx_deps

or

$ brew install cmake ninja sdl2 sdl2_image sdl2_ttf entr

Linux

Debian / Ubuntu / Mint: $ sudo apt-get install ninja-build cmake libsdl2-dev entr

Building

$ make debug

Running

$ make run

About

C++, CMake, SDL2 shooter minigame for The Tao of tmux and Terminal Tricks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages