Defold 1.6.4 Beta

For those that wish to start testing with multi texturing, here is a very small example.
Our main focus for this first MVP was using animations with corresponding names like so:
diffuse.atlas:

hero_run:
    run1.png
    run2.png
   ...

normal.atlas:

hero_run:
    run_normal_1.png
    run_normal_2.png
   ...

Here you have to use the “rename patterns” to rename the normal images accordingly.
I don’t have a good example project of this yet.

+ =

Update: I also added an embryo for a normal map example. Currently, the shader isn’t setup to do actual normal mapping, but it should still serve as an example:

Here is the download link:
SpriteMultiTextureNormal.zip (311.6 KB)

7 Likes