Textures and Tile Maps
This guide covers the visual assets that make your scene readable.
Asset Types
The two most common files are:
.texturefor sprite art.tmapfor tile map layouts
You edit both in Main -> Sprite.
Create A Texture
In Assets:
- press
Shift+A - choose texture asset
- name it (example:
player.texture)
Open it with Enter, then draw using the sprite editor.
Useful controls:
- printable key: draw character
Space: draw blank cellBackspace: erase cellCtrl+Z/Ctrl+Y: undo/redoShift+2: open character picker
Create A Tile Map
In Assets:
- press
Shift+A - choose tile map asset
- name it (example:
level01.tmap)
Edit tiles in Main -> Sprite and save.
Assign A Texture To An Object
In Inspector on a game object renderer, set:
- texture path, for example
Textures/player.texture - crop values when you only want part of a texture
Assign A Tile Map To A Scene
On the scene root in Inspector, set:
Environment Tile MaptoMaps/level01.tmapEnvironment Collision Mapwhen you need collision blocking data
Path Tips
Common path forms that work well:
Textures/playerTextures/player.textureMaps/level01Maps/level01.tmap
Pick one style and stay consistent.
Quick Troubleshooting
- sprite not showing: check renderer texture path
- wrong sprite region: check renderer offset and size
- background missing: check scene tile map path
- collision feels wrong: verify collision map assignment