1282 Commits

Author SHA1 Message Date
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
GHOST11111100
240abb939f
Links (#615)
* add URL support to Label element and XML parsing

* refactor Label URL handling to use getter method in setURL

* implement URL opening confirmation dialog and platform-specific URL handling

* fix: fixed build errors

* remove: delete test link label from worlds.xml

* refactor: remove URL handling from Label class and XML parsing

* refactor: clean up Label class by removing unnecessary whitespace and improving code readability

* refactor: remove unused URL member from Label class

* refactor: remove unused URL attribute from XML UI documentation and related code

* refactor: improve code readability by adding whitespace and formatting adjustments in Label class

* refactor: improve whitespace consistency in Label class and add URL opening functionality in libcore
2025-09-26 21:39:12 +03:00
MihailRis
21725921e1 start 0.30 development 2025-09-26 21:25:54 +03:00
MihailRis
1350910d28 fix: missing Random:seed method 2025-09-26 00:25:00 +03:00
MihailRis
088bf63f3f replace lua Random implementation with usertype 2025-09-25 23:53:11 +03:00
MihailRis
3a40162f1e
Fix udp address resolve (#624)
* тест для udp + фикс udp

* fix udp addresses resolve

* update SocketUdpConnection::connect

* update SocketUdpServer::sendTo

* update udp test

* revert

* test

* test

* test

* test

* test

* test?

* update test

* cleanup

* cleanup

* update test

* update

* revert

* cleanup

* update test

* update test

* update

* fix test

* additional error handling

* update Network.cpp

* update Network.cpp 2

* fix the test

* cleanup Network.cpp

* revert network_tcp.lua extra changes

---------

Co-authored-by: Xertis <118364459+Xertis@users.noreply.github.com>
2025-09-25 17:02:42 +03:00
MihailRis
4ff18fec99 fix sky shader 2025-09-23 00:51:21 +03:00
MihailRis
8b38d57966 fix body:set_gravity_scale & fix docs 2025-09-22 23:52:50 +03:00
MihailRis
f02e6c65d8 initial fix 2025-09-21 23:46:09 +03:00
MihailRis
7dab722561 fix core:player component 2025-09-21 23:26:03 +03:00
MihailRis
49ba8e2185 remove extra blocks registering debug info output 2025-09-20 22:03:48 +03:00
MihailRis
d990cbbdc4 fix core:player component 2025-09-20 17:51:00 +03:00
MihailRis
1c54de2d76 fix missing core:mob 'get_dir' function 2025-09-20 11:29:15 +03:00
MihailRis
83f7146a14 fix missing core:pathfinding 'reset_route' function 2025-09-20 11:16:37 +03:00
MihailRis
624ca01453 Merge branch 'dev' into release-0.29 2025-09-20 00:54:17 +03:00
MihailRis
b8646580cc update sky lights constants 2025-09-20 00:17:47 +03:00
MihailRis
c3d0cf9527
Merge pull request #617 from MihailRis/dev
0.29 development
2025-09-20 00:01:40 +03:00
MihailRis
43a7331f62 add 'tags.toml' file 2025-09-19 22:16:28 +03:00
MihailRis
4313029bc7 calibrate movement speed 2025-09-18 20:27:18 +03:00
MihailRis
7d6ddfa535 add 'data' argument to http error callback 2025-09-16 23:17:06 +03:00
MihailRis
532c4887bc add Random class 2025-09-16 20:27:07 +03:00
MihailRis
a1177f2601 update doc/*/scripting/events.md & add 'tps' argument 2025-09-15 00:31:38 +03:00
MihailRis
b863d47d7f add 'on_block_tick' event 2025-09-14 23:57:45 +03:00
MihailRis
ee7ae3b9f6
Merge pull request #609 from MihailRis/add-network-tests
Add network tests
2025-09-14 16:04:16 +03:00
MihailRis
b815d72ba7 fix: base packs not scanned for app scripts 2025-09-14 15:48:09 +03:00
MihailRis
0957406b0b fix default project_script.lua 2025-09-14 15:47:49 +03:00
MihailRis
95818f576b update app.sleep_until 2025-09-14 15:11:39 +03:00
MihailRis
99940da426 add 'asserts' library 2025-09-14 14:37:11 +03:00
MihailRis
40eda93398 update network test and fix coroutines errors handling 2025-09-14 14:11:34 +03:00
MihailRis
94989ce292
Merge pull request #595 from kotisoff/main
Проверка версий зависимостей
2025-09-14 12:42:28 +03:00
MihailRis
1c2fa2bba4 small fix 2025-09-13 23:38:01 +03:00
MihailRis
bf682daffe update on_physics_update & update standard components 2025-09-13 23:24:57 +03:00
MihailRis
2d29b8c46c update standard components 2025-09-13 22:46:45 +03:00
MihailRis
559057c2c1 remove extra behaviour from core:mob 2025-09-11 20:12:45 +03:00
MihailRis
3bd0ebcda2 Merge branch 'dev' into pathfinding 2025-09-11 18:06:16 +03:00
MihailRis
f9d923101a replace http-callbacks with events_queue entries 2025-09-10 00:16:24 +03:00
MihailRis
d25eb7f035 fix entity.spawn 2025-09-09 12:28:15 +03:00
MihailRis
ee1608072b add ScheduleGroup.common 2025-09-08 12:33:50 +03:00
MihailRis
ac8e5f1bd1 add schedule:set_timeout 2025-09-08 12:19:20 +03:00
MihailRis
763b3d5aa4 fix: mobs direction not saved 2025-09-07 23:44:01 +03:00
MihailRis
23a9ad0979 make core:mob.look_at public 2025-09-07 23:41:29 +03:00
MihailRis
3c2061f788 add hud.default_hand_controller 2025-09-07 23:23:01 +03:00
MihailRis
b615dcc57d update base:player_animator and core:mob components 2025-09-07 21:40:44 +03:00
MihailRis
e064ace885 update vertical damping & add rigidbody:get_vdamping 2025-09-07 17:10:13 +03:00
MihailRis
67a5741ed2 update entities physics & fix jumping mobs 2025-09-07 15:07:39 +03:00
MihailRis
93e7ae159a add core:player component 2025-09-06 22:30:01 +03:00
MihailRis
854dcf2a50 add entity:require_component 2025-09-06 22:29:55 +03:00
MihailRis
11a92a54b2 add vecn.mix 2025-09-06 11:37:06 +03:00
MihailRis
88641e032a test mobs 2025-09-01 01:39:31 +03:00
MihailRis
c06636053d replace set_avoided_tags with avoid_tag & add 'cost' argument 2025-08-31 21:12:07 +03:00