Solarus > Bugs & Feature requests

Resizable Streams

(1/1)

Spikira:
Please add the ability to resize Stream entities, unless there is a way to do it already that I have missed.

Max:
Have you tried using

--- Code: ---entity:set_size()

--- End code ---
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?

Christopho:
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().

Spikira:
Thanks for the solutions. I'll try resizing through scripts and if that doesn't work, I'll try the custom entity method instead.

Navigation

[0] Message Index

Go to full version