Hello,
Is it possible to resize a surface with something like "surface:set_size()" that seems to not exist?
I would like to to do it in a "rebuild_surface' function.
Thanks in advance.
No, sorry :)
It doesn't matter. =>[]:'(
Thank you.
A workaround is to create a new surface with the wanted size and draw the first one on the new one.
Another workaround is to keep only one surface with the max size and keep unused parts transparent.
Ok thank you for your advices. I managed to do what I wanted :)
I opened a topic to share this little creation HUD: ZL Hearts (http://forum.solarus-games.org/index.php/topic,252.0.html)
If someone finds some bugs , thank you to report it.