Advertisement
Mr-A

Asset loading form design

Oct 5th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. #old:
  2. [img]
  3. sheets\spritegrid.png,70,70,5,7,-
  4. [/img]
  5.  
  6.  
  7. #new
  8. [img]
  9. sheetLF2[dir="sheets\spritegrid.png" w=70 h=70 col=5 row=7 color_key=NONE ] #color_key is black by default
  10. sheet[dir="sheets\othergrid.png" w=70 h=70 col=5 row=7] #no need to mention color_key
  11. tile[dir="tiles\tile.png"]
  12. [/img]
  13.  
  14. #3d models
  15. [mdl]
  16. obj[dir="models\cube.obj" scale=2 facing_vec=1,0,0] #facing_vec default is 1,0,0 , but just to showcase
  17. fbx[dir="models\cube.fbx" scale=2 facing_vec=1,0,0]
  18. [/mdl]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement