60 Commits

Author SHA1 Message Date
MihailRis
e064ace885 update vertical damping & add rigidbody:get_vdamping 2025-09-07 17:10:13 +03:00
MihailRis
67a5741ed2 update entities physics & fix jumping mobs 2025-09-07 15:07:39 +03:00
MihailRis
dfb83f6835 add core:mob component & move player movement to scripting 2025-08-10 22:55:34 +03:00
MihailRis
7749675a61 add EnumMetadata 2025-04-13 13:53:59 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis
7fcc34ba4c fix collision detection bug 2024-11-04 23:57:10 +03:00
MihailRis
1e00a82db5 fix player collision calculation 2024-08-11 21:10:29 +03:00
MihailRis
f2a987f412 replace remaining tabs in src/ to spaces 2024-08-10 02:04:15 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
MihailRis
dafbb6903f fix PhysicsSolver in far lands 2024-08-06 18:41:35 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
5d791b3cec Merge remote-tracking branch 'origin/main' 2024-08-05 21:24:27 +03:00
MihailRis
c12619a8d6 add missing include 2024-08-05 01:39:51 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
50a388c539 fix: access to deleted Sensor 2024-08-01 17:10:30 +03:00
MihailRis
2b7b68f3c2 add 'static' entity body-type 2024-07-29 15:45:28 +03:00
MihailRis
5874abff98 fix Entities.hasBlockingInside 2024-07-10 06:40:10 +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
b4cf00a8f1 add rigidbody.set/get_gravity_scale 2024-07-09 02:24:00 +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
736e5b95b6 add radial triggers 2024-07-04 06:09:29 +03:00
MihailRis
5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis
eb2be5e8b6 add entity events: on_spawn, on_despawn 2024-06-28 12:16:31 +03:00
MihailRis
779d44b034 fix: player step height 2024-06-10 19:20:26 +03:00
MihailRis
9211e835db fix: input.add_callback and blocks placing when shift pressed 2024-06-05 18:32:43 +03:00
MihailRis
6d933ac263 converting block states to a bitfield 2024-05-31 11:13:36 +03:00
MihailRis
997cff04d1 physics-related fixes 2024-05-19 09:17:43 +03:00
MihailRis
47c6e35a0b fix 2024-05-19 08:40:43 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
3c6089225f cleanup 2024-05-06 17:35:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
Sergwest
9b0cc01e68 allows to put non-square blocks next to yourself 2024-03-19 20:34:49 +03:00
MihailRis
5c89202f3f step height > 0 top collision fix 2024-01-27 04:51:57 +03:00
MihailRis
2580b9dc2f jump climbing fix 2024-01-27 01:24:56 +03:00
MihailRis
6d60cc8276 small fix 2024-01-13 21:33:36 +03:00
MihailRis
9fd675895d physics: step height 2024-01-13 21:20:25 +03:00
MihailRis
6817e613f8 Collision inside of blocks fix test 2024-01-12 20:47:15 +03:00
A-lex-Ra
d671188680 small refactoring 2024-01-05 13:13:02 +06:00
MihailRis
acce49f188
Scripting WIP (#70)
* Scripting introduced

* AppImage workflow fixes

* AppImage workflow simplified

* README.md update

* README.md update

* small fix
2023-12-25 05:26:03 +03:00
Ara
e45d85bc5a minimize defines 2023-12-04 22:50:00 +06:00
MihailRis
1d5037893c General refactor 2023-11-30 04:30:40 +03:00
MihailRis
de134dc2e5 PhysicsSolver minor refactor, changed crouch speed 2023-11-30 00:18:31 +03:00
MihailRis
c30dc594b2 crouch fix 2023-11-29 22:27:39 +03:00
MihailRis
efacb041b5 blocks hitboxes physics 2023-11-29 21:22:42 +03:00
MihailRis
754c5b80d0
voxels renderer rebuilt, WorldFiles fix 2023-11-02 13:23:52 +03:00