Taylor

Made for Games

Taylor is a small, free, and open source game engine designed to be easy to use, cross platform, and to boost developer happiness. Being MIT licensed means that every line of code you write, any engine modifications you do, and all the money you earn are all yours!

So head on over and get started!

Supported Platforms

You can currently export your games to Linux, OSX (both Intel and Apple based CPUs), Windows, and the Web using WASM. Web exports are also setup to “just work” with Itch when you upload the generated zip file.

There is work being done to support Android too, so you’ll be able to play your games on phones and tablets.

Downloads

Example

Below is a basic example that will open a window and draw some text, then it will stay until the user either presses ESC or clicks the close button in the title bar.

# Open up a window
Window.open(width: 800, height: 480, title: "Taylor Game")

# Setup audio so we can play sounds
Audio.open

# Get the current monitor frame rate and set our target framerate to match.
Window.target_frame_rate = Monitor.current.refresh_rate

# Define your main method
def main
  Window.draw do
    Window.clear(colour: Colour::RAYWHITE)
    Font.default.draw(
      "Welcome to your first Taylor application!",
      x: 190, y: 200, size: 20, colour: Colour::DARKGRAY
    )
  end
end

# Detect window close button or ESC key
main until Window.close?

Audio.close
Window.close

If you run this you’ll see a window that looks like:

Technology Used

The main technologies used are:

  • C++ is the language used to implement Taylor
  • mruby is used for implementing the scripting language in Taylor
  • raylib is the game framework I have chosen to lean on