Skip to content

New Tilesheet implementation#3266

Merged
luboslenco merged 25 commits into
armory3d:mainfrom
moisesjpelaez:tilesheet
Jan 22, 2026
Merged

New Tilesheet implementation#3266
luboslenco merged 25 commits into
armory3d:mainfrom
moisesjpelaez:tilesheet

Conversation

@moisesjpelaez

@moisesjpelaez moisesjpelaez commented Jan 19, 2026

Copy link
Copy Markdown
Collaborator

These changes break compatibility with the current Tilesheet system.

Changes:

  • Tilesheet is stored in the Object data instead of the Scene or Material data
  • Each object can only have a single Tilesheet (no need of multiple Tilesheets in a single object)
  • Added events per action
  • Added flipX and flipY properties
  • Added "Slice" to fit the UVs based on the tiles X and Y count

With these changes the Tilesheets also work from linked blend files.

Basic setup:

  • create a mesh with a material and set Object > Armory Tilesheet to true, this is going to be the root mesh
  • map its tiles in the UV editor
  • for each new action create a new mesh object
    • set Object > Armory Tilesheet to true (in order to see the animation during runtime)
    • set is as child of the root mesh
    • map its tiles in the UV editor
  • add a new action with Object > Armory Tilesheet > Add Action and give it a name
  • select the proper action's mesh in Object > Armory Tilesheet > Mesh

TODO:

  • add flipX and flipY to Object > Armory Tilesheet properties
  • add button to auto configure the UVs based on Tiles X and Tiles Y properties

(cherry picked from commit b71974a)
(cherry picked from commit 9bc9557)
(cherry picked from commit 2244557)
(cherry picked from commit cbbebc5)
(cherry picked from commit 2470b49)
(cherry picked from commit 6bf2fef)
(cherry picked from commit e72ac3d)
(cherry picked from commit 19c0283)
(cherry picked from commit 041b4e5)
(cherry picked from commit c333f28)
(cherry picked from commit 15c2c74)
@moisesjpelaez moisesjpelaez marked this pull request as ready for review January 19, 2026 23:22
@luboslenco luboslenco merged commit bab9fb0 into armory3d:main Jan 22, 2026
@luboslenco

Copy link
Copy Markdown
Member

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants