Advertisement
Jousway

Texture Coord Offset Info

Dec 19th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Texture Coord Offest Info
  2.  
  3. #This is the TextureCoordOffset which we use for Rhythm colored noteskins
  4. #If you dont want to use it, just keep the value 0
  5. #Rhythm colored noteskins are noteskins that have different colors for every
  6. #4th, 8th, 12th, 16th and so on
  7. #To use this you need to use simple math because it isnt based on the size of
  8. #the image but its based on the total value of the size which is 1
  9. #So if you got 9 frames (including  192nd)
  10. #You need to run this simple math
  11. # 1 / 9 = 0.11111111111111111111111111 (and so on)
  12. #Because using the entire value is to long, lets make it smaler to 6 digits
  13. #You can make it longer if you want but lets keep it nice to 6 digits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement