Commit Graph
100 Commits
Author SHA1 Message Date
MihailRis b5d7634601 fix player.get_camera 2024-07-22 14:19:09 +03:00
MihailRis 34ab3eb41c add player.get_camera(playerid) 2024-07-22 14:16:28 +03:00
MihailRis 2b50e85cdc update doc/*/rigging.md 2024-07-21 21:54:30 +03:00
MihailRis 0333ce6990 add bone "offset" parameter & update player model 2024-07-21 18:27:11 +03:00
MihailRis 3590bd14cd update DrawContext 2024-07-21 16:06:40 +03:00
MihailRis cf12338a32 add skeleton debug view 2024-07-21 14:52:16 +03:00
MihailRis c63e19e87b fix wrong entity display position on slow movement 2024-07-20 21:56:19 +03:00
MihailRisandGitHub 826579df2b Merge pull request #267 from MihailRis/update-entities-renderer
Update entities renderer
2024-07-20 21:46:25 +03:00
MihailRis 52c39d25d0 add skeleton:get_color(), skeleton:set_color(...) 2024-07-20 21:15:04 +03:00
MihailRis 0c4cdeaa87 add entities renderer tint support 2024-07-20 19:35:43 +03:00
MihailRis fba0bca0dc optimize ModelBatch 2024-07-20 17:59:15 +03:00
MihailRis 4197746c69 add entity shader 2024-07-20 17:13:03 +03:00
MihailRis 8e159009eb refactor res/shaders 2024-07-20 16:05:06 +03:00
MihailRis 52381d5afa feat: preprocessing glsl header files 2024-07-20 15:36:30 +03:00
MihailRisandGitHub 9b8c421557 Merge pull request #266 from MihailRis/clang-format
Add .clang-format
2024-07-19 21:45:57 +03:00
MihailRis a2bf42ef29 Merge branch 'main' into clang-format 2024-07-19 21:34:07 +03:00
MihailRis e008832ebb update Entities::preparePhysics - ticks are delta-based now 2024-07-19 21:23:58 +03:00
MihailRis eedce588b1 move class Clock to a separate unit 2024-07-19 20:49:04 +03:00
MihailRis fbced2504e fix msvc build 2024-07-19 10:32:00 +03:00
MihailRis 02c9c4ced3 add mat4.from_quat(...) & update mat4.decompose(...) 2024-07-19 07:48:42 +03:00
MihailRis af2d3ad842 add .clang-format 2024-07-19 07:07:39 +03:00
MihailRis 2294690f29 update doc/*/assets-preload.md 2024-07-18 14:08:08 +03:00
MihailRis 2c1adcedbd fix u_timer behaviour when paused 2024-07-18 13:50:57 +03:00
MihailRis 3549c1f326 update entity methods set 2024-07-18 12:08:43 +03:00
MihailRis d285ffb2f7 update entities library semantics 2024-07-18 11:54:37 +03:00
MihailRis d1696eea12 feat: saving current camera 2024-07-18 10:22:45 +03:00
MihailRis c9257ec127 add block.place(...), block.destruct(...) 2024-07-18 08:41:16 +03:00
MihailRis 8082048d39 update doc/**/libentities.md 2024-07-17 20:37:19 +03:00
MihailRis 5a3f28f2b5 add entities.name(...) and entity:get_name(...) 2024-07-17 20:15:45 +03:00
MihailRis ec4043bc12 remove third person cameras height limitation 2024-07-17 19:12:59 +03:00
MihailRis b6ceadcee7 fix obj parser on Windows 2024-07-17 17:21:19 +03:00
MihailRisandGitHub a02d626c0a Merge pull request #255 from MihailRis/entities
Entities
2024-07-17 15:19:47 +03:00
MihailRis 1eac343619 add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...) 2024-07-17 14:51:55 +03:00
MihailRis b499714d4b revert README.md 2024-07-17 12:57:54 +03:00
MihailRis c9194b6546 add player.drop binding display name & revert README.md 2024-07-17 12:56:14 +03:00
MihailRis f8dbe46d5c update doc/*/rigging.md 2024-07-17 12:38:38 +03:00
MihailRis 2e407e7f60 fix gcc warning 2024-07-17 12:26:30 +03:00
MihailRis 104a6f76c5 update .gitignore 2024-07-17 12:18:37 +03:00
MihailRis 739ef49d8f feat: automatically loading models used in skeleton 2024-07-17 12:12:40 +03:00
MihailRis 051dc6e05f update README.md 2024-07-17 11:45:04 +03:00
MihailRis 4653c4c8a8 fix model overrides 2024-07-17 10:47:03 +03:00
MihailRis 1b99a48849 update entities.spawn(...) semantics to the docs state 2024-07-17 10:17:20 +03:00
MihailRis 51a57d3d1f update README.md 2024-07-17 07:41:32 +03:00
MihailRis 41a22938d6 add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
MihailRis c9958c9718 add new input.* functions to docs 2024-07-16 17:52:18 +03:00
MihailRis ef22b2d7e0 add entity events to docs 2024-07-16 14:29:56 +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 54902d7f49 refactor entities events 2024-07-16 13:27:39 +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 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 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 e8e3626c63 add english version of vecn.md 2024-07-15 06:33:48 +03:00
MihailRis 217c3ad6a8 update chunk hitbox to infinite height 2024-07-15 05:51:46 +03:00
MihailRis 5e56c76590 fix: SAVING_SATA 2024-07-15 05:47:44 +03:00
MihailRis 9cdf3e29cc add entities.raycast & update docs structure 2024-07-15 05:42:09 +03:00
MihailRis 23cfe4a4cf fix console.xml.lua 2024-07-15 02:45:43 +03:00
MihailRis bc0d1b2f42 format Entities.cpp 2024-07-15 02:20:31 +03:00
MihailRis 0e7f440a68 add UID usage check in Entites::spawn 2024-07-15 02:04:53 +03:00
MihailRis 904a33418f fix: entities marked to delete are still not deleted on loadEntities call 2024-07-15 01:56:45 +03:00
MihailRis 8a05f5cf63 fix docs 2024-07-14 13:26:57 +03:00
MihailRis 498b4c3694 update block.raycast docs 2024-07-14 13:21:13 +03:00
MihailRis 9cec475866 add block.raycast(...) 2024-07-14 13:16:07 +03:00
MihailRis e73ccaded1 add player.get_selected_entity(...) & update docs 2024-07-14 12:00:58 +03:00
MihailRis c17f3fec54 add entities raycast 2024-07-14 10:50:06 +03:00
MihailRis 638a0d9850 fix NONE rotation profile 2024-07-14 01:57:18 +03:00
MihailRis ea765ffc0c add new world events: on_block_broken, on_block_placed 2024-07-14 01:37:11 +03:00
MihailRis 4952de4716 add english version of the ecs.md 2024-07-13 10:51:21 +03:00
MihailRis 086a44d703 add english version of resources.md 2024-07-13 10:39:08 +03:00
MihailRis 043a4ce255 add rigging.md english version 2024-07-13 10:32:41 +03:00
MihailRis 4d47a20c07 add doc/ru/rigging.md 2024-07-13 10:25:45 +03:00
MihailRis 8617784084 fix blocks placing when crouching 2024-07-13 04:48:03 +03:00
MihailRis 6442a3476f update ecs.md 2024-07-13 03:17:27 +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 e506d17c50 add doc/ru/scripting/ecs.md 2024-07-13 01:34:32 +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 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 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 24ecb94942 fix cameras loading 2024-07-12 00:20:22 +03:00
MihailRis 9a18476437 refactor: player cameras are resources now 2024-07-12 00:02:01 +03:00
MihailRis 9623f35862 feat: world files resources file loading 2024-07-11 23:48:13 +03:00
MihailRis a013e7eefd feat: cameras saving/loading 2024-07-11 22:45:57 +03:00
MihailRis 45c4da048c feat: saving/loading resource entries 2024-07-11 21:56:27 +03:00
MihailRis ca8652ffab add packs resources (WIP) 2024-07-11 10:32:05 +03:00
MihailRis 30dd853044 Merge branch 'main' into entities 2024-07-11 03:32:05 +03:00
MihailRis dc926ce4df add mat4.look_at(...) 2024-07-11 03:31:48 +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