1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-06-29 14:30:17 +02:00
Commit Graph

103 Commits

Author SHA1 Message Date
MirceaKitsune
333a4e3e81 Implement death animation, but it currently loops constantly after the player dies (the player gets up and falls to the ground forever) 2012-11-25 18:55:40 +02:00
MirceaKitsune
364c3ee890 Model - Get rid of the 4 walk animations and only leave one, which looks good for all directions. Also add a Walk + Mine animation, since Irrlicht doesn't support blending the two animations otherwise
Update player script to match the animations in the previous commit

Shorten the still mine animation so the hand matches the speed of the walk-mine animation

Reduce animation speed to half when sneaking
2012-11-25 18:55:39 +02:00
MirceaKitsune
09b60c6915 Get player walking and standing animations working! The player will play the proper animation when walking or standing.
Also get the mine animation working when holding the left mouse button. Walk animations have priority over it, and sadly you can't play both at the same time

Set initial player animation to stand
2012-11-25 18:55:39 +02:00
MirceaKitsune
7b491a6879 Important improvements to the player script. Instead of setting model and texture every X seconds, only do it when the player joins (so far)
Add a function which allows registering different frame ranges for different player models

Cosmetic improvements to the player script

More progress on the player animation functions, this commit adds useles code currently
2012-11-25 18:55:39 +02:00
MirceaKitsune
b3a413e308 Updated texture from Jordach, and fix the licensing confusion
I forgot frame range definitions need to be per-model, since each model could have its own animations. Specify current ones as being player.x's

Add death animation, and correct many mesh issues I didn't notice last time
2012-11-25 18:55:39 +02:00
MirceaKitsune
bd116248e5 Remove segmentation of limbs, because I don't like how the arms appeared to shrink during some deformations. This makes the player mesh exactly like the one in MineCraft, and gives people more reasons to complain that we're copying it :P
Rename player to character, to avoid conflicting with the default player sprite

New skin by Jordach

Add licenses to readme for the model and skin

Fix bad mirroring of left arm for player model
2012-11-25 18:55:39 +02:00
MirceaKitsune
d7ec666d88 At last, we have a player.
Consists of a simple standi animation currently being looped.

Compatible with any MineCraft skin, no texture included on GIT for licensing reasons.

Walk animations for the player (forward, backward, strafe left and strafe right). This commit removes other test cases from the default script, so that player.lua can be brought to what it's intended for

Punch / mine animation, and some consistency improvements to the player script
2012-11-25 18:55:39 +02:00
PilzAdam
91c0e3f18a Add VanessaE's selection box for apples, saplings and papyrus 2012-11-25 18:55:38 +02:00
PilzAdam
ee44186ec9 Add Calinou's improved default textures 2012-11-25 18:55:38 +02:00
MirceaKitsune
e1176fcb57 Fix attachment test script and unregistered entities. Thanks jin_xi for this 2012-11-25 18:55:38 +02:00
MirceaKitsune
74a78a6d03 b3d, you have failed me. x model format, you're in
Entries for the newly added animation features

Update player script to work with the latest code

Add a test case for attachments. A LUA entity is attached to the player with a specified name 10 seconds after the server starts

Add a detachment test case (5 seconds after attaching)

Update function names, plus add a test case for both player to player and lua-entity to player attachments
2012-11-25 18:55:38 +02:00
MirceaKitsune
1fa8e78bc5 Add script to turn players into meshes, ticks every 1 second
Trigger the player.lua file in init.lua

Commit the ugly and temporary test model and texture. We'll get to a real animated player mesh once the code for that is ready

Set visual_size accordingly so the player model doesn't stretch vertically (default of the sprite player)

