Skip to content

Instantly share code, notes, and snippets.

@Jordach
Created October 8, 2016 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jordach/59a86a36ab452291e2cb75f096c41c7b to your computer and use it in GitHub Desktop.
Save Jordach/59a86a36ab452291e2cb75f096c41c7b to your computer and use it in GitHub Desktop.
default.player_register_model("character.b3d", {
animation_speed = 30,
textures = {"character.png", },
animations = {
-- Standard animations.
stand = { x= 0, y= 79, },
lay = { x=162, y=166, },
walk = { x=168, y=187, },
mine = { x=189, y=198, },
walk_mine = { x=200, y=219, },
-- Extra animations (not currently used by the game).
sit = { x= 81, y=160, },
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment