406 Commits

Author SHA1 Message Date
MihailRis
50050dbe40 add entity events: on_attacked, on_used 2024-07-16 14:04:05 +03:00
MihailRis
0df5d34e04 add logging functions to the library 'debug' 2024-07-16 12:32:00 +03:00
MihailRis
d5877a342f feature: bone model overriding 2024-07-16 10:00:40 +03:00
MihailRis
7c6d620560 add setting camera.inertia & add display settings menu page 2024-07-15 14:23:31 +03:00
MihailRis
af1b32d91d remove camera latency 2024-07-15 14:06:49 +03:00
MihailRis
8bb736bef0 add skeleton:is_visible(...), skeleton:set_visible(...) 2024-07-15 12:05:11 +03:00
MihailRis
055781eeaf add skeleton:index(...) and player test model 2024-07-15 08:56:27 +03:00
MihailRis
23cfe4a4cf fix console.xml.lua 2024-07-15 02:45:43 +03:00
MihailRis
e73ccaded1 add player.get_selected_entity(...) & update docs 2024-07-14 12:00:58 +03:00
MihailRis
035b51ff85 add entity:get_skeleton 2024-07-13 03:13:28 +03:00
MihailRis
ffb0ab2f05 add skeleton:get_texture 2024-07-13 01:51:50 +03:00
MihailRis
3b24982c0d rename entity:set_rig to entity:set_skeleton 2024-07-13 01:25:32 +03:00
MihailRis
6214bf4a19 add rigidbody.get_linear_damping, .set_linear_damping 2024-07-13 00:05:10 +03:00
MihailRis
247acb3687 add cameras.look_at, player.set_camera, base:cinematic camera 2024-07-12 08:23:22 +03:00
MihailRis
ce7037e9d0 add new cameras.* functions 2024-07-12 07:06:31 +03:00
MihailRis
636c10d229 fix base:torch material 2024-07-12 06:15:22 +03:00
MihailRis
ffb7aa1189 add 'camera' library 2024-07-12 06:14:13 +03:00
MihailRis
ca8652ffab add packs resources (WIP) 2024-07-11 10:32:05 +03:00
MihailRis
ee768f878c fix transform:set_pos 2024-07-11 01:10:23 +03:00
MihailRis
a105a4f2c7 add 'player.respawn' command 2024-07-10 23:20:14 +03:00
MihailRis
adabe781c5 add hud.is_paused and hud.is_inventory_open 2024-07-10 10:12:07 +03:00
MihailRis
7487c55e0c Merge branch 'main' into entities 2024-07-10 09:25:56 +03:00
MihailRis
4c8ae465c7 add 'grounded' support for 'pipe' rotation profile 2024-07-10 09:14:24 +03:00
MihailRis
0ebc3da7f6 update components loading scheme 2024-07-10 07:15:07 +03:00
MihailRis
e0358fe2db add 'blocking' entity property 2024-07-10 04:56:02 +03:00
MihailRis
60f4f33180 rename rig to skeleton 2024-07-10 04:28:12 +03:00
MihailRis
91230ecbeb update 'hitbox' property semantics 2024-07-10 02:34:53 +03:00
MihailRis
257ba86183 add vec3.random_normal and fix entities cleanup moment 2024-07-10 00:39:41 +03:00
MihailRis
d8c9fa1fe2 loading rig pose, textures, body settings 2024-07-09 21:19:29 +03:00
MihailRis
a68be271c6 fix new world entities id & initial state of lua random 2024-07-09 19:40:00 +03:00
MihailRis
f7d0ec438f add falling_block entity 2024-07-09 18:41:03 +03:00
MihailRis
c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis
0a14d6220a add BodyType, fix crouching 2024-07-09 06:39:05 +03:00
MihailRis
371acf0008 add rigidbody.is_grounded 2024-07-09 04:41:37 +03:00
MihailRis
f4653878a2 add player.get/set_entity 2024-07-09 04:27:18 +03:00
MihailRis
9d98c40528 add rigidbody.set/is_vdamping 2024-07-09 02:55:02 +03:00
MihailRis
3cafc39555 Merge branch 'main' into entities 2024-07-08 23:29:48 +03:00
MihailRis
19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
MihailRis
3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
MihailRis
487ba84517 implement player entity 2024-07-08 18:45:35 +03:00
Cogi Asd
9a43940baf ref stdcmd.lua, libvecn.cpp 2024-07-08 14:32:59 +03:00
MihailRis
49aa64a033 change rigs role from assets to content units 2024-07-08 05:03:09 +03:00
MihailRis
7dfda981a8 remove Player.hitbox (WIP) 2024-07-08 03:51:46 +03:00
MihailRis
0d230f2449 add entity 'on_render' event 2024-07-07 22:59:15 +03:00
MihailRis
939cfdd851 add player entity 2024-07-07 21:26:56 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
019a88ef84 add entity:get_component(...) 2024-07-04 20:54:45 +03:00
MihailRis
8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00