Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

NetworkTextureRect

An asset by tattomoosa
The page banner background of a mountain and forest
NetworkTextureRect thumbnail image
NetworkTextureRect thumbnail image
NetworkTextureRect hero image

Quick Information

0 ratings
NetworkTextureRect icon image
tattomoosa
NetworkTextureRect

Dead simple network images

Supported Engine Version
4.3
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL



NetworkTextureRect
Dead simple network images, for Godot






Adds a new TextureRect Control node called NetworkTextureRect which dynamically loads and displays images from a web address.

Features

  • Loads an image via http/https (utilizing the HTTPRequest node)
  • Comes with default placeholder loading spinner, error placeholder
  • Button to load image early in editor
  • Images loaded in-editor can then be saved to the filesystem as CompressedImageTexture resources
  • Size or add materials any way you want, it's a simple extension of TextureRect
  • Remove the script from the node, even uninstall the plugin, and keep your loaded images

Installation

Install via the AssetLib tab within Godot by searching for NetworkTextureRect

Usage

Just fill out the url field and start the game! Or press the "Load Image" button in the inspector.

Custom Placeholders

Error and loading placeholders can be added as packed scenes, and will display instead of the default placeholders if supplied.

The Future

One thought is that via HTTPClient and extending Texture2D with a resource it should be possible to create a resource that handles all loading/caching internally and that could be applied to any node that can take a Texture2D, then the existing NetworkTextureRect could be simplified/modified to use that while still maintaining placeholder functionality.

This would allow any node that can take a texture to load that texture from the internet, either as an editing convenience or during runtime.

Not sure how useful network textures are outside of the TextureRect use here, but could be cool.

My Other Godot Plugins

Dead simple network images

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
NetworkTextureRect icon image
tattomoosa
NetworkTextureRect

Dead simple network images

Supported Engine Version
4.3
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
11 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers