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
MihailRis
c1b311f3c4
refactor: change pointer parameters to references for Level and Content in various classes
2024-12-25 18:53:53 +03:00
MihailRis
5e76cdfadc
rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder
2024-12-25 12:13:03 +03:00
MihailRis
b4abecc764
refactor
2024-12-24 11:31:54 +03:00
MihailRis
e153e1fbd7
add player.is_loading_chunks, .set_loading_chunks
2024-12-24 10:35:09 +03:00
MihailRis
3d33de502d
move 'player.noclip' and 'player.flight' handlers to Lua
2024-12-23 13:51:12 +03:00
MihailRis
c3f22c6854
rename
2024-12-21 13:11:23 +03:00
MihailRis
1cd85b6f77
implement player ticks in headless mode & prevent on_player_tick call if player chunk does not exists
2024-12-18 23:31:26 +03:00
MihailRis
48d94036fd
rename Level.chunksStorage to Level.chunks
2024-12-17 23:57:00 +03:00
MihailRis
1c18c02092
move Chunks from Level to Player
2024-12-17 19:40:00 +03:00
MihailRis
b7664b4188
move Lighting instance to ChunksController
2024-12-17 05:13:49 +03:00
MihailRis
c1a7b7545a
change components on_render call timing
2024-12-11 21:07:38 +03:00
MihailRis
c67f158e62
remove default player from headless mode
2024-12-11 00:31:08 +03:00
MihailRis
4b42369c31
update PLAYER_AIR_DAMPING value to 8
2024-11-26 12:56:31 +03:00
MihailRis
65e5063326
add player names display
2024-11-23 07:41:44 +03:00
MihailRis
acc4d2540d
add player name
2024-11-23 05:38:18 +03:00