Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

sylefeb

2
Posts
1
Topics
1
Followers
A member registered Nov 02, 2019 · View creator page →

Recent community posts

Hello,

In the past I've been successfully using the API when running from the app (HTML5 game), testing for the Itch object existence from javascript as documented:

if (typeof Itch === 'undefined') {  
  console.log('no Itch context');
} else { ... }

This no longer works (I always get 'no itch context', both when running in the app and the itch.io website). I also tried with this sample project (replacing the files in my own project)  https://github.com/fasterthanlime/sample-html-app  and it also does not find the Itch object.

Is there now an additional step to take besides the manifest?

Thank you!

Best regards -