Commit Graph
100 Commits
Author SHA1 Message Date
MihailRis 60f4f33180 rename rig to skeleton 2024-07-10 04:28:12 +03:00
MihailRis 91230ecbeb update 'hitbox' property semantics 2024-07-10 02:34:53 +03:00
MihailRis 37f28a768c update item-properties.md 2024-07-10 01:51:33 +03:00
MihailRis 257ba86183 add vec3.random_normal and fix entities cleanup moment 2024-07-10 00:39:41 +03:00
MihailRis d8c9fa1fe2 loading rig pose, textures, body settings 2024-07-09 21:19:29 +03:00
MihailRis a68be271c6 fix new world entities id & initial state of lua random 2024-07-09 19:40:00 +03:00
MihailRis f7d0ec438f add falling_block entity 2024-07-09 18:41:03 +03:00
MihailRis 277155e3d1 update block library docs & add block.get_picking_item(...) 2024-07-09 18:39:33 +03:00
MihailRis c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis 0a14d6220a add BodyType, fix crouching 2024-07-09 06:39:05 +03:00
MihailRis 7e80642ec3 fix third person cameras updating 2024-07-09 04:57:03 +03:00
MihailRis 371acf0008 add rigidbody.is_grounded 2024-07-09 04:41:37 +03:00
MihailRis f4653878a2 add player.get/set_entity 2024-07-09 04:27:18 +03:00
MihailRis 9d98c40528 add rigidbody.set/is_vdamping 2024-07-09 02:55:02 +03:00
MihailRis 848de01448 move built-in components to separate cpp files 2024-07-09 02:36:14 +03:00
MihailRis b4cf00a8f1 add rigidbody.set/get_gravity_scale 2024-07-09 02:24:00 +03:00
MihailRis cb37d3b00c refactor libentity.cpp 2024-07-09 02:20:22 +03:00
MihailRis f52a435aea add Hitbox.gravityMultiplier 2024-07-09 02:14:14 +03:00
MihailRis f3201b7742 fix: player flight linearDamping, add verticalDamping (bool) 2024-07-08 23:53:25 +03:00
MihailRis 3cafc39555 Merge branch 'main' into entities 2024-07-08 23:29:48 +03:00
MihailRisandGitHub 359123bb36 Merge pull request #265 from Cogitary0/main
Add lua func, docs
2024-07-08 23:25:29 +03:00
MihailRis 690b8f4807 fix: on_render called while paused 2024-07-08 22:56:22 +03:00
MihailRis 19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
MihailRis 3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
MihailRis 487ba84517 implement player entity 2024-07-08 18:45:35 +03:00
MihailRis 49aa64a033 change rigs role from assets to content units 2024-07-08 05:03:09 +03:00
MihailRis 7dfda981a8 remove Player.hitbox (WIP) 2024-07-08 03:51:46 +03:00
MihailRis 2c7b5de50a refactor src/objects/rigging 2024-07-07 23:44:57 +03:00
MihailRis 0d230f2449 add entity 'on_render' event 2024-07-07 22:59:15 +03:00
MihailRisandGitHub d099b294a2 Merge pull request #263 from MihailRis/input-funcs
add input.is_active and .is_pressed
2024-07-07 22:47:01 +03:00
MihailRis 85c485c9a3 add input.is_active and .is_pressed 2024-07-07 22:33:13 +03:00
MihailRis 77c9c5cdb7 add player entity (draft) 2024-07-07 22:19:15 +03:00
MihailRis 939cfdd851 add player entity 2024-07-07 21:26:56 +03:00
MihailRis 5522cfc231 add "Show Hitboxes" to the debug panel 2024-07-06 05:36:16 +03:00
MihailRis 9efb327270 refactor: minor cleanup 2024-07-06 02:55:19 +03:00
MihailRis 623b6ad8be remove extra debug output 2024-07-06 01:37:18 +03:00
MihailRis 0f26bbadfd fix Block.rt and ItemDef.rt initialization 2024-07-06 01:34:52 +03:00
MihailRis e6d4688f03 despawn entities after chunk unload 2024-07-06 01:30:43 +03:00
MihailRis cf2faa4a01 implement nextEntityID save/load 2024-07-05 23:41:55 +03:00
MihailRis f4d3e62b3f add chunk 'entities' flag 2024-07-05 23:26:17 +03:00
MihailRis c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis 08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis e301dbe164 fix msvc build 2024-07-05 05:27:00 +03:00
MihailRis f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis 019a88ef84 add entity:get_component(...) 2024-07-04 20:54:45 +03:00
MihailRis 8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00
MihailRis a6aa42a521 add transform:get_size(), :set_size(...) 2024-07-04 06:18:11 +03:00
MihailRis 736e5b95b6 add radial triggers 2024-07-04 06:09:29 +03:00
MihailRisandGitHub 2f2d6a69e8 Merge pull request #260 from R0STUS/patch-3
wooden door translation
2024-07-04 04:43:58 +03:00
MihailRisandGitHub 788060f4dd Merge pull request #259 from R0STUS/translation-fix
Base pack translation hotfix
2024-07-03 22:09:51 +03:00
MihailRis e6c3775286 improve drop visuals 2024-07-03 21:09:38 +03:00
MihailRis 4b084dffad add aabb drop models support 2024-07-03 19:21:05 +03:00
MihailRis fa450c1c15 fix drop-item.obj 2024-07-03 18:27:30 +03:00
MihailRis e5f2a3e87d update drop-item.obj 2024-07-03 17:50:25 +03:00
MihailRis 7c5f8107de update drop-item model 2024-07-03 17:46:03 +03:00
MihailRis 48b5be6bc9 add drop-item model, new block functions 2024-07-03 16:34:09 +03:00
MihailRis 1c4e13dc67 add block.get_textures 2024-07-03 05:15:15 +03:00
MihailRis 8302bfe98e fix msvc build 2024-07-03 04:11:57 +03:00
MihailRis 39d850a48c add modeltree:set_texture 2024-07-03 03:33:39 +03:00
MihailRis 8add39e506 add entity trigger type parameter 2024-07-02 23:54:38 +03:00
MihailRis 5b154b57b3 implement actual items dropping 2024-07-02 23:36:38 +03:00
MihailRis 89afcd15db add pickup sound 2024-07-02 22:41:13 +03:00
MihailRis 42ea88501d add modeltree:get_matrix, :set_matrix 2024-07-02 22:13:16 +03:00
MihailRisandGitHub 9472383846 Merge pull request #247 from InfiniteCoder01/main
Nix flakes
2024-07-02 21:09:46 +03:00
MihailRis 8a10ed24da optimize models 2024-07-02 20:27:41 +03:00
MihailRis 0082a3444e update component parent environment to the pack environment 2024-07-02 20:01:29 +03:00
MihailRis 3fe66e134d add modeltree:get_model(index) 2024-07-02 17:06:33 +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 56ef207b7d update entities render to use rigs 2024-07-02 15:04:41 +03:00
MihailRis 8e08f79b54 add modeltree component 2024-07-01 22:09:52 +03:00
MihailRis 824231bfd6 refactor: moved funcs to assetload 2024-07-01 17:15:48 +03:00
MihailRis 4a3487f17b add assetssetupfunc 2024-07-01 16:32:54 +03:00
MihailRis a72a37ccf7 Merge branch 'main' into entities 2024-07-01 06:21:00 +03:00
MihailRis 462484130d fix msvc build 2024-07-01 06:09:33 +03:00
MihailRis fab124a2e2 remove unnecessary 'new' operators 2024-07-01 06:00:33 +03:00
MihailRis beac332c96 update RigConfig 2024-07-01 05:30:27 +03:00
MihailRis 1b41a75cf4 add component ARGS variable 2024-07-01 00:17:58 +03:00
MihailRis da6b014d62 Merge branch 'main' into entities 2024-06-30 23:46:18 +03:00
MihailRis 26e2068164 add function item.icon(...,) 2024-06-30 23:38:57 +03:00
MihailRis 15496070e0 add "triggers" entity property 2024-06-30 23:14:02 +03:00
MihailRis 1f257d2db2 Merge branch 'main' into entities 2024-06-30 22:34:51 +03:00
MihailRis 71c754b039 fix Image for non-existing textures in atlas 2024-06-30 22:25:31 +03:00
MihailRis 316233816f Merge branch 'main' into entities 2024-06-30 22:16:14 +03:00
MihailRis 2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis 50f9bd508a update rigging 2024-06-30 20:35:42 +03:00
MihailRis d4460928e5 add Transform.dirty flag 2024-06-30 19:19:43 +03:00
MihailRis df39a9a8f3 add new model and "optimizations" 2024-06-30 18:24:30 +03:00
MihailRis 1ec5f0b170 update drop model 2024-06-30 17:23:35 +03:00
MihailRis 5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis ce9c5b97c7 fix vecn.normalize 2024-06-30 00:33:01 +03:00
MihailRis 50c714692a add entity event: on_fall 2024-06-30 00:32:02 +03:00
MihailRis 3946119a67 fix vecn.normalize 2024-06-30 00:31:25 +03:00
MihailRis e08bfd071b fix lua stack leak 2024-06-29 22:39:41 +03:00
MihailRis 982c8b132d add on_update event 2024-06-29 22:19:42 +03:00
MihailRis bb1c0b4b44 fix msvc build 2024-06-29 21:21:41 +03:00
MihailRis f42cd9e567 fix entity removal 2024-06-29 21:20:12 +03:00
MihailRis d22948f45c update entity.spawn(...): now returns an Entity instead of id 2024-06-29 21:10:23 +03:00
MihailRis fc3994446a update entity script semantics 2024-06-29 21:01:30 +03:00