Digging animated nodes

Rath
Member
 
Posts: 16
Joined: Wed Jul 18, 2012 03:53

Digging animated nodes

by Rath » Sun Aug 05, 2012 20:31

When I create an animated node and then dig it the entire animation is displayed.

Is there a way to fix this?

Image
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node("temp:anitmation", {
    description = "Animation",
    tiles = {
        {name="temp_animation.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=5.0}}
    },
    groups = {crumbly=1},
})
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sun Aug 05, 2012 20:43

Thats a Bug in Minetest and not your Fault.
It's not easy to fix too
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

Rath
Member
 
Posts: 16
Joined: Wed Jul 18, 2012 03:53

by Rath » Mon Aug 06, 2012 14:49

Switching the order of the two if blocks around lines 1021-1054 of mapblock_mesh.cpp will cause the first frame to be displayed when digging an animated node.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron