Sprint: holding shift while WASD doubles player_speed (120 → 240) and walk-anim play-speed (0.45 → 0.9). Mid-walk sprint toggle uses puppet v0.4.4 set_play_speed → no cycle restart. Releasing shift or stopping WASD reverts to normal speed in next frame. Interaction: 'interact' bound to E. Proximity trigger registered on the backpack sprite at (350, 400) with range 40px. Pressing E within range fires callback that prints a log message with the actor distance. Uses existing lib-core.interaction (registered at init, polled by interaction.update(player.x, player.y) each frame). New dep: lib-core.interaction ^0.1.0. Module version 0.4.0 → 0.4.4 (syncs with puppet bump).
23 lines
852 B
Plaintext
23 lines
852 B
Plaintext
{
|
|
"id": "vagrant-skeleton",
|
|
"version": "0.4.4",
|
|
"kind": "module",
|
|
"api": "^0.1",
|
|
"ci_frames": 60,
|
|
"entry_point": "init.lua",
|
|
"asset_aliases": {
|
|
"player": "lib-asset.prototype-subterrain",
|
|
"tiles": "lib-asset.prototype-subterrain",
|
|
"world": "lib-asset.prototype-subterrain"
|
|
},
|
|
"deps": [
|
|
{"id": "lib-core.input", "version": "0.4.0"},
|
|
{"id": "lib-core.camera", "version": "0.3.0"},
|
|
{"id": "lib-core.render", "version": "0.1.0"},
|
|
{"id": "lib-core.maps", "version": "0.1.2"},
|
|
{"id": "lib-core.puppet", "version": "0.4.4"},
|
|
{"id": "lib-core.interaction", "version": "0.1.0"},
|
|
{"id": "lib-asset.prototype-subterrain", "version": "0.1.1"}
|
|
]
|
|
}
|