Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problem creating 2D art in Gimp

Discussion in '2D' started by StephanFoldvik, Jun 5, 2014.

  1. StephanFoldvik

    StephanFoldvik

    Joined:
    Jun 5, 2014
    Posts:
    2
    Hi.

    I have a few questions ..

    1. When I create a new file in Gimp, what resolution size should I choose? I've been playing around with it a bit, but I can't seem to get the hang of it. When I choose my native and target resolution (1920x1080) and import the files to Unity, the objects I draw are too small, and if I scale the image the drawing/pattern/details gets distorted.

    2. When creating a 2D game, is it best to cut the level, let's say the ground, into several smaller pieces? Or do people usually create the entire ground in one file. I know how to use layers by the way.

    I have been watching some tutorials, but none where they actually talk about how to correctly draw sprites to use in Unity.

    So, what do people usually do? Both professionals and non-professionals.
     
  2. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    There are texture size limits. Most devices support 2048x2048 maximum at least (i should say minimum)... so that's a safe size to assume is your maximum texture size. So you can't really have a ground that's 20,000 pixels wide. You have to split it. If your target res is 1920 and your texture is 1920 and you have your geometry properly sized to fill the screen with proper uv coords then it should be a 1:1 texture-pixel mapping, with an appropriate camera.
     
    StephanFoldvik likes this.
  3. Dec

    Dec

    Joined:
    Sep 23, 2013
    Posts:
    27
    Hi

    I hope you don't mind me chiming in here :)
    The best way to get the information you need, as I think theres a lot more information you really need than what you are asking, is to download a project from the asset store like their 2d demo and deconstruct that.

    Break down your images into tileable sections at maybe 512 x 512 and smaller that way you get better image quality, because you are not jamming in to many items on a tile. For example a floor section repeated 256 x 256 as a prefab could be repeated to make your floor.

    And as imaginaryhuman said don't oversize your textures, for a sky 1024x1024 section repeated is large enough..in my opinion....

    Best of luck

    Declan

    AtomicVertex.com

    https://www.assetstore.unity3d.com/en/#!/content/18327
     
    StephanFoldvik likes this.
  4. StephanFoldvik

    StephanFoldvik

    Joined:
    Jun 5, 2014
    Posts:
    2
    Thanks a lot! I'll certainly look at that 2D demo. :)