Optimize textures and model (use *.b3d instead *.x)
BIN
menu/header.png
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 79 KiB |
BIN
menu/icon.png
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 847 B After Width: | Height: | Size: 546 B |
BIN
mods/default/models/character.b3d
Normal file
@ -15,7 +15,7 @@ function default.player_register_model(name, def)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- Default player appearance
|
-- Default player appearance
|
||||||
default.player_register_model("character.x", {
|
default.player_register_model("character.b3d", {
|
||||||
animation_speed = 30,
|
animation_speed = 30,
|
||||||
textures = {"character.png", },
|
textures = {"character.png", },
|
||||||
animations = {
|
animations = {
|
||||||
@ -93,7 +93,7 @@ end
|
|||||||
-- Update appearance when the player joins
|
-- Update appearance when the player joins
|
||||||
minetest.register_on_joinplayer(function(player)
|
minetest.register_on_joinplayer(function(player)
|
||||||
default.player_attached[player:get_player_name()] = false
|
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)
|
player:set_local_animation({x=0, y=79}, {x=168, y=187}, {x=189, y=198}, {x=200, y=219}, 30)
|
||||||
|
|
||||||
-- set GUI
|
-- set GUI
|
||||||
|
Before Width: | Height: | Size: 544 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 639 B After Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 568 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 630 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 670 B After Width: | Height: | Size: 469 B |
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 422 B |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 739 B After Width: | Height: | Size: 268 B |
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 277 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 219 B |
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 558 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 483 B |
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 859 B After Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 140 B |
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 179 B |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 211 B |
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 260 B |
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 254 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 922 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 819 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 234 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 802 B After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 501 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 258 B |
Before Width: | Height: | Size: 146 B After Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 210 B |