This is my entry for Ludum Dare 52 (Harvest).

Tap to kill plants. If a seed drops, you can tab over to the planters to plant it. When it expires, you will automatically harvest ingredients which can be used for battle upgrades.

StatusIn development
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorFalkreon
TagsCasual, Gardening, Idle, Incremental, Ludum Dare 52
LinksLudum Dare

Development log

Comments

Log in with itch.io to leave a comment.

fun!

Had almost the same issue. I see a background and a name with the upgrades instead of black, but no plant and tapping does nothing.

Got a couple errors in the log:

Access to fetch at 'https://static.itch.io/game.css?1672690517' from origin 'https://falkreon.itch.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

And a second one for /redactor.css


Along with a couple errors that cascaded from being unable to fetch those resources.

Finally, not sure if these are linked to the first error, but:

Uncaught TypeError: Cannot use 'in' operator to search for 'unlocks' in undefined

    at load (index.html:423:22)

    at tick (index.html:454:5)

    at frame (index.html:478:6)

adventure.js:152 Uncaught TypeError: Cannot read properties of undefined (reading 'attack_cooldown')

    at attack (adventure.js:152:18)

    at HTMLCanvasElement.onclick (index.html:225:155)

adventure.js:229 Uncaught TypeError: Cannot read properties of undefined (reading 'upgrade_levels')

    at upgrade_adventure (adventure.js:229:21)

    at HTMLDivElement.onclick (index.html:1:1)

adventure.js:152 Uncaught TypeError: Cannot read properties of undefined (reading 'attack_cooldown')

    at attack (adventure.js:152:18)

    at HTMLCanvasElement.onclick (index.html:225:155)

CORS errors and redactor errors are from itch.io itself, I've seen those ones and unfortunately I'm unable to do anything about it. Luckily those don't affect the game's operation in any way.

The searches for 'unlocks' and 'attack_cooldown' in undefined are attempts to find the player, which is interesting since they're defined earlier in the same file. I kick off the tick and animation loop from onLoad so that race condition shouldn't happen, but that's programming for you!

The one cause I can think of is broken save data. If you're using firefox, in the "Storage" tab, under "LocalStorage", you'll see a line item for the cdn, and the save is kept under "save" in there. Deleting that and reloading the page will sweep away the old data and give you a fresh start. I'll put in some more defensive code too in case we see this again.

Just loaded the game again without changing anything and it works... No idea if anything server/actual client side changed, but I didn't even clear a cache file or anything.

I added a bugfix to avoid loading the game if required keys are missing like in your case, and instead go with the default data. This will also fix the broken data when it saves. Glad it worked!

I get a black screen. I can see the upgrades. Can't do anything.

Can you bring up browser console and let me know if any errors pop?