2111 Commits

Author SHA1 Message Date
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
MihailRis
0ebc3da7f6 update components loading scheme 2024-07-10 07:15:07 +03:00
MihailRis
8edf9440a3 reduce redundancy 2024-07-10 06:51:14 +03:00
MihailRis
5874abff98 fix Entities.hasBlockingInside 2024-07-10 06:40:10 +03:00
MihailRis
93565d19ad fix docs 2024-07-10 05:23:10 +03:00
MihailRis
8db259f3f3 add english version of the entity-properties.md 2024-07-10 05:15:41 +03:00
MihailRis
d40bbff0d3 add entity-properties.md 2024-07-10 05:03:39 +03:00
MihailRis
e0358fe2db add 'blocking' entity property 2024-07-10 04:56:02 +03:00
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
MihailRis
359123bb36
Merge pull request #265 from Cogitary0/main
Add lua func, docs
2024-07-08 23:25:29 +03:00
Cogi Asd
175cfdf488 fix func 2024-07-08 23:15:53 +03:00
MihailRis
690b8f4807 fix: on_render called while paused 2024-07-08 22:56:22 +03:00
Cogi Asd
e55d6a36e3 fix func in libvecn 2024-07-08 22:48:05 +03:00
MihailRis
19c6a82ab2 refactor Entities load + loading velocity 2024-07-08 22:47:01 +03:00
Cogi Asd
783050c488 ref: func in libvecn.cpp 2024-07-08 22:29:29 +03:00
Cogi Asd
48f5926f1d small fix in libvecn.cpp 2024-07-08 22:13:16 +03:00
Cogi Asd
ae62494dd2 final overload for functions 2024-07-08 22:10:55 +03:00
Cogi Asd
c8dc491e4e add: overloading for functions in libvecn.cpp 2024-07-08 21:43:54 +03:00
Cogi Asd
75344023d8 ref: name in libworld.cpp & docs 2024-07-08 21:29:16 +03:00
Cogi Asd
a1283d7f7b fix docs 2024-07-08 20:38:30 +03:00