Attempt to use the b3d model format, although it doesn't seem to work so far
2012-11-25 18:55:38 +02:00
Perttu Ahola
df3a694099 Swap out pixel-perfect nyan cat by request of Chris Torres 2012-11-09 20:16:14 +02:00
PilzAdam
d75b39683a Merge pull request #29 from PilzAdam/bucket
Dont allow the bucket to replace nodes that are not buildable to
2012-11-09 06:40:12 -08:00
PilzAdam
68020d2e93 Dont allow the bucket to replace nodes that are not buildable to 2012-11-09 15:25:21 +01:00
PilzAdam
f1a447d1fe Merge pull request #26 from PilzAdam/bucket
Follow the naming convention and make the first letter Bucket capitalize...
2012-11-06 11:41:15 -08:00
PilzAdam
30d582296b Follow the naming convention and make the first letter Bucket capitalized 2012-11-06 20:38:40 +01:00
PilzAdam
36c17b04fe Merge pull request #24 from PilzAdam/water
Update default_water.png to the new water textures
2012-11-04 03:17:20 -08:00
PilzAdam
ff9e2a75ee Update default_water.png to the new water textures 2012-11-04 11:55:35 +01:00
PilzAdam
5497db98de Merge pull request #21 from PilzAdam/animated_water
Add animation for water
2012-11-02 10:26:04 -07:00
PilzAdam
4a68126a2b Add animation for water 2012-11-02 18:24:25 +01:00
PilzAdam
5ce918059d Merge pull request #19 from PilzAdam/slabs
Fix slab -> full block transformation
2012-11-02 04:40:49 -07:00
PilzAdam
e0fe1a08c5 Fix slab -> full block transformation 2012-11-02 12:28:23 +01:00
darkrose
25a6cd866b Merge pull request #18 from darkrose/master
stop using hacks for sign input
2012-11-01 11:07:17 -07:00
PilzAdam
0ed7ccfc1f Merge pull request #17 from PilzAdam/master
Move falling to builtin
2012-11-01 11:01:35 -07:00
PilzAdam
e5502c9415 Move falling to builtin 2012-10-31 19:09:17 +01:00
darkrose
e5e62f9085 formspec changes 2012-10-29 02:03:27 +10:00
PilzAdam
a8a204ae39 Merge pull request #14 from khonkhortisan/patch-2
Emtpy bucket
2012-10-28 09:01:42 -07:00
khonkhortisan
a399f648e7 Emtpy bucket
-> Empty bucket
2012-10-09 09:05:00 -07:00
Perttu Ahola
87a1e37d34 Update invsize[8,9;] -> size[8,9] 2012-09-03 17:38:32 +03:00
Perttu Ahola
6ad1d56b3d Remove obsolete metadata_name field 2012-09-03 17:30:07 +03:00
Jat
d3d3e76447 Update tile_images 2012-09-03 17:30:05 +03:00
Perttu Ahola
794c68b32b Vessels 2012-09-03 00:22:23 +03:00
Perttu Ahola
0722c8064b Animated torches 2012-09-03 00:22:06 +03:00
Perttu Ahola
d98eab6a84 Fix crash when furnace is full 2012-08-12 17:10:28 +03:00
Perttu Ahola
61a9bb2b47 Fix crash when a player happens to join the server quicker than the creative inventory filler is called 2012-08-12 17:03:05 +03:00
Perttu Ahola
32ee20ebe7 Use working shapeless multigroup recipes for dyeing wool 2012-07-26 13:48:34 +03:00
Perttu Ahola
937ec64ee6 Make wools colorable by any dye (not just the ones in the dye mod) 2012-07-26 04:05:39 +03:00
Perttu Ahola
7db7ea543f Remove some unwanted items from the creative inventory 2012-07-26 00:08:47 +03:00
Perttu Ahola
319ac40fa5 Move creative_inventory to creative 2012-07-25 20:37:47 +03:00
Perttu Ahola
cd4e86773f Add description to bucket to make it show in creative inventory 2012-07-25 18:28:21 +03:00
Perttu Ahola
8643caac3c Add visible page number to creative inventory 2012-07-25 18:18:34 +03:00
Perttu Ahola
81afea1c00 Use new creative mode inventory properly 2012-07-25 18:05:13 +03:00
Perttu Ahola
a29819ebee Add creative mode inventory as a mod 2012-07-25 18:04:25 +03:00
Perttu Ahola
6de625c67f Use improved inventory callbacks 2012-07-25 15:14:36 +03:00
Perttu Ahola
e550a0e26f Update locked chest metadata to new metadata inventory API 2012-07-25 02:40:26 +03:00
Perttu Ahola
8739c4e737 Wool 2012-07-24 18:23:46 +03:00
Perttu Ahola
3ea6096a7a Dyes 2012-07-24 18:20:37 +03:00
Perttu Ahola
f2916c0a31 mods/doors: make variables local 2012-07-24 17:44:26 +03:00
Perttu Ahola
c7b624d67c Remove /give, /giveme, /spawnentity and /pulverize as they are now implemented by the engine 2012-07-23 17:43:47 +03:00