Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ tools/.cache/
# Test + screenshot artefacts
shooter_*.png
shooter_selftest_*.png
tools/.testout/

# Windows build + run artefacts
main.exe
main.lib
.perry-cache/
_compile.log
_gamepid.txt
_run_err.txt
_run_out.txt
Binary file modified assets/models/building_floor.glb
Binary file not shown.
Binary file modified assets/models/building_wall.glb
Binary file not shown.
Binary file added assets/models/calib_rig.glb
Binary file not shown.
Binary file added assets/models/house.glb
Binary file not shown.
Binary file modified assets/models/prop_barrel.glb
Binary file not shown.
Binary file modified assets/models/prop_bed.glb
Binary file not shown.
Binary file modified assets/models/prop_chair.glb
Binary file not shown.
Binary file modified assets/models/prop_crate.glb
Binary file not shown.
Binary file added assets/models/prop_flower.glb
Binary file not shown.
Binary file added assets/models/prop_grasstuft.glb
Binary file not shown.
Binary file modified assets/models/prop_table.glb
Binary file not shown.
Binary file modified assets/models/prop_tree.glb
Binary file not shown.
Binary file modified assets/models/terrain_hills.glb
Binary file not shown.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
},
"dependencies": {
"bloom": "file:../engine/"
},
"perry": {
"allow": {
"nativeLibrary": ["bloom", "bloom/core", "bloom/scene", "bloom/physics"]
}
}
}
56 changes: 28 additions & 28 deletions src/generated/terrain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,34 +165,34 @@ export const TERRAIN_HEIGHTS: number[] = [
0.4048, 0.2353, 0.1148, 0.0397, 0.0030, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0040, 0.0241, 0.0366, 0.0424, 0.0433,
0.0420, 0.0411, 0.0411, 0.0430, 0.0506, 0.0631, 0.0795, 0.0984, 0.1187, 0.1387, 0.1570, 0.1721, 0.1829, 0.1882, 0.1869, 0.1786,
0.5884, 0.7254, 0.8686, 1.0130, 1.1523, 1.2796, 1.3879, 1.4706, 1.5220, 1.5383, 1.5174, 1.4599, 1.3685, 1.2482, 1.0649, 0.7729,
0.5244, 0.3257, 0.1782, 0.0789, 0.0209, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0120, 0.0227, 0.0269, 0.0261, 0.0227,
0.0196, 0.0198, 0.0237, 0.0330, 0.0477, 0.0668, 0.0889, 0.1126, 0.1362, 0.1582, 0.1772, 0.1918, 0.2008, 0.2035, 0.1990, 0.1869,
0.6504, 0.7973, 0.9510, 1.1060, 1.2562, 1.3942, 1.5127, 1.6048, 1.6645, 1.6873, 1.6712, 1.6162, 1.5252, 1.4030, 1.2565, 0.9591,
0.6771, 0.4457, 0.2676, 0.1402, 0.0574, 0.0104, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0050, 0.0137, 0.0158, 0.0129, 0.0072, 0.0016,
-0.0006, 0.0036, 0.0149, 0.0323, 0.0546, 0.0806, 0.1083, 0.1362, 0.1624, 0.1854, 0.2038, 0.2165, 0.2225, 0.2212, 0.2124, 0.1958,
0.7102, 0.8669, 1.0309, 1.1968, 1.3583, 1.5079, 1.6379, 1.7410, 1.8106, 1.8421, 1.8327, 1.7824, 1.6936, 1.5714, 1.4224, 1.1875,
0.8692, 0.6018, 0.3892, 0.2299, 0.1186, 0.0470, 0.0055, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0020, 0.0082, 0.0080, 0.0027, -0.0056, -0.0139, -0.0188,
-0.0169, -0.0045, 0.0161, 0.0425, 0.0733, 0.1064, 0.1397, 0.1714, 0.1994, 0.2223, 0.2388, 0.2479, 0.2493, 0.2427, 0.2281, 0.2060,
0.7672, 0.9333, 1.1076, 1.2847, 1.4581, 1.6202, 1.7629, 1.8784, 1.9599, 2.0019, 2.0014, 1.9579, 1.8734, 1.7528, 1.6029, 1.4322,
1.1068, 0.8002, 0.5494, 0.3543, 0.2106, 0.1109, 0.0460, 0.0063, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0016, 0.0051, 0.0024, -0.0055, -0.0165, -0.0278, -0.0358, -0.0366,
-0.0259, -0.0019, 0.0293, 0.0661, 0.1062, 0.1470, 0.1862, 0.2212, 0.2503, 0.2717, 0.2846, 0.2884, 0.2833, 0.2695, 0.2476, 0.2185,
0.8205, 0.9958, 1.1803, 1.3688, 1.5546, 1.7299, 1.8864, 2.0159, 2.1109, 2.1654, 2.1759, 2.1411, 2.0629, 1.9458, 1.7964, 1.6232,
1.3950, 1.0463, 0.7538, 0.5191, 0.3393, 0.2077, 0.1159, 0.0547, 0.0150, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0027, 0.0032, -0.0022, -0.0127, -0.0266, -0.0411, -0.0525, -0.0564, -0.0487,
-0.0230, 0.0134, 0.0571, 0.1057, 0.1564, 0.2058, 0.2509, 0.2891, 0.3182, 0.3368, 0.3442, 0.3407, 0.3268, 0.3036, 0.2725, 0.2348,
0.8694, 1.0533, 1.2477, 1.4475, 1.6460, 1.8352, 2.0065, 2.1511, 2.2611, 2.3299, 2.3532, 2.3292, 2.2591, 2.1471, 1.9996, 1.8251,
1.6331, 1.3440, 1.0070, 0.7292, 0.5093, 0.3420, 0.2196, 0.1332, 0.0740, 0.0341, 0.0073, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000,
0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0019, 0.0044, 0.0017, -0.0065, -0.0199, -0.0368, -0.0547, -0.0697, -0.0774, -0.0730, -0.0484,
-0.0075, 0.0434, 0.1016, 0.1640, 0.2267, 0.2857, 0.3373, 0.3783, 0.4065, 0.4207, 0.4206, 0.4072, 0.3820, 0.3470, 0.3044, 0.2563,
0.9125, 1.1044, 1.3083, 1.5192, 1.7303, 1.9336, 2.1203, 2.2810, 2.4072, 2.4916, 2.5292, 2.5176, 2.4574, 2.3520, 2.2079, 2.0332,
1.8377, 1.6315, 1.3108, 0.9869, 0.7236, 0.5168, 0.3600, 0.2446, 0.1621, 0.1042, 0.0643, 0.0370, 0.0185, 0.0066, 0.0000, 0.0000,
0.0000, 0.0000, 0.0035, 0.0071, 0.0087, 0.0069, 0.0005, -0.0111, -0.0276, -0.0478, -0.0692, -0.0882, -0.1003, -0.1000, -0.0788, -0.0349,
0.0220, 0.0896, 0.1646, 0.2428, 0.3193, 0.3891, 0.4477, 0.4914, 0.5178, 0.5258, 0.5161, 0.4902, 0.4510, 0.4014, 0.3447, 0.2839,
0.5884, 0.7254, 0.1115, 0.1788, 0.2438, 0.3031, 0.3536, 0.3922, 0.4162, 0.4237, 0.4140, 0.3872, 0.3446, 0.2885, 0.2030, 0.0669,
-0.0490, -0.1417, -0.2104, -0.2567, -0.2838, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935,
-0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2935, -0.2879, -0.2829, -0.2810, -0.2814, -0.2830,
-0.2844, -0.2843, -0.2825, -0.2781, -0.2713, -0.2624, -0.2521, -0.2410, -0.2300, -0.2198, -0.2109, -0.2041, -0.1999, -0.1987, -0.2008, 0.1869,
0.6504, 0.7973, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, 0.1958,
0.7102, 0.8669, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, 0.2060,
0.7672, 0.9333, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, 0.2185,
0.8205, 0.9958, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, 0.2348,
0.8694, 1.0533, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500,
-0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, -0.5500, 0.2563,
0.9125, 1.1044, 0.4639, 0.5789, 0.6941, 0.8050, 0.9068, 0.9945, 1.0634, 1.1094, 1.1300, 1.1236, 1.0907, 1.0333, 0.9546, 0.8594,
0.7527, 0.6402, 0.4652, 0.2885, 0.1448, 0.0320, -0.0535, -0.1165, -0.1615, -0.1931, -0.2148, -0.2298, -0.2398, -0.2464, -0.2499, -0.2499,
-0.2499, -0.2499, -0.2480, -0.2461, -0.2452, -0.2462, -0.2497, -0.2560, -0.2650, -0.2760, -0.2877, -0.2980, -0.3046, -0.3045, -0.2929, -0.2690,
-0.2379, -0.2011, -0.1601, -0.1175, -0.0758, -0.0377, -0.0057, 0.0182, 0.0325, 0.0369, 0.0316, 0.0175, -0.0039, -0.0309, -0.0619, 0.2839,
0.9487, 1.1476, 1.3601, 1.5813, 1.8047, 2.0220, 2.2240, 2.4011, 2.5442, 2.6452, 2.6984, 2.7005, 2.6515, 2.5543, 2.4149, 2.2414,
2.0434, 1.8312, 1.6150, 1.2922, 0.9825, 0.7330, 0.5379, 0.3897, 0.2799, 0.2001, 0.1431, 0.1029, 0.0748, 0.0556, 0.0427, 0.0345,
0.0294, 0.0260, 0.0229, 0.0184, 0.0112, 0.0001, -0.0156, -0.0358, -0.0596, -0.0848, -0.1082, -0.1253, -0.1303, -0.1138, -0.0695, -0.0090,
Expand Down
Loading