Hello,
I have tested the infinite background. It's interesting because we need
it when a projectile is launched, but we should prevent the user to
infinitely scrolling !!
For the horizontal repetition of the sky, this is not a problem... but
for the vertical one, as you can see on the map grenouille, it can be
very strange.
In fact, I think in Team17 Worms, they have taken the good choice. The
top of the "sky" is the same for all map, they use a blue degrading when
going on the air. Moreover, it seems there are a destructible ground
(bitmap), an indestructible background (bitmap), and the sky (colour is
calculated depending on height). I think this is also a good choice for
performance, you do not need to redraw the full sky loading from a
bitmap, but just redrawing where objects are in the previous frame. do
you understand what I talk about ?
Bye,
Matt
- [Wormux-dev] Infinite background Matthieu Fertré
-