/rpg-cr

2D RPG base game in CrSFML

Primary LanguageCrystalMIT LicenseMIT

RPG

Installation

install SFML 2.5.1

if on a mac, you can use https://github.com/mswieboda/homebrew-sfml for brew install mswieboda/homebrew-sfml/sfml@2.5

shards install

Windows

if compiling/installing from Windows, please follow game_sf windows instructions

Linter

bin/ameba

or

bin/ameba --fix
bin/ameba --gen-config

etc, see ameba

Compiling

Dev / Test

make

or

make test

Release

make release

Packaging

Windows

creates Windows release build, packages and zips

make winpack

you'll need 7z (7zip binary) installed (download)

zips up SFML DLLs, assets, run.bat (basically the .exe) to build/rpg-win.zip

Mac

make macpack

creates Mac OSX release build, packages and zips

you'll need installed:

  • 7zz (7zip binary) via brew install 7zip
  • platypus (Platypus binary) via brew install --cask platypus then in Platypus > Preferences install the command line tool

zips up SFML libs, ext libs, assets, rpg.app (created by Platypus) to build/rpg-mac.zip