Matthieu Fertré wrote:
Toon Verstraelen a écrit :
Hi,
I noticed that the current version of Wormux behaves a bit strange
when a level is smaller than the window. Another thing I noticed when
designing a new level: The background is always scrolled a bit slower,
which is a nice effect, but a part of the background is not used if it
is too big. The amount of slowdown can unfortunately not be
controlled. I've been poking around a bit in the code and would like
to suggest a few changes that might resolve the issues above:
* A black margin around the map when the sky and/or the ground are too
small. The interface elements don't have to respect these margins.
There is already a black margin when map size is smaller than the screen
resolution.
* The sky is scrolled in such a way that the both left sides of the
ground and the map coincide when one scrolls completely to the left of
a level. The same goes for the right side. This way a level-designer
can control the amount of slowdown for the scrolling of the sky, by
resizing the sky image.
Ok, it seems the good idea ;-)
Hi,
I've written a patch that solves the two problems mentioned above. I
posted it to the gna site, but should it be mentioned on this mailing
list? (https://gna.org/patch/?func=detailitem&item_id=552)
greetz,
Toon
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev