1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Texture Distortion Bug (With Possible Solution)

Discussion in 'General Help' started by BuGG, Jun 6, 2011.

  1. BuGG

    BuGG Guest

    [​IMG]

    I'm experiencing some texture distortion in-game. Most noticeable on the sword cursor and the health bar.
    The reason this is happening is because some of the game sprites are non-power-of-2 textures.
    The sword cursor is 32x34, and heart.png is 24x24.

    For optimal compatibility you should make all the textures power of 2. (2x2, 4x4, 8x8, 16x16, 32x32, 64x64, 128x128, or 256x256)

    While this does not affect everyone, many videocards require Power-Of-2 textures (and SOME require square textures) and I'm sure I'm not the only one experiencing this.

    I have edited the images locally and made them power-of-2 and it corrects the issue, this might be something to consider in the distribution.
     
  2. JacKD

    JacKD Guest

    I made the changes you described, and it worked! Only problem was I fucked up transparency LOL xD
    Hope dev takes this into account :)
     
  3. BuGG

    BuGG Guest

    Here is the Knight cursor and the Heart at proper power of 2 dimensions (with transparency).
    I actually set all my cursors to the archers crosshairs... Less obtrusive and just made sense to me.

    [​IMG]
    knight_cursor.png

    [​IMG]
    heart.png