feat: simpler entities - 3x3 rectangle with hand (10 sub-bodies)

- Entity: 10 sub-bodies (was 16), radius 0.45 (was 0.7)
- Shape: 3x3 body rectangle + 1 hand cell on right side
- Much more compact, world appears larger relative to character
- 13 constraints (grid pattern + hand attachment)
- Spawn height adjusted for smaller body
This commit is contained in:
Emil
2026-06-20 21:42:16 +03:00
parent e96744b958
commit 595edc3006
3 changed files with 181 additions and 198 deletions
+155 -155
View File
@@ -1,28 +1,24 @@
=== Verbatim Headless Run: 30 ticks ===
=== Verbatim Headless Run: 20 ticks ===
World: 250x250
Player start: (125.0, 240.7)
Camera: (85, 228)
Player start: (125.0, 244.0)
Camera: (85, 232)
=== Tick 0 (initial state) ===
28
29
30
31
32
33
34
35
36
37 @
38 @@
39 @ @@
40 @ @ @ @
41 @ @
37
38
39
40
41
42
43 @ @ """""""""""""
44""" @ @ "":::::::::::::"""
45:::""" """::::::::::::::::::""
43 @@@ """""""""""""
44""" @@@@ "":::::::::::::"""
45:::""" @@@ """::::::::::::::::::""
46::::::"" "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@@ -30,10 +26,15 @@ Camera: (85, 228)
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,240.7) bodies=16/16 on_fire=false"
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,244.0) bodies=10/10 on_fire=false"
Entities: 1
=== Tick 3 ===
=== Tick 2 ===
32
33
34
35
@@ -44,10 +45,10 @@ Entities: 1
40
41
42
43 @ """""""""""""
44""" @@@ "":::::::::::::"""
45:::""" @ @ """::::::::::::::::::""
46::::::"" @@@@@"":::::::::::::::::::::::"""
43 @@@ """""""""""""
44""" @@@@ "":::::::::::::"""
45:::""" @@@ """::::::::::::::::::""
46::::::"" "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
@@ -58,12 +59,42 @@ Entities: 1
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.2,245.7) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(125.0,244.1) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.2155, 245.7384))
Alive entities: Player(hp=100, pos=(125.0, 244.11879))
=== Tick 4 ===
32
33
34
35
36
37
38
39
40
41
42
43 @@@ """""""""""""
44""" @@@@ "":::::::::::::"""
45:::""" @@@ """::::::::::::::::::""
46::::::"" "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,244.4) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.0, 244.38817))
=== Tick 6 ===
32
33
34
35
@@ -74,10 +105,39 @@ Alive entities: Player(hp=100, pos=(125.2155, 245.7384))
40
41
42
43 @@ """""""""""""
44""" @ @@ "":::::::::::::"""
45:::""" @ """::::::::::::::::::""
46::::::"" @@@@@"":::::::::::::::::::::::"""
43 @@@ """""""""""""
44""" @@@@ "":::::::::::::"""
45:::""" @@@ """::::::::::::::::::""
46::::::"" "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,244.8) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.0, 244.79922))
=== Tick 8 ===
33
34
35
36
37
38
39
40
41
42
43 """""""""""""
44""" @@@ "":::::::::::::"""
45:::""" @@@@ """::::::::::::::::::""
46::::::"" @@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
@@ -89,11 +149,11 @@ Alive entities: Player(hp=100, pos=(125.2155, 245.7384))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.1,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(125.0,245.3) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.12183, 245.58759))
Alive entities: Player(hp=100, pos=(125.0, 245.3436))
=== Tick 9 ===
=== Tick 10 ===
33
34
35
@@ -104,11 +164,11 @@ Alive entities: Player(hp=100, pos=(125.12183, 245.58759))
40
41
42
43" @@ """""""""""""
44:""" @ @ @ "":::::::::::::"""
45::::""" @ """::::::::::::::::::""
46:::::::"" @@@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
43 """""""""""""
44""" @@@ "":::::::::::::"""
45:::""" @@@@ """::::::::::::::::::""
46::::::"" @@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
@@ -119,9 +179,9 @@ Alive entities: Player(hp=100, pos=(125.12183, 245.58759))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.960976, 245.61632))
Alive entities: Player(hp=100, pos=(125.0, 245.55))
=== Tick 12 ===
33
@@ -134,11 +194,11 @@ Alive entities: Player(hp=100, pos=(124.960976, 245.61632))
40
41
42
43" @@ """""""""""""
44:""" @@ @ "":::::::::::::"""
45::::""" @ """::::::::::::::::::""
46:::::::"" @@@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
43 """""""""""""
44""" @@@ "":::::::::::::"""
45:::""" @@@@ """::::::::::::::::::""
46::::::"" @@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
@@ -149,11 +209,11 @@ Alive entities: Player(hp=100, pos=(124.960976, 245.61632))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(124.9,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.91231, 245.6163))
Alive entities: Player(hp=100, pos=(125.0, 245.55))
=== Tick 15 ===
=== Tick 14 ===
33
34
35
@@ -164,10 +224,10 @@ Alive entities: Player(hp=100, pos=(124.91231, 245.6163))
40
41
42
43" @@ """""""""""""
44:""" @ @ @ "":::::::::::::"""
45::::""" @ """::::::::::::::::::""
46:::::::"" @@@@ "":::::::::::::::::::::::"""
43" """""""""""""
44:""" @@@ "":::::::::::::"""
45::::""" @@@@ """::::::::::::::::::""
46:::::::"" @@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
@@ -179,9 +239,39 @@ Alive entities: Player(hp=100, pos=(124.91231, 245.6163))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(124.9,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(124.6,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.94001, 245.61577))
Alive entities: Player(hp=100, pos=(124.55, 245.55))
=== Tick 16 ===
33
34
35
36
37
38
39
40
41
42
43" """""""""""""
44:""" @@@ "":::::::::::::"""
45::::""" @@@@ """::::::::::::::::::""
46:::::::"" @@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(124.6,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.55, 245.55))
=== Tick 18 ===
33
@@ -194,10 +284,10 @@ Alive entities: Player(hp=100, pos=(124.94001, 245.61577))
40
41
42
43" @@ """""""""""""
44:""" @ @ @ "":::::::::::::"""
45::::""" @ """::::::::::::::::::""
46:::::::"" @@@@ "":::::::::::::::::::::::"""
43" """""""""""""
44:""" @@@ "":::::::::::::"""
45::::""" @@@@ """::::::::::::::::::""
46:::::::"" @@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
@@ -209,11 +299,11 @@ Alive entities: Player(hp=100, pos=(124.94001, 245.61577))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(124.6,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.97533, 245.61575))
Alive entities: Player(hp=100, pos=(124.55, 245.55))
=== Tick 21 ===
=== Tick 20 ===
33
34
35
@@ -224,10 +314,10 @@ Alive entities: Player(hp=100, pos=(124.97533, 245.61575))
40
41
42
43" @@ """""""""""""
44:""" @ @ @ "":::::::::::::"""
45::::""" @ """::::::::::::::::::""
46:::::::"" @@@@ "":::::::::::::::::::::::"""
43" """""""""""""
44:""" @@@ "":::::::::::::"""
45::::""" @@@@ """::::::::::::::::::""
46:::::::"" @@@ "":::::::::::::::::::::::"""
47:::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
@@ -239,97 +329,7 @@ Alive entities: Player(hp=100, pos=(124.97533, 245.61575))
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Player: "Player hp=100.0/100.0 pos=(124.6,245.6) bodies=10/10 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(124.99407, 245.61584))
=== Tick 24 ===
33
34
35
36
37
38
39
40
41
42
43 @@ """""""""""""
44""" @ @ @ "":::::::::::::"""
45:::""" @ """::::::::::::::::::""
46::::::"" @@@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.003, 245.61584))
=== Tick 27 ===
33
34
35
36
37
38
39
40
41
42
43 @@ """""""""""""
44""" @ @ @ "":::::::::::::"""
45:::""" @ """::::::::::::::::::""
46::::::"" @@@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Entities: 1
Alive entities: Player(hp=100, pos=(125.00714, 245.61584))
=== Tick 30 ===
33
34
35
36
37
38
39 g
40 gg
41 g gg
42 g g g g
43 g g @@ """""""""""""
44""" @ @ @ "":::::::::::::"""
45:::""" g g @ """::::::::::::::::::""
46::::::"" g g @@@@ "":::::::::::::::::::::::"""
47::::::::"""""""""""""""""""""""""""""""""""::::::::::::::::::::::::::::"""""""""
48::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
49################################################################################
50????????????????????????????????????????????????????????????????????????????????
51????????????????????????????????????????????????????????????????????????????????
52????????????????????????????????????????????????????????????????????????????????
53????????????????????????????????????????????????????????????????????????????????
54????????????????????????????????????????????????????????????????????????????????
55????????????????????????????????????????????????????????????????????????????????
56????????????????????????????????????????????????????????????????????????????????
57????????????????????????????????????????????????????????????????????????????????
Player: "Player hp=100.0/100.0 pos=(125.0,245.6) bodies=16/16 on_fire=false"
Entities: 2
Alive entities: Player(hp=100, pos=(125.009735, 245.61584)), Goblin(hp=40, pos=(110.0, 242.69376))
Alive entities: Player(hp=100, pos=(124.55, 245.55))