fog_of_war

Version, currently master branch1 version
  • master branchlatestOct 5, 2024

github.com/mswieboda/fog-of-war

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  fog_of_war:
    github: mswieboda/fog-of-war
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.12.1
License
MIT
Author
Matt Swieboda
Target
  • fog_of_war from src/fog_of_war.cr

Dependencies

Runtime Dependencies

  • game_sf0.17.0github: mswieboda/game_sf

Development Dependencies

  • ameba*github: crystal-ameba/amebadev

README

fog of war

Installation

install SFML

shards install

Windows

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

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/fog_of_war-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, fog_of_war.app (created by Platypus) to build/fog_of_war-mac.zip

Tools

Linting

bin/ameba

to autofix:

bin/ameba --fix