Commit Graph

148 Commits

Author SHA1 Message Date
2e10dfe439 aggressively prevent physics explosions 2024-09-21 23:08:46 +10:00
e6690c3e2b more complicated viewport resizing logic to make sure viewport offset works 2024-09-21 22:06:48 +10:00
86316ee42c spritebatch affine draw command 2024-09-21 20:05:53 +10:00
b5b3e4cb16 spritebatch viewport changes 2024-09-21 19:35:01 +10:00
9640a4042f rotating flip flags 2024-09-21 10:21:26 +10:00
1f5c59fe77 first round of spritebatch improvements 2024-09-14 15:14:44 +10:00
Alex Zenla
93d7b4e08a
fix(ios): detect availability of storageModeManaged 2024-09-13 21:50:32 -04:00
79013c24c4 initial sprite batch implementation & testbed 2024-09-13 18:59:14 +10:00
c0de651947 expand 2d maths classes 2024-09-13 17:11:46 +10:00
d7cb051fb7 split core renderer stuff into metal subfolder 2024-09-12 11:37:08 +10:00
667201fe49 renderer: internal support for blend modes 2024-09-10 10:38:27 +10:00
Alex Zenla
f8a80c6b38
Request more memory from the system on iPad 2024-09-08 21:26:07 -04:00
b6085c8f1c switch permutation type to ubyte 2024-09-09 04:11:26 +10:00
493790bd64 colour no longer requires SIMD type as backing store 2024-09-09 03:23:15 +10:00
d520623492 replace expensive srgb conversion with a simple gamma ramp in chunk mesh builder 2024-09-09 03:02:31 +10:00
d4b1377238 decrease memory usage by storing chunk colours as 8bit (at the cost of slower mesh generation) 2024-09-09 02:34:04 +10:00
53e1f9cc7e requires signing bullshit so it has to go for now, sorry alex 2024-09-09 02:26:02 +10:00
935aa3e765 refactor chunk rendering and fix chunk rendering precision loss at large positions 2024-09-09 02:21:15 +10:00
Alex Zenla
6e99401474
improvements to iOS support 2024-09-07 22:47:04 -04:00
8346dee2a6 make chunkid id field private 2024-09-08 04:21:26 +10:00
b804030594 turn the ChunkID type alias into a real type 2024-09-08 03:47:26 +10:00
76b61c49ae ravine gaming 2024-09-07 13:50:40 +10:00
ee54e011a1 world regen clears all chunks 2024-09-07 04:05:50 +10:00
c80e456d3e fix player ground detection 2024-09-07 00:09:51 +10:00
2a11080eba move some shared binds to a setup stage 2024-09-06 23:54:23 +10:00
34ec6f71eb model batch untz untz untz 2024-09-06 23:07:53 +10:00
Alex Zenla
54ed81b15d
fix ghost chunks and wait for generation on startup 2024-09-05 21:16:29 -04:00
57b97148a4 initial modelbatch 2024-09-06 06:37:19 +10:00
0289992e4b gelato world has reiceve updat e 2024-09-06 01:38:57 +10:00
fed6a26882 technicolour icecream hellscape terrain 2024-09-05 22:32:30 +10:00
301aa28c4d fix significant oversights in noise & random 2024-09-05 21:46:49 +10:00
2a4eb2283a player physics pass 2024-09-04 22:15:29 +10:00
080522e01b tower world gen 2024-09-04 01:38:27 +10:00
f77b64cc85 fail in a non crashy way for big chunk model generation 2024-09-04 00:19:08 +10:00
Alex Zenla
cfb985cff6
implement parallel chunk mesh building 2024-09-03 09:48:41 -04:00
94ae0c26b1 adjust chunk generation range 2024-09-03 23:42:28 +10:00
Alex Zenla
5e40e12c8b
implement infinite worlds with threaded chunk generation 2024-09-03 09:18:55 -04:00
Alex Zenla
6f985ce1c9
Merge pull request #6 from GayPizzaSpecifications/mobile-support
Official iOS/iPadOS/visionOS/tvOS support
2024-09-03 05:45:29 -04:00
Alex Zenla
224bb6616c
Official iOS/iPadOS/visionOS/tvOS support 2024-09-03 05:39:45 -04:00
Alex Zenla
788cd28994
Merge pull request #5 from GayPizzaSpecifications/use-sdl-main
use main.m and SDL_main functionality
2024-09-03 05:04:35 -04:00
Alex Zenla
b0ccd3b335
use main.m and SDL_main functionality 2024-09-03 05:01:18 -04:00
a dinosaur
e4194ff2ec
Merge pull request #4 from GayPizzaSpecifications/thread-current-interactive
set main thread qos to userInteractive
2024-09-03 16:55:09 +10:00
Alex Zenla
c4f510417f
set main thread qos to userInteractive 2024-09-02 16:56:08 -04:00
f4d78df0c9 noise project folder 2024-09-03 02:58:25 +10:00
c24e6245fe move noise stuff 2024-09-03 02:57:29 +10:00
60e6059d61 hopefully more robust platform detection 2024-09-03 02:52:03 +10:00
83c85126e7 use instance buffer storage mode most appropriate for the hardware 2024-09-03 02:08:12 +10:00
427116e6bc use private storage for mesh buffers 2024-09-03 02:03:38 +10:00
0cdc495434 don't damage chunk if a one block change doesn't touch a solid 2024-09-02 19:59:37 +10:00
d35de84221 rearrange some sources 2024-09-02 19:13:29 +10:00