Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

So fun! Very customisable, loved the runway at the end! Would love to know how you did the image downloading in Godot, was wondering how to do that.

(+1)

Thank you! Really glad you liked it :)

The image downloading uses the JavaScriptBridge singleton, below is my function, only works on web exports!

func _download_image_as_png(img: Image, filename: String) -> void:
    # Encode PNG -> base64
    var png_bytes: PackedByteArray = img.save_png_to_buffer()
    JavaScriptBridge.download_buffer(png_bytes,filename+".png","image/png")

Thank you so much! This is very helpful!