IntegratedQuantum
33ca2c1d3a
Remove irrelevant calculation
2024-06-23 12:25:47 +02:00
IntegratedQuantum
f7daa73e48
Solve the friction equation exactly instead of using a numerical approximation.
...
fixes #512
also changes behavior to stop moving when in unloaded chunks.
fixes #518 fixes #516
And finally adds some better parameters instead of using magic constants everywhere.
2024-06-23 12:20:21 +02:00
IntegratedQuantum
47752e37f3
Hide technical blocks, like opaque leaves, from the creative inventory.
...
fixes #507
2024-06-23 11:17:57 +02:00
IntegratedQuantum
d56db52835
Store height map as an integer, which makes it more compressible, reducing file size by ~5×.
...
fixes #479
2024-06-22 11:17:12 +02:00
careeoki
4ffd51217b
Birch trees, updated Forest ( #511 )
...
* Add birch textures + pine coloru tweaks
* Birch block files
* update Forest with birch trees
* Minor texture tweaks
* Make oak leaves more transparent
2024-06-22 10:16:12 +02:00
OneAvargeCoder193
52280e4233
Simplified the collision resolution code ( #501 )
...
* Simplified the collision resolution code
* Remove the wait from the main loop
2024-06-19 19:07:21 +02:00
OneAvargeCoder193
ab18231f06
Set velocity to 0 when colliding into a wall
2024-06-19 18:47:01 +02:00
OneAvargeCoder193
e936762f81
Fix bug where speed increases the lower the fps
2024-06-19 18:24:09 +02:00
OneAvargeCoder193
4e7f365f0c
Added collisions and a first person controller ( #489 )
...
* Added collisions and first person controller
* Made collision detection not have 12 if statements
* Added some more stuff
* Delete assets/backgrounds/client_539.png
* Fix issues with fences
* Made stepping work
* Added momentum and tweaked speed and friction values so you have less control in the air
* Remove debug print
* Avoid expensive copy of the model struct.
---------
Co-authored-by: IntegratedQuantum <jahe788@gmail.com>
2024-06-19 10:22:58 +02:00
careeoki
0289a5bc39
Dedicated fence textures, new Workbench and torch textures ( #491 )
...
* Update blocks for texture changes
* Texture cjhagnes
2024-06-19 09:44:33 +02:00
careeoki
91fa3f75e9
Update opaque leaves
2024-06-19 09:42:50 +02:00
IntegratedQuantum
3bd73cb1aa
Fix asset path
2024-06-18 19:23:55 +02:00
IntegratedQuantum
4d92c18a07
Delete saves directory
...
fixes #453
2024-06-18 19:16:14 +02:00
IntegratedQuantum
e1b15fd8cf
Add the save_creation screen.
...
fixes #79
2024-06-18 19:13:07 +02:00
IntegratedQuantum
3a9b228efe
Add lodReplacement blocks to optimize leaves and remove torches in LOD.
...
fixes #482
2024-06-18 10:16:47 +02:00
careeoki
284a38eadd
Make leaf filenames consistent, update opaque textures ( #483 )
...
* Make leaf filenames consistent, add opaque textures
* Delete textures/oak_leaves_transparent.png
* Update oak_leaves.json for texture changes
* Update non degradable leaves
* Rename oak log top
* Nondegradable oak leaves are alwaysviewthrough
* Delete assets/cubyz/blocks/textures/oak_log_rings_top.png
* Rename to "oak_log", consistent with pine log
* Delete assets/cubyz/blocks/textures/oak_log_side.png
* Update oak_log.json for name changes
* Update oak_top.json
* Remove the non_degradable pine needles
---------
Co-authored-by: IntegratedQuantum <jahe788@gmail.com>
2024-06-18 10:06:53 +02:00
archbirdplus
6ca702b67d
Link Cubyz more correctly. ( #461 )
...
* Do not add cubyz_deps rpath.
* link deps as object file; add macos rpaths
2024-06-18 08:56:08 +02:00
IntegratedQuantum
eabfa32dfe
Add planar rotation for blocks like pumpkins.
2024-06-17 19:47:05 +02:00
IntegratedQuantum
961ae104fb
Check structures up to 16 blocks outside the current chunk.
...
fixes #203
Larger structures than that will need a different way of generating.
2024-06-17 15:47:45 +02:00
IntegratedQuantum
7e6c4385fc
Fix data race in chat window.
...
fixes #407
2024-06-17 15:40:14 +02:00
IntegratedQuantum
e16c286735
Reduce resource usage when the game is minimized.
...
fixes #294
2024-06-17 15:09:30 +02:00
IntegratedQuantum
5aadd69e70
Fix background image recording.
...
fixes #471
2024-06-17 14:52:33 +02:00
IntegratedQuantum
d8c2a70ac5
Fix crash when changing anisotropic filtering
...
fixes #468
2024-06-17 12:40:58 +02:00
IntegratedQuantum
3de8271671
Store biome and height maps, interpolate height map with surrounding terrain on load, store heightmaps for old worlds that didn't have them on load.
...
fixes #350
2024-06-17 11:46:44 +02:00
OneAvargeCoder193
43f37763ce
Added biome fog ( #466 )
...
* Added biome dependent fog
* Fix day cycle length
* Fixed indentation
* Remove world changes
* fixed the world frfr this time
* fixed the world actually i promise this time
* WHYYYYYYYYYYYYYYY
* PLEEEEEEEEEEEAAAAAAAAAAAAAAASEEEEEEEEE BE THE LAST COMIT
* Fixes
* more fixes
* Remove world changes
* Remove biomeChecksum
2024-06-16 14:50:52 +02:00
IntegratedQuantum
582e35a670
Adjust the format_check.py to the new zig cache folder.
2024-06-16 11:49:33 +02:00
careeoki
0bb08097c7
Add magma and lava textures
2024-06-16 11:45:01 +02:00
careeoki
c89a87be78
Add lava and magma
2024-06-16 11:45:01 +02:00
careeoki
076d3e87df
Update README.md texture guidelines
2024-06-16 11:27:49 +02:00
careeoki
e83f574481
New soil texture ( #463 )
...
* New soil texture
* Tweak soil palette
2024-06-16 11:24:06 +02:00
IntegratedQuantum
df0e809845
Pressing escape now unselects the selected text input.
...
fixes #436
fixes #404
2024-06-11 15:45:12 +02:00
IntegratedQuantum
129682821f
Biomes that weren't found should have a chance of zero.
2024-06-11 12:46:06 +02:00
careeoki
68edf31ea9
Add Brick blocks ( #459 )
...
* Add brick textures
* Add brick blocks
2024-06-11 12:36:24 +02:00
IntegratedQuantum
020a811a9a
Add a biome palette.
...
A step towards #350
2024-06-10 14:37:38 +02:00
IntegratedQuantum
5f9d740843
Optimize meshing using bitmasks to reduce the number of blocks that need to be sampled from the chunk.
...
Improves meshing time from 30s to just 8s at render distance 12
2024-06-09 15:45:00 +02:00
IntegratedQuantum
fffb94046d
Add a FOV slider.
...
fixees #226
2024-06-08 17:58:06 +02:00
IntegratedQuantum
d179868243
Improve anisotropic filtering setting.
2024-06-08 15:34:21 +02:00
IntegratedQuantum
01e4184387
Revert "Optimize canBeSeenThroughOtherBlock
" since it caused visual bugs.
...
This reverts commit c405f336ddc7ecd0ab3bd0821d4dd10fccbcd4de.
2024-06-08 14:58:58 +02:00
Weltspear
1df04351de
Made middle mouse click give player selected block ( #458 )
...
* Made middle mouse click give player selected block
* Implement suggested changes
* Removed releaseAcquireSelectedBlock
---------
Co-authored-by: Weltspear <>
2024-06-08 14:16:17 +02:00
IntegratedQuantum
afb16fdc30
Rename colorado stone to ferrock
2024-06-08 10:44:40 +02:00
careeoki
7e437ac868
Glacite and updated Peaks biome ( #455 )
...
* Add glacite texture
* Add glacite block
* Update peak biome with glacite
* Tweak peaks meekly
* Brighten Glacite by like 5
2024-06-08 10:13:41 +02:00
IntegratedQuantum
d579262b38
Make some more stone types chiselable.
2024-06-07 21:24:09 +02:00
careeoki
848b3d5526
Redesign Colorado ( #454 )
...
* Overhaul colorado_mountains
* Update colorado stone
2024-06-07 21:20:28 +02:00
IntegratedQuantum
6604c9282b
Fix block selection when the resolution scale has changed.
...
Fixes #450
2024-06-07 14:43:00 +02:00
IntegratedQuantum
dfbad3f596
Fix backface culling for negative coordinates.
...
fixes #451
2024-06-07 13:43:35 +02:00
IntegratedQuantum
9caf51953d
Update zig version to 0.13.0
2024-06-07 13:40:22 +02:00
IntegratedQuantum
c225efa1de
Implement pre-vertex-shader backface culling on the GPU.
...
Decreases frametime by ~16% on my hardware.
Not as much as I hoped, but still worth a lot.
2024-06-06 16:44:51 +02:00
careeoki
50076d172d
Brighten stone for less contrast against other blocks ( #448 )
...
Only a little bit. I wouldn't do this again for no reason, i swear.
2024-06-06 09:23:38 +02:00
IntegratedQuantum
ab9c52b1b7
Properly initialize the fields of ChunkMeshNode.
...
Should fix #449
2024-06-06 09:12:48 +02:00
IntegratedQuantum
53730fff25
Store surrounding 3×3×3 chunks on edit.
...
Should make the world more resilient to terrain generation changes.
fixes #349
2024-06-05 20:14:27 +02:00