Modding Help Pixel sprites are off set on a custom mod

Discussion in 'Starbound Modding' started by EL3M3NeSTi, Feb 10, 2014.

  1. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    I began developing a new food mod, with different types of foods.
    Everything went ok until I had to put the image and the icon into the game, then the image was somewhy offset, and not in the right positioning.
    Any help is really appreciated.


    The refrigerator itself is alright, I assume because there is
    an image positioning part inside the code.
    [​IMG]

    Here is the can of soda, and how it looks.
    [​IMG]
    here you can see how it looks like on a player.
    [​IMG]
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    Image dimensions should be in a factor of 8
     
  3. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    could you explain please?
     
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    if you make an image the dimensions... should be in a factor of 8...
    So you have to make an 8x8 pixel image or a 16x16 or 8 x 16 or 24 x 8
    As long as it is a factor of 8 you won't have any issues.
     
  5. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    It is a 16x16 png image
     

    Attached Files:

  6. The | Suit

    The | Suit Agent S. Forum Moderator

    Upload your image and frames file associated and object file
     
  7. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    I have a recipe file, an image, and a Coke.consumable file.

    Am I missing something?
     
  8. The | Suit

    The | Suit Agent S. Forum Moderator

    Oh its an consumable?
    Items / consumables / all have this collision issue where they seem to go partially through the ground. Nothing to worry about
     
  9. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    So basically all of them are like that?
     
  10. The | Suit

    The | Suit Agent S. Forum Moderator

    Ya just throw a bunch of items on the ground - a few will clip based on the side it falls on. If it lands on the side with blank pixels. There won't be any clipping since there is a buffer to that side
     
  11. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    lol, thats not the thing i was talking about ^^. In the picture im holding the soda can, and it seems to be mislocated. Instead of being in the hands of the character it slides down.
     
  12. The | Suit

    The | Suit Agent S. Forum Moderator

    Oh... I thought you dropped it on the floor. :eek:
    Ok send your files ill take a look. Seems to be an interesting problem
     
  13. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    The materials used to make the items in the recipes are just for testing.
     
  14. The | Suit

    The | Suit Agent S. Forum Moderator

    If you pack it as a zip file - it would be easier for me.
     
  15. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

  16. The | Suit

    The | Suit Agent S. Forum Moderator

    Sorry for the late reply - but you are using an extremely large amount of unncessary space.
    The fridge isn't more then 16 yet your using 32 width.
    Same with your coke can.
    Fixed your can - should have been 8 width.
    [​IMG]
     

    Attached Files:

    EL3M3NeSTi likes this.
  17. EL3M3NeSTi

    EL3M3NeSTi Scruffy Nerf-Herder

    Thats it, thank you very much for the reply :)
     
    Last edited: Feb 10, 2014
  18. Enzam

    Enzam Pangalactic Porcupine

    I'm not sure if this is the right place to ask this or if i should star my own thread, but i am trying to get into modding and one of my biggest issues is spriting, I havent the slightest clue as to what program to use. What did you guys use? and by the way, cool coke addition. looks pretty clean cut. :)
     
  19. Kawa

    Kawa Tiy's Beard

    I use Paintshop Pro. Other popular options include Paint.Net.
     
  20. Enzam

    Enzam Pangalactic Porcupine

    I'll have to check those out. Thanks for the help :)
     

Share This Page