455 Commits

Author SHA1 Message Date
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
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
66a1240fbc refactor ContentBuilder and add entities support 2024-06-26 03:40:14 +03:00
MihailRis
ee9f1639e9 refactor Content 2024-06-25 22:37:53 +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
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
5a01eca780 add entity models rigging draft 2024-06-24 20:57:19 +03:00
MihailRis
4b20487c58 add drop test 2024-06-24 15:39:40 +03:00
MihailRis
ba458be334 add test entities prototype 2024-06-23 22:09:04 +03:00
MihailRis
0c8df834dd fix mat4.rotate(...) 2024-06-23 02:48:29 +03:00
MihailRis
d54b6b2e58 update Assets container - template-based now 2024-06-22 22:30:14 +03:00
MihailRis
66dd54b548 add mat4.decompose 2024-06-21 19:43:45 +03:00
MihailRis
99094d2299 reduce redundancy in scripting.cpp 2024-06-19 16:51:42 +03:00
MihailRis
bcbec562ac add mat4.determinant(...) 2024-06-19 14:38:50 +03:00
MihailRis
097d4e3c6b add new mat4.tostring overload 2024-06-18 00:18:21 +03:00
MihailRis
88b21262a3 update mat4.rotate to use degrees instead of radians 2024-06-18 00:03:40 +03:00
MihailRis
b3ea3a3c51 add mat4.idt new overload 2024-06-17 23:21:30 +03:00
MihailRis
d077f8d15a add mat4.inverse, mat4.transpose 2024-06-17 23:06:31 +03:00
MihailRis
6062f3a488 add mat4.mul 2024-06-17 22:19:21 +03:00
MihailRis
760e9171e2 add mat4.translate and mat4.rotate 2024-06-17 11:24:56 +03:00
MihailRis
d12cfc6421 fix lua::pushvalue 2024-06-17 10:59:30 +03:00
MihailRis
8f046b86b9 add mat4.scale mutating overload 2024-06-17 10:56:31 +03:00
MihailRis
c7a843bc63 add mat4 library 2024-06-17 10:12:33 +03:00
MihailRis
0debe32da4 revert file.read_bytes 2024-06-16 23:23:13 +03:00
MihailRis
bfdd92ca51 update file.write_bytes to support bytearray + bit_converter bytearray support 2024-06-16 22:55:56 +03:00
MihailRis
6bf23e5cac add bytearray lua-style appending support 2024-06-16 22:07:42 +03:00
MihailRis
487189f4a6 add bytearrays concatenation support 2024-06-16 21:35:40 +03:00
MihailRis
19a012f9c6 add bytearray.remove, .insert and constructor using array 2024-06-16 21:19:49 +03:00
MihailRis
20ef11e5a2 add bytearray:append(b) 2024-06-16 21:00:50 +03:00
MihailRis
22328a9f64 update Bytearray to vector use 2024-06-16 20:40:59 +03:00
MihailRis
490727fdc0 add lua user types + bytearray 2024-06-16 20:15:26 +03:00
MihailRis
41b5c5acfc fix: ui 2024-06-16 14:18:58 +03:00