394b0906ef
Added a bunch of new classes to help implement an inventory and a minimap
master
Solargale2020-04-13 06:52:59 -06:00
515d781390
Switched to a scene2d stage. Removed all mentions of SpriteBatch
Solargale2020-04-12 13:03:32 -06:00
4c9e73b005
Made it so that blocks stay in unloaded chunks. Also added the stuff needed for scene2d.ui
Solargale2020-04-12 02:25:59 -06:00
5c33baca08
Fixed issue with crosshair being missing. Also moved crosshair logic into WorldRenderer
Solargale2020-04-12 01:53:48 -06:00
0a53564650
Made chunkloading even faster by removing texture location from EVERY SINGLE BLOCK
Solargale2020-04-12 01:16:51 -06:00
fabd9bcb82
Fixed the player sprite issue
Solargale2020-04-11 08:34:57 -06:00
57f806983e
Updated Libgdx to a newer version to add gui to the game. This sadly broke the player sprite :/
Solargale2020-04-11 07:55:19 -06:00
d6c54921d8
Finished optimizations for now
Solargale2020-04-11 05:33:06 -06:00
af0bacc46f
Made terrain generation fast and low lag
Solargale2020-04-11 05:22:58 -06:00
c61f8ae6cb
Making optimizations, removing unneeded creation of objects
Solargale2020-04-11 05:21:07 -06:00
890f38b6b4
Changed the movement back to tile-by-tile movement, we'll figure out a way to toggle between the two modes later on.
Solargale2020-04-10 10:18:19 -06:00
6fac5fb704
Added multiple layers to the world and was able to make them render
Solargale2020-04-09 12:39:10 -06:00
ea2e31ed74
Reduced the movement speed to the point where the chunks load faster than the player can move
Solargale2020-04-09 11:45:37 -06:00
8311c80e44
Merged all the for-loops for unloading together and fixed the problem with chunks not unloading when going up and to the right
Solargale2020-04-09 11:41:28 -06:00
f95e9bdacc
FIGURED OUT HOW TO UNLOAD CHUNKS \o/
Solargale2020-04-09 11:24:14 -06:00
7ec0d5eb5c
Made the WorldRenderer class a bit smaller by removing redundant methods
Solargale2020-04-09 10:55:46 -06:00
fed335b2f6
Optimized a MASSIVE amount of chunk generation code
Solargale2020-04-09 10:48:43 -06:00
a16d7f1cdd
Made the load chunks code more efficient
Solargale2020-04-09 10:00:26 -06:00
ed7002bab0
Removed the triples with pairs again. Need to find a system to remove chunks efficiently
Solargale2020-04-09 09:27:17 -06:00
5ffa837f50
Changed a bunch of variables to use bitwise shift instead of multiplication and division
Solargale2020-04-08 06:43:02 -06:00
4e38fd9da5
Added biomes based off of moisture and elevation just elevation
Solargale2020-04-06 06:10:45 -06:00
3101d508e0
Added terrain generation and also diagonal movement
Solargale2020-04-05 04:32:41 -06:00
060b5f51e8
Made it so that the world doesn't generate if it has already generated in the past
Solargale2020-04-04 18:32:20 -06:00
4ccafecaa9
Made the render distance around the player a square
Solargale2020-04-04 03:48:37 -06:00
aea9532480
Fixed chunkloading system, chunks are deleted if aren't visited after a long time
Solargale2020-04-04 03:42:55 -06:00
0e6d4ab00b
Added a chunkloading system but not a unloading system
Solargale2020-04-02 02:56:58 -06:00
cb3361630e
Added the Tween engine for easy interpolation
Solargale2020-04-01 20:58:18 -06:00
907691fbe7
Just got rid of redundant code and got rid of a few warnings
Solargale2020-04-01 16:48:58 -06:00
952991862f
Added the camera object to the player class and added the teleport method. Also renamed Blocks.java to BlockMaterials.java. Also added Player object to the Main class
Solargale2020-04-01 16:18:19 -06:00
2476be3808
Moved the properties of Blocks into the class Block. Also made Blocks and Superchunks singletons, to prevent the creation of unnecessary objects
Solargale2020-03-31 21:09:21 -06:00
00609bc8ed
Fixed the chunk rendering issues and crashes
Solargale2020-03-30 20:45:48 -06:00
6d98bc5996
Broke everything down into packages and fixed resolution issues
Solargale2020-03-29 14:03:08 -06:00
53b367cc0f
Implemented a chunk system and also updated to lwjgl3
Solargale2020-03-29 07:53:52 -06:00
47badea54b
Added crosshair and wrote the coords of the mouse on the screen
Solargale2020-03-29 04:32:00 -06:00