Jump to content

Inventory Images


Recommended Posts

This is something that had been on my mind for quite a while..
How would one make a mega inventoryimages file like klei did? My recent try was a failure, even tho its right according to how it works... its a 128x128
And then again, how would one call the Element for the inventory item from that atlas file?
 

Quote

<Atlas>
      <Texture filename="sota_inventory.tex" />
      <Elements>
          <Element name="itemone.tex" u1="0" u2="0.5" v1="0.0" v2="0.5" />
          <Element name="placeholder.tex" u1="0.5" u2="1" v1="0.0" v2="0.5">
     </Elements>
</Atlas>

 

Edited by FuffledBeeQueen
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...