Sadly, I can not play test or build for windows until the end of the month. The extra week we got means I’m no longer home and only have my Linux box on me.
But looking forward to trying it out once I can, and new builds will follow.
Thank you for the feedback. It might be, atm I know of one bug that stops you from jumping when near a storage link. (you need to open and close the storage dialog to get around that)
The mechanic is that when you start running low on dust you can no longer shoot and if you then fail to jump out or pick up more dust they will steal/harvest the last of it leaving you stranded and unable to jump out.
I found a few points where a slow or bad server response can cause a soft lock as the controller thinks you have no dust. Fixed those and improved the telegraphing of the out-of-dust state but that will not be up until after the jams voting period.
The UI Example that goes with it is set up so that you can follow along with the official getting started guide. (see links below)
In short, you register your development account on Metafab to get your API credentials and then follow along to create players, currencies, items, shops, and so on.
To get the addon into your Godot project just drop the ‘addons/metafab-api’ folder into the root folder of your project. Enable it in the project settings and then reload the project to make sure it sets up the global variable needed to start using the API in other scripts.
Basic usage example that gets all registered players (admin only)
func _on_action_request():
var res = MetaFab.get_players(self, "_on_action_request_result", secret_key_string)
# Error can happen if servers are down or the device is not connected
if res != MetaFabRequest.Ok: print("[%s] Error: %s" % [name, res])
func _on_action_request_result(code: int, result: String):
var json = JSON.parse(result)
# Anything but 200 means something went wrong on the server
if code == 200: print("[%s] Result: %s" % [name, json.result])
else: print("[%s] Code: %s / Error: %s" % [name, code, json.result])
Sadly I do not have time to set up a full tutorial/guide before the jam starts. But feel free to ask if it is not clear and let me know if you run into issues.
Links: