Solarus-Games English Forum

Solarus => Bugs & Feature requests => Topic started by: Spikira on November 02, 2021, 11:48:56 AM

Title: Resizable Streams
Post by: Spikira on November 02, 2021, 11:48:56 AM
Please add the ability to resize Stream entities, unless there is a way to do it already that I have missed.
Title: Re: Resizable Streams
Post by: Max on November 06, 2021, 01:20:57 AM
Have you tried using
Code: [Select]
entity:set_size()
From the map script or something? It'd be pretty annoying to use that way, but I'm curious if it'd work.

The other workaround is on of course just placing a bunch of 16x16 streams, I haven't run into any issues with that. What's your use case?
Title: Re: Resizable Streams
Post by: Christopho on November 08, 2021, 02:33:13 PM
Not sure if entity:set_size() was tested a lot on streams, but that should be a solution in theory.
Another possible workaround is to make a custom entity model (they are resizable) whose only effect is to dynamically create streams on all its 16x16 squares with map:create_stream().
Title: Re: Resizable Streams
Post by: Spikira on November 09, 2021, 04:33:37 AM
Thanks for the solutions. I'll try resizing through scripts and if that doesn't work, I'll try the custom entity method instead.