Skip to content

Resource File Documentation

Bryce Mehring edited this page May 29, 2014 · 4 revisions

Resource file structure:

resourceType resourceID arg1 arg2 arg3 
resourceType resourceID2 arg1 arg2 arg3 ...

==========

Resource Types:

  • texture textureStrID textureFileName
  • animation animationStrID animationFileName - animationFileName.txt must exist. This file should only have two numbers in it separated by a space that describe how many tiles are in the animation in the x and y directions: tileX tileY
  • font fontStrID fontFileName - fontFileName.fnt must exist
  • shader shaderStrID vertexShaderFile pixelShaderFile
Clone this wiki locally