Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As you said you have alot of possebilitys to solve this. Streching often does not look nice if you are close to those. But if they are fare away it could be a good solution. in my opinion Generating those does take time i guess and thats not a good idea for a game. You even do have to code alot of stuff and they look always simelar i guess. <br><br> I think Tileing isn't possible because your skytower are not always on a base of the tiles. So for example you got 32px Tiles and your tower is 53px high it does not work well because you would need to strech / cut or such one of the tiles.<br> <br> I'd take the streching solution with a good filter. Get more than 1 picture for that so if you have bigger towers also take a bigger picture for a better solution. You need to take care about the width and height. You shouldnt clinch a really wide tower to much and also should stech a thin tower to a wide one. You can also randomize it a bit so you got some different pictures for sure. <br> Example for a Filter:</p> <pre><code>// we set the linear texture filter to improve the stretching splashTexture.setFilter( TextureFilter.Linear, TextureFilter.Linear ); </code></pre> <p><a href="http://steigert.blogspot.de/2012/02/2-libgdx-tutorial-game-screens.html" rel="nofollow">From this tutorial</a><br> Also take a look at this entry from the libgdx: <a href="http://www.badlogicgames.com/wordpress/?p=1403" rel="nofollow">Know Your Texture Filters!</a></p> <p><br> But this is just my opinion.</p> <hr> <p>To find out the Filter is used by default take a look at the <code>Texture</code> Methods. </p> <pre><code>getMagFilter(); getMinFilter() </code></pre> <p>because you set the filters like this:</p> <pre><code>setFilter(Texture.TextureFilter minFilter, Texture.TextureFilter magFilter) </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload