Caution
Taylor is currently going through a major refactor, see #35 for the current progress.
Website | Cheat Sheet | Documentation | Try it Out Online
Taylor is a game engine I've built using mruby and raylib. I'm trying to build a very simple way for people to get into game development. This is trying to replicate the simplicity of QBasic but with a more of a modern approach.
Check out my tutorial over on the official Taylor website.
If you'd like to see some examples, check them out on the online playground!
Note
Currently there are no instructions for Windows and OSX.
-
Install the build dependencies:
Fedora
$ sudo dnf groupinstall "Development Tools" "Development Libraries"; sudo dnf install ruby
Ubuntu/Debian
$ sudo apt-get install build-essential ruby
-
You should now be able to just run
rake
and wait a few seconds. Once the compilation finalises, the binary will be located ondist/linux/debug/taylor
. -
Optional: if you want the nice command line interface, you'll need to run this script:
$ ./dist/linux/debug/taylor ./cli-tool/cli.rb
Additionally, You may want to add the Taylor executable to your PATH so you can call it from anywhere. You can use the following shell script as a base, it'll also run the CLI for you:
#!/usr/bin/env bash
TAYLOR_PATH=/home/sean/code/taylor/ # Change to where you cloned the repo
"$TAYLOR_PATH/dist/linux/debug/taylor" "$TAYLOR_PATH/cli-tool/cli.rb" "$@"
Save it as taylor
and make it executable (chmod +x taylor
), then add this on the end of your .bashrc
:
export PATH="$HOME/code/taylor:$PATH" # Change the path to where you saved the shell script
To build all the Docker images you can run the following command:
$ bundle exec rake docker:build:all
If you also want to compile the mruby and raylib dependencies yourself there are Docker images for that too, just run:
$ bundle exec rake docker:build:{mruby,raylib}
Taylor is free and open-source, licensed under the MIT license.