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.
I saw that in the code, but it doesn't work poroperly. (in revision 728)
For example, the ground and the players are drawn in the margin. When
scrolling, some parts are not erased in the margin. This typically
happens in the map Grenouilles. I'll take a look at it
* 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 ;-)
Ok, I'll try.
greetings,
Toon
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev