Commit graph

288 commits

Author SHA1 Message Date
MihailRis
0f63fd64ed add 'step-height' entity property 2026-02-13 02:48:40 +03:00
MihailRis
5380bcf013 refactor world renderer a bit 2026-02-02 22:40:54 +03:00
MihailRis
b69c92b330 Merge branch 'main' into volume-renderer 2026-02-02 20:17:17 +03:00
MihailRis
a7ffbc9dec add more debug messages and checks 2026-02-02 19:54:24 +03:00
MihailRis
f1d85000e4 add transform vectors/matrices nan/inf check 2026-02-02 19:38:43 +03:00
MihailRis
8b5261f4f1 fix fatal error when skeleton is missing 2026-01-18 23:35:18 +03:00
MihailRis
d07c8e5234 fix skeleton name serialization 2026-01-18 17:57:21 +03:00
MihailRis
42c4716be2 change: skeletons are assets now, not content units 2026-01-16 01:01:15 +03:00
MihailRis
587c140a6b remove bone::addBone 2026-01-15 23:17:47 +03:00
MihailRis
c34cb57fb8 feat: named bones and skeleton building 2026-01-15 21:51:39 +03:00
MihailRis
f602384a94 update player spawn point auto selection 2026-01-09 03:26:32 +03:00
MihailRis
088bfc878e fix: player not spawning entity after set_suspended(pid, false) 2026-01-09 02:36:13 +03:00
MihailRis
d708e8d21c cleanup 2025-12-16 00:45:15 +03:00
MihailRis
180dd5051b fix fatal error on invalid item id in inventory 2025-12-16 00:17:51 +03:00
MihailRis
fefc975832 fix: incomplete size transform support by entities 2025-12-03 22:00:55 +03:00
MihailRis
9e817c39ce disable mouse camera control if non-standard camera used 2025-11-04 17:55:01 +03:00
MihailRis
9cb9b095e8 add new players finding functions 2025-10-16 22:00:00 +03:00
MihailRis
2210ba8218 add includes 2025-10-16 21:43:02 +03:00
MihailRis
b14bad5d24
add platform::get_executable_path (#638) 2025-10-03 21:22:16 +03:00
MihailRis
9963bc4134 Merge branch 'main' into dev 2025-10-01 00:07:53 +03:00
MihailRis
75ef603df0 fix non-local players interpolation and head direction 2025-09-29 22:21:14 +03:00
MihailRis
dba3b62964 rename 'max-interaction-distance' to 'interaction-distance' 2025-09-27 10:06:22 +03:00
MihailRis
b98954f95e cleanup 2025-09-26 22:03:08 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
bf682daffe update on_physics_update & update standard components 2025-09-13 23:24:57 +03:00
MihailRis
6d3dac9106 add 'on_physics_update' entity event 2025-08-13 21:29:20 +03:00
MihailRis
dfb83f6835 add core:mob component & move player movement to scripting 2025-08-10 22:55:34 +03:00
MihailRis
fc573b4c6e erase and forget 2025-08-09 23:40:09 +03:00
MihailRis
5583734bc2 refactor 2025-08-09 22:43:06 +03:00
MihailRis
61da6b44a1 fix windows build 2025-08-09 21:30:55 +03:00
MihailRis
3eae377024 refactor Entities 2025-08-09 21:19:01 +03:00
MihailRis
f6be6689aa feat: passing args to component in entity definition 2025-08-06 23:34:00 +03:00
MihailRis
cf77f73d1b feat: save player 'suspended' status 2025-04-29 12:12:31 +03:00
MihailRis
7749675a61 add EnumMetadata 2025-04-13 13:53:59 +03:00
MihailRis
531334f059
Merge pull request #502 from MihailRis/devel
begin 0.28 development
2025-04-02 20:09:43 +03:00
MihailRis
21ff042aa3 fix: non-local players hitboxes incorrect behaviour 2025-04-02 18:54:27 +03:00
MihailRis
9694a59649 refactor: add Window interface 2025-04-02 14:59:53 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
5607e0f039 fix: entity:despawn in on_save not preventing entity save 2025-02-26 16:35:23 +03:00
MihailRis
5e10afc9b5 fix: disabled bodies not skipping in entities raycast 2025-02-21 21:13:22 +03:00
MihailRis
b832b9850f fix incorrect entity transform scale & rotation combination 2025-02-12 21:16:05 +03:00
MihailRis
3430e5cd6f add 'player-entity' to defaults.toml 2025-02-12 16:32:21 +03:00
MihailRis
9443892406 fixes 2025-01-21 06:51:29 +03:00
MihailRis
23c66654a2 add ENTITY_NONE, ENTITY_AUTO reserved entity id & update player.set_entity(...) 2025-01-21 05:56:14 +03:00
MihailRis
2fa71b3bf0 feat: players interpolation & add hud.set_allow_pause(...) 2025-01-17 01:44:46 +03:00
MihailRis
43dc88c6b5 move player animation to base:player_animator component 2025-01-16 06:58:53 +03:00
MihailRis
9cd3f3e4c8 add entity:get_player() 2025-01-16 06:50:01 +03:00
MihailRis
65fec4f4a9 introduce local player 2025-01-16 05:59:43 +03:00
MihailRis
43f0cbe3fe add player.is_suspended, player.set_suspended 2025-01-15 22:25:51 +03:00
MihailRis
13c36f4629 feat: player.delete() function and update documentation 2024-12-26 05:47:18 +03:00