Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perigrin/going-rogue-class
A template repository for the Going Rogue class at TPRC 2024
https://github.com/perigrin/going-rogue-class
Last synced: 23 days ago
JSON representation
A template repository for the Going Rogue class at TPRC 2024
- Host: GitHub
- URL: https://github.com/perigrin/going-rogue-class
- Owner: perigrin
- Created: 2024-06-22T20:38:02.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T21:39:58.000Z (about 2 months ago)
- Last Synced: 2024-12-17T14:55:50.124Z (23 days ago)
- Language: Perl
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Going Rogue with Metamodern Perl
## Getting Started
On OSX you need install with homebrew and App::cpm:
```perl
brew install raylib
PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig" cpm install
```On other systems the installation dance is left as a lemma for the reader.
Alien::raylib currently will build an older version of Raylib so you need to
use a system library, or a patched version of Alien::raylib.### Ubuntu
```
# Install perlbrew
curl -L https://install.perlbrew.pl | bash
source ~/perl5/perlbrew/etc/bashrc
# Initialize
perlbrew init
# See what is available
perlbrew available
# Install some Perls
perlbrew install 5.40.0# Switch to perl 5.40.0
perlbrew switch 5.40.0
cpan App::cpanminus# Install Alien::RayLib
sudo apt-get install -y libasound2-dev \
libxcursor-dev libxinerama-dev mesa-common-dev \
libx11-dev libxrandr-dev libxi-dev \
libgl1-mesa-dev libglu1-mesa-dev
git clone https://github.com/perigrin/Alien-raylib5
cd Alien-raylib5
cpanm Alien::raylib # To pull Alien raylib dependences
perl Makefile.PL
make install# Game installatiom
git clone https://github.com/perigrin/going-rogue-class
cd going-rogue-class
cpanm Raylib::FFI
perl bin/game.pl
```