Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/subsoap/feat
Defold achievement and stat tracking for use with DefSave and DefSteam
https://github.com/subsoap/feat
defold defold-game-engine steam steamworks
Last synced: about 1 month ago
JSON representation
Defold achievement and stat tracking for use with DefSave and DefSteam
- Host: GitHub
- URL: https://github.com/subsoap/feat
- Owner: subsoap
- License: cc0-1.0
- Created: 2018-02-09T13:01:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-28T12:48:44.000Z (over 6 years ago)
- Last Synced: 2024-12-13T02:33:45.775Z (about 2 months ago)
- Topics: defold, defold-game-engine, steam, steamworks
- Language: Lua
- Size: 19.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feat
Defold achievement and stat tracking for use with DefSave and DefSteam## Installation
You can use Feat in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:https://github.com/subsoap/feat/archive/master.zip
Once added, you must require the main Lua module in your scripts via
```
local feat = require("feat.feat")
```You'll then want to add feat functions for init / update / final. See example for usage.
Feat was made to simplify the process of adding stats and achievements to your game with the ability to auto-unlock based on stat progression and auto-unlock and sync on Steam.
You will need to follow DefSteam instructions to properly include Steamworks libs in your project. This uses the testing Spacewar game for the example testing. Use Steam Achievement Manager to reset your Spacewar stats if necessary.
TODO: Add support for iOS/Android native achievements/stats.