Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

using itch nickname in game possible? what about achievements?

A topic by hacknorris created 41 days ago Views: 163 Replies: 4
Viewing posts 1 to 3

i just want to ask if it's even possible to use itch user name (in my case hacknorris) in game IF someone is logged in? wanted to make something like personalization so for example at start a game could for example say "hello {nickname}, nice to meet you"…

also as a feature idea - will there be achievements global on whole itch? same way kongregate, steam or gamejolt have… ( i mean - funny tags with icon, title, color and some description)

I understand that it would be possible using the Itch API, the OAuth part.

https://itch.io/docs/api/overview

As for achievements, it's not possible. Itch doesn't offer any server services to store information, and you need to set everything up yourself, which means it won't be compatible with games from other developers.

but if it uses oauth then it asks for login, yep? and i mean to use simple api, like idk. reading actual COOKIES? LOCALSTORAGE? VARIABLES?

(+1)

As far as I know, neither cookies nor the localstore save the name of the account running the game (at least not the ones you can access):

https://itch.io/t/1330021/how-to-read-user-id-or-email-on-client

also as a feature idea - will there be achievements global on whole itch?

https://itch.io/updates/create-oauth-applications-on-itchio

Not any time soon. Feature was obviously not developed further for easy use since 7 years ago. So it is only used for logging into online services and by some people trying to implement drm.