154 Commits

Author SHA1 Message Date
MihailRis
41a22938d6 add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
MihailRis
50050dbe40 add entity events: on_attacked, on_used 2024-07-16 14:04:05 +03:00
MihailRis
a36ffaacd9 add entity events: on_aim_on, on_aim_off 2024-07-16 13:42:58 +03:00
MihailRis
4a0bc016ce refactor: extract method placeBlock and move some code from PlayerController to BlocksController 2024-07-15 15:41:25 +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
c17f3fec54 add entities raycast 2024-07-14 10:50:06 +03:00
MihailRis
4aa76e35b7 add on_hud_render event 2024-07-12 09:17:53 +03:00
MihailRis
247acb3687 add cameras.look_at, player.set_camera, base:cinematic camera 2024-07-12 08:23:22 +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
e0358fe2db add 'blocking' entity property 2024-07-10 04:56:02 +03:00
MihailRis
91230ecbeb update 'hitbox' property semantics 2024-07-10 02:34:53 +03:00
MihailRis
d8c9fa1fe2 loading rig pose, textures, body settings 2024-07-09 21:19:29 +03:00
MihailRis
7e80642ec3 fix third person cameras updating 2024-07-09 04:57:03 +03:00
MihailRis
f3201b7742 fix: player flight linearDamping, add verticalDamping (bool) 2024-07-08 23:53:25 +03:00
MihailRis
3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
MihailRis
7dfda981a8 remove Player.hitbox (WIP) 2024-07-08 03:51:46 +03:00
MihailRis
77c9c5cdb7 add player entity (draft) 2024-07-07 22:19:15 +03:00
MihailRis
28ceffde9e Merge branch 'main' into entities 2024-07-02 15:14:10 +03:00
MihailRis
63ddfd83a3 fix camera fov reset after load 2024-07-02 15:13:48 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis
eacbc1b9d0 add entity.test(...) function 2024-06-24 23:36:20 +03:00
MihailRis
5a01eca780 add entity models rigging draft 2024-06-24 20:57:19 +03:00
MihailRis
4b20487c58 add drop test 2024-06-24 15:39:40 +03:00
MihailRis
f6de40ca88
Merge pull request #237 from MihailRis/extended-blocks
Extended blocks
2024-06-10 19:10:54 +03:00
MihailRis
be27aabf1e update camera shaking calculations 2024-06-10 19:10:25 +03:00
MihailRis
1bfd5ccad3 fix: air blocks placement; ghost segments can not be removed 2024-06-09 23:59:04 +03:00
MihailRis
4e696520b6 refactor: PlayerController 2024-06-09 16:30:01 +03:00
MihailRis
b3ae8484a2 fix: extended blocks raycast fix 2024-06-09 13:48:43 +03:00
MihailRis
ee47213dbb add temporary test block 2024-06-08 21:42:44 +03:00
MihailRis
8aa6d5ee2d add extended blocks (block size property) 2024-06-08 16:58:05 +03:00
Sergwest
ac0408d42a arch compability fixes and unwarning changes 2024-06-07 22:20:40 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
3a6fa57630 item on_use double call fix 2024-06-01 12:57:10 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
74042b5c2a player.get_selected_block 2024-05-31 08:33:37 +03:00
MihailRis
29ca6e969c fix: block states cause crash for rotatable blocks 2024-05-30 18:17:21 +03:00
MihailRis
0eba793d63 added player camera rotation z axis 2024-05-24 01:58:34 +03:00
MihailRis
0ad3dd7ab8 build time decreased 2024-05-23 02:05:08 +03:00
MihailRis
017c8722ae memory related refactor 2024-05-13 00:11:20 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis
4861fedf1e fullscreen setting checkbox + smth 2024-04-26 00:34:15 +03:00
MihailRis
b9ea88b988 settings page completely moved to xml 2024-04-20 15:52:55 +03:00
MihailRis
48982e3478 'dynamic' namespace refactor + sensitivity is a NumberSetting now 2024-03-31 17:30:02 +03:00
Sergwest
9b0cc01e68 allows to put non-square blocks next to yourself 2024-03-19 20:34:49 +03:00
MihailRis
c9da6b9a0c stringutil: text case convert functions 2024-03-12 13:31:41 +03:00