Skip to content

A RogueBarbarian-like - created as an attempt to follow the famous Python3 Roguelike tutorial using C++ and SDL2 as part of the r/roguelikedev 2018 Tutorial Tuesday Challenge. Project Original: https://github.com/zwilder/Barbarian

License

Notifications You must be signed in to change notification settings

Andres6936/Barbarian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barbarian!

Barbarian Logo

A RogueBarbarian-like - created as an attempt to follow the famous Python3 Roguelike tutorial using C++ and SDL2 as part of the r/roguelikedev 2018 Tutorial Tuesday Challenge.

The master branch has the current ('stable') version of the game, which is currently finished with Part 13 of the tutorial, you can see the source for each part by checking the tags under branches.

I'll be updating the blog with my thoughts and rambles about this project.

Building Barbarian! From Source

So far, the build process has only been tested on Arch Linux. For most flavors of Linux, building should look like this:

  • Make sure you have the SDL2 libraries installed from your package manager
  • Open a terminal window, and navigate to your Downloads directory
  • git clone https://github.com/zwilder/barbarian
  • cd Barbarian
  • make -- Tip: add the -j flag with the number of threads you want to speed up compile time (ie -j4)
  • make clean -- This is optional, but will remove all the random build files cluttering the directory after make

Adding compile instructions for other operating systems will be the first thing I tackle after the 7 week challenge is over.

Playing the Game

  • Move the player with the VI keys, the number pad, or the arrow keys
  • i Inventory: Open your inventory, and then the letter corresponding to the item you wish to use
  • d Drop: Open your inventory, and then the letter corresponding to the item you wish to drop
  • g Get: Pickup an item
  • <shift>+ l Look: Use the movement keys to look around, Enter or Escape to exit look mode
  • F1 Fullscreen mode (may be wonky - again, haven't tested on anything other than Arch Linux)
  • <shift>+q or <ctrl>+q Quit
  • The game saves on quitting. Select Load Game from the main menu to continue!

About

A RogueBarbarian-like - created as an attempt to follow the famous Python3 Roguelike tutorial using C++ and SDL2 as part of the r/roguelikedev 2018 Tutorial Tuesday Challenge. Project Original: https://github.com/zwilder/Barbarian

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published