Hey guys, just wanted to share the progress of a Gameplay Framework I’ve been working on in the last few years and that just got released on the Asset Store.
It’s not final yet since I still want to implement multiplayer support, but it’s basically feature complete if you want to use it for a single player game. Although, the API may still change until the v1.0 release.
If you’re familiar with Unreal’s GAS, that’s what this is. You’ll probably recognize it in the inspector of the following screenshot.
If not here is a simple description:
This framework helps you build attributes, effects and abilities that all integrate with each other. Instead of every script changing health or speed directly, everything goes through effects. A burn, a heal, a speed buff, a mana cost, a cooldown, they’re all effects. Since everything goes through the same place, the attributes are always calculated correctly (remove a buff and the value goes back to what it should be) and effects and abilities can react to each other. A shield can block a burn, a stun tag can block abilities, an effect can trigger something when it reaches 3 stacks, that kind of thing.
Most of it is data. Effects, abilities and attribute sets are resources you set up in the Inspector, and for the visuals there are cues, so your gameplay simulation code never has to touch particles or sounds directly. There are ready made handlers for particles, audio, animations, camera shake and hit stop.
For the ability behavior you can write C# or use Statescript, a visual scripting system I made for it. It’s not Blueprints though, it’s based on this GDC talk about how they built the abilities in Overwatch (YouTube: GDC Networking Scripted Weapons and Abilities in ‘Overwatch’ ).
A bit of background: I started this for myself. I wanted a C# “attributes backend” I could use in Godot for my own game, but also in Unity and in a pure C# server like the one we use at work. So the core is an engine agnostic C# library and the Godot plugin is built on top of it. Yea, I took the long path of building tools instead of making games, heh. But I like open source so here it is.
Some things you should know before trying it:
- It’s C# only, no GDScript for now (I want to look into it after networking).
- Since it needs Godot .NET, no web export.
- There’s a learning curve, specially if you’ve never used GAS.
- AI was used to help with docs, tooling, tests and some implementations, it’s disclosed on the store page. The core was mostly written by me, along with at least 1000+ of the unit tests.
It comes with samples: real-time 3D, the same thing rebuilt with Statescript, a turn-based one, and the Quick Start.
Asset Store: Forge Gameplay System - Godot Asset Store
Repo and docs: GitHub - gamesmiths-guild/forge-godot: Unreal GAS-like gameplay framework plugin for Godot (C#). · GitHub
Any feedback is welcome, specially if you’ve built something like this yourself. I’d love to know how you handle this stuff in your games.
