1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-30 13:50:23 +02:00

Optimize textures and model (use *.b3d instead *.x)

This commit is contained in:
jp
2015-01-26 10:23:25 +01:00
committed by BlockMen
parent df35360372
commit f86ac2fdff
213 changed files with 2 additions and 7459 deletions

View File

@ -15,7 +15,7 @@ function default.player_register_model(name, def)
end
-- Default player appearance
default.player_register_model("character.x", {
default.player_register_model("character.b3d", {
animation_speed = 30,
textures = {"character.png", },
animations = {
@ -93,7 +93,7 @@ end
-- Update appearance when the player joins
minetest.register_on_joinplayer(function(player)
default.player_attached[player:get_player_name()] = false
default.player_set_model(player, "character.x")
default.player_set_model(player, "character.b3d")
player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30)
-- set GUI