Merge pull request 'Update README.md' (#1) from TaggedCrew/tagged-gamejolt:master into master

Reviewed-on: entar/tagged-gamejolt#1
This commit is contained in:
entar 2025-09-05 12:11:25 +07:00
commit 8548ccbc85

View File

@ -1,9 +1,10 @@
# GameJolt.lua
# TaggedGamejolt
Provides access to GameJolt's services for Lua-based projects.
Can work outside of LOVE2D but is mainly used for such.
Forked from https://github.com/mbrovko/gamejoltlua/ and refreshed by Entar.
# Projects using gamejolt.lua
[One Bit Arena](http://gamejolt.com/games/one-bit-arena/41484)
[Random Rooms](http://gamejolt.com/games/random-rooms/85035)
# Projects using TaggedGamejolt
[TaggedEngine](https://git.squog.ru/TaggedCrew/TaggedEngine)
# Usage
Put the files from the repo into your app's folder.
@ -11,7 +12,9 @@ Put the files from the repo into your app's folder.
```lua
local GJ = require "gamejolt"
GJ.init(gameID, gameKey)
-- All the GAME credentials are to be put in
-- the gamejolt script
GJ.authUser(username, usertoken)
GJ.openSession()