Page 1 of 1

Make games you'll love with The Affinity Engine <3 <3 <3

Posted: Tue Nov 07, 2017 12:21 pm
by patience
Overview

The Affinity Engine is an open-source, browser-based game engine. It's entirely free: no licensing, no royalties, and no price tag. And since it’s browser-based, its games are de facto cross-platform: PCs, Macs, iPhones, Androids, you name it.

After nearly three years of development, the engine is ready to make games. Or rather, "games you'll love," as I like to put it. This emphasis on love is evident in everything from the project's pink-and-heart branding to the companionable hosts that will guide you through the engine's interactive documentation, which you can find at http://www.affinityengine.org. The documentation also includes an extensive tutorial that'll get you making games within a few hours.

While the engine is currently adept at making interactive fiction and visual novels, it has the potential to do quite a bit more. Rather than locking game designers into a single, monolothic solution, the engine actually consists of dozens of small modules that designers can pick and choose from. Each module adds new functionality to a game, while also exposing a simple, human-readable API that often feels like a theatrical script or screen play. In this way, it attempts to be both easy to use and infinitely extensible.

As the engine continues to mature, more modules are bound to come out, adding genres along the way. If you'd like to create your own modules, that's also an option, though one serious short-coming of the current documentation is that it doesn't go into detail about that yet.

If you're interested, you can follow us on Twitter or contribute on GitHub! We've also got an Itch.io account, because--oh yeah, you can post Affinity Engine games directly into Itch!

Or you can check out the documentation demos!

Features
  • Free, open-source, and browser-based!
  • Complete VN support: text, menus, images, and music/voice/sound effects
  • Advanced Layering: everything on the stage is divided into layers, which you can individually animate for perspective effects
  • Transitions: everything supports animated transitions, from background images to menus to full scenes
  • Text Animation: text is animated and has markup for changing speed, animation, pausing, and more; you can even changing character expressions when the text arrives at a particular point!
  • Data Management: multi-save, load, reset, and rewind
  • i18n: easily manage multiple languages
  • And more:
    • Configurable keyboard and mouse support
    • Full mobile support
    • Multiple style choices, or design your own!
    • Use FontAwesome icons! (Or another icon set of your choosing)
Code Snippet

Code: Select all

export default Scene.extend({
  start: task(function * (script) {
    script.backdrop('bedroom').fadeIn();
    const diy = script.character('diy').fadeIn();
    const ember = script.character('ember').fadeIn();
  
    yield diy._.text("We'd like to welcome you to the Affinity Engine website!");
    yield ember.expression('smiling')._.text("Diy and I will be your tour guides.");
  }
});