-
mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub:
mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
by mahmutelmas06 »
Post
Hi
issue 1
I want to combine 2 images into one and i want to animate liquid.png.
But when i combine it with cup.png it is not animated anymore.
issue 2
I want to colorize only liquid.png from cup.png^liquid.png
is it possible ?
Code: Select all
tiles = {
{name='cup.png^liquid.png^[colorize'..colour, animation={type='vertical_frames', aspect_w=16, aspect_h=16, length=1}},
},
-
BlockMen
- Developer
- Posts: 768
- Joined: Fri Mar 01, 2013 17:24
- GitHub:
BlockMen
- Location: Germany
by BlockMen »
Post
1) Minetest animates the "result" of the merged images, so "cup.png" needs to have more than 1 frame.
2) Yes, use brackets:
Code: Select all
tiles = {
{name='cup.png^(liquid.png^[colorize'..colour .. ')', animation={type='vertical_frames', aspect_w=16, aspect_h=16, length=1}},
},
Users browsing this forum: Google [Bot] and 6 guests