Commit Graph

69 Commits

Author SHA1 Message Date
9ef60faa86 improved perlin basic blockgen 2024-08-23 16:55:59 +10:00
efd9905f5b generalise shared prng functionality to interfaces 2024-08-23 09:13:42 +10:00
39d46da7f7 allow camera movement with the keyboard 2024-08-22 17:08:28 +10:00
83fc86d2a5 replace darwin prng with higher quality prngs 2024-08-22 14:19:45 +10:00
cad6418cff organise maths helpers 2024-08-22 06:24:30 +10:00
b24d154c93 broader randomrange extensions 2024-08-22 05:57:03 +10:00
6a57a8580e reorder collision response so zipping up is prioritised over left if player gets stuck in a block 2024-08-22 03:52:21 +10:00
7eb880f0b7 linearise block colours at generation time 2024-08-22 03:49:50 +10:00
8e3fdfdc25 more random colours 2024-08-22 03:47:01 +10:00
cb2ffe78a4 use arc4random to seed non-csprng, fleshes out random subsystem 2024-08-22 03:37:29 +10:00
394e340f09 basis for random subsystem 2024-08-22 03:09:53 +10:00
b7dba429cf buffer jump input 2024-08-20 15:14:40 +10:00
bcc56956b3 restore player collision 2024-08-20 03:41:26 +10:00
9dd56faa4e initial voxel system revamp 2024-08-20 03:21:55 +10:00
2e8f1de0a7 player physics overhaul 2024-08-20 02:17:39 +10:00
2c0b83e671 spawn and reset on top of the chunk 2024-08-20 01:03:58 +10:00
8ec9138b51
block delet 2024-08-18 18:37:32 -07:00
799c7a2a55
initial voxel implementation 2024-08-18 18:16:27 -07:00
9b455652ff higher quality depth buffer 2024-08-19 08:19:13 +10:00
8904db24a5 use floats for instance colour memory 2024-08-19 07:59:36 +10:00
f203bcc7c1 move indices to buffers 2024-08-19 07:51:43 +10:00
83972502bb ambient & diffuse colours 2024-08-19 00:24:01 +10:00
5a7b53833d specular highlights (blinn-phong) 2024-08-19 00:05:53 +10:00
94ed59055a separate shader uniforms structures 2024-08-18 01:20:19 +10:00
f7255c473c initial lighting 2024-08-18 01:10:25 +10:00
55d47a2d2f slight refactor 2024-08-17 21:54:26 +10:00
64db513f62 sRGB aware framebuffer & colour handling 2024-08-16 22:18:44 +10:00
761fb71af3 prevent gameplay time delta getting too high 2024-08-16 00:48:05 +10:00
fdec42daa3 ignore acceleration & friction for smoother movement for the time being 2024-08-16 00:43:50 +10:00
6d9dac5215 slightly less janky movement coeffs 2024-08-16 00:39:25 +10:00
6b92b538a5 crude player physics & collision response 2024-08-16 00:27:35 +10:00
60ced3691d fix memory leaks + minor refactor 2024-08-13 21:04:16 +10:00
dc88042a36 break up gameplay stuff 2024-08-13 08:38:21 +10:00
5b97a02288 allow for up to 3 frames to be processed at once 2024-08-09 21:34:55 +10:00
5f69da369d instancing 2024-08-09 21:16:07 +10:00
89780d87d4 fix incorrect viewport depth 2024-08-09 20:53:30 +10:00
477ce10e68 use controller for moving around a test plane 2024-08-08 16:05:30 +10:00
fbff9b77fd depth buffer implementation 2024-08-07 19:13:23 +10:00
3b33842260 cube now spinn in 3d 2024-08-06 17:35:38 +10:00
c30ba9a5ca use shader uniforms for scaling cube 2024-08-06 16:51:29 +10:00
10d7f8281c use private storage for textures 2024-08-06 16:34:51 +10:00
a26d80ea5b use stderr wrapper for error prints 2024-08-05 20:56:06 +10:00
c0393e2687 cube defender of the polyverse 2024-08-05 20:15:48 +10:00
5aab9ec831 alex accidentlyd vsync 2024-08-05 17:27:05 +10:00
d1e9c12f50
no retroactive, it's not supported until Xcode 15 2024-08-05 00:22:50 -07:00
9a605a3783
remove the awful tmp code 2024-08-05 00:20:12 -07:00
67e6dd0507
extract shader types to module 2024-08-05 00:19:49 -07:00
bc9289474b
compile metal in cmake 2024-08-05 00:08:16 -07:00
1fe9578b3a add fps counter 2024-08-05 16:47:10 +10:00
b08fc1c51b make high dpi support a flag in applicationconfig 2024-08-05 15:47:39 +10:00