Commit Graph
100 Commits
Author SHA1 Message Date
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
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
MihailRis c54be7b2b1 add standard components test 2024-06-28 18:57:40 +03:00
MihailRis e0e5faa4a8 add entity event: on_grounded 2024-06-28 12:47:45 +03:00
MihailRis eb2be5e8b6 add entity events: on_spawn, on_despawn 2024-06-28 12:16:31 +03:00
MihailRis e1eb652ef4 add entity.exists(...) 2024-06-27 16:07:40 +03:00
MihailRis 4df0f4e1e4 fix destroyed entities validation 2024-06-27 15:53:51 +03:00
MihailRis e11760a5e4 add entity.despawn(...) 2024-06-27 14:26:51 +03:00
MihailRis 6d7f950410 add Rigidbody.is_enabled, .set_enabled 2024-06-27 08:23:01 +03:00
MihailRis 1ca0761f49 update entity.spawn(...) 2024-06-27 07:50:26 +03:00
MihailRis 94dd69350d add Transform and Rigidbody components (test) 2024-06-27 07:43:38 +03:00
MihailRis f70e923c7c entity.get_rot, .set_rot 2024-06-27 05:23:44 +03:00
MihailRis 20ab48ecab add drop.json 2024-06-27 03:09:16 +03:00
MihailRis 8d41f6af11 update ContentLoader part 1 2024-06-26 23:36:01 +03:00
MihailRis f135896683 add entities indexing 2024-06-26 18:14:04 +03:00
MihailRis 66a1240fbc refactor ContentBuilder and add entities support 2024-06-26 03:40:14 +03:00
MihailRis 1acced4475 fix and refactor ContentLUT 2024-06-25 23:36:07 +03:00
MihailRis ee9f1639e9 refactor Content 2024-06-25 22:37:53 +03:00
MihailRis f3c5afa1ab add debug hitboxes render 2024-06-25 20:11:46 +03:00
MihailRis ee7328dcad Merge branch 'main' into entities 2024-06-25 19:19:31 +03:00
MihailRis ce1ece5eb9 update vector binary operation functions 2024-06-25 19:19:14 +03:00
MihailRis 330892bbcd update player.drop callback 2024-06-25 19:09:09 +03:00
MihailRis 3982de76d4 Merge branch 'main' into entities 2024-06-25 19:01:45 +03:00
MihailRis 33b21953e3 fix: lua::tovec + add vecn.tostring 2024-06-25 19:01:00 +03:00
MihailRis 9fc8f7342f Merge branch 'main' into entities 2024-06-25 18:47:15 +03:00
MihailRisandGitHub 10301bb686 Merge pull request #256 from MihailRis/add-vector-libraries
Add vec2, vec3, vec4 libraries
2024-06-25 18:45:32 +03:00
MihailRis 0c4b978466 refactor libvecn 2024-06-25 18:37:57 +03:00
MihailRis c7db73e25b add vecn.sub(...), .mul(...), .div(...), .length(...), .normalize(...) 2024-06-25 18:24:48 +03:00
MihailRis 5ede84edc7 add vec2, vec3, vec4 libraries 2024-06-25 17:25:42 +03:00
MihailRis 8e931d8f53 add entity library 2024-06-25 16:35:06 +03:00
MihailRis eacbc1b9d0 add entity.test(...) function 2024-06-24 23:36:20 +03:00
MihailRis 4b3ac95d71 optimize res/content/base/models/cube 2024-06-24 21:39:44 +03:00
MihailRis 5a01eca780 add entity models rigging draft 2024-06-24 20:57:19 +03:00
MihailRis c9fc4a85b8 fix msvc build 2024-06-24 16:53:07 +03:00
MihailRis 4b20487c58 add drop test 2024-06-24 15:39:40 +03:00
MihailRis 69ddcb7595 add test model 2024-06-24 01:05:28 +03:00
MihailRis ba458be334 add test entities prototype 2024-06-23 22:09:04 +03:00
MihailRisandGitHub 6f618ae3ff Merge pull request #254 from MihailRis/model-batch
add models and ModelBatch + Assets refactor
2024-06-23 02:56:59 +03:00
MihailRis 0c8df834dd fix mat4.rotate(...) 2024-06-23 02:48:29 +03:00
MihailRis 4fdfeb5e88 fix msvc build 2024-06-23 02:07:52 +03:00
MihailRis 30ac1a58ee remove test code 2024-06-23 02:05:13 +03:00
MihailRis 94fe5eeb5b update ModelBatch semantics 2024-06-23 01:57:28 +03:00
MihailRis ea0add3017 feat: models loading 2024-06-22 23:43:56 +03:00
MihailRis d54b6b2e58 update Assets container - template-based now 2024-06-22 22:30:14 +03:00
MihailRis 848d121099 remove test code 2024-06-22 21:35:21 +03:00
MihailRis e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
MihailRis a9640fff36 add ModelBatch.translate(...), .rotate(...), .scale(...) 2024-06-21 20:55:14 +03:00
MihailRis 8e26ead76c Merge branch 'main' into model-batch 2024-06-21 19:44:12 +03:00
MihailRis 66dd54b548 add mat4.decompose 2024-06-21 19:43:45 +03:00
MihailRis 1a12a6923a remove ModelBatch.test(...) 2024-06-21 19:19:20 +03:00
MihailRis 6ba38ee167 add graphics/core/Model 2024-06-21 02:30:35 +03:00
MihailRis 916d1c1408 update ModelBatch.box semantics 2024-06-21 01:43:26 +03:00
MihailRis a53dc7e0df fix ModelBatch.box(...) 2024-06-20 22:16:09 +03:00
MihailRis 57a0377b36 fix ModelBatch overflow 2024-06-20 21:54:06 +03:00
MihailRis 3235740333 add actual lights 2024-06-20 21:18:40 +03:00
MihailRis 3d2deaf369 add ModelBatch pseudo-lights 2024-06-20 20:15:03 +03:00