Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Creating 2D game with a very long ground surface sprite

$
0
0
Hello,

My 2d game consists of a very long "surface" sprite - with many hills and falls. This is eventually the ground surface where the players walks on (I define it as Poligon colider 2d). The height remains the same but the camera keeps track over the walking person horizontally.

For that I created a very long sprite - 204800 (width) by 1024 (height).

Of course that unity can't have sprites longer than 4096, so I know I need to split them to (4096x1024). But then I need to place the...

Creating 2D game with a very long ground surface sprite

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>