17cupsofcoffee / tetra

🎮 A simple 2D game framework written in Rust
MIT License
910 stars 63 forks source link

Expose runtime texture editing functionality #207

Closed McGittyHub closed 3 years ago

McGittyHub commented 3 years ago

Summary: I need the ability to change parts of a texture for my game and tetra currently does not expose any way of accomplishing this. Thanks in advance.

17cupsofcoffee commented 3 years ago

This functionality already exists in the platform layer - I've been meaning to expose that through the public API for a while now. Mainly just needs some thought putting into error handling/making sure you can't write out of bounds.

17cupsofcoffee commented 3 years ago

This has been added on the main branch and will be released in the next version.

McGittyHub commented 3 years ago

that is excellent news, thanks!

17cupsofcoffee commented 3 years ago

0.5.1 is now released, sorry for the delay!