summaryrefslogtreecommitdiff
path: root/client/main.lua
Commit message (Collapse)AuthorAgeFilesLines
* add flushBatch to work around crash on some devices due to low vramubq3232023-02-141-0/+1
| | | | this is a workaround until i rework drawing to use instancing instead
* run length encoding for chunk data, more reasonable player speeds, controls ↵ubq3232023-02-131-11/+19
| | | | help menu
* change blank and ubqorange tiles from false and true to 0 and 9ubq3232023-02-131-7/+6
|
* add collisions and sliding for player movementubq3232023-02-131-7/+14
|
* change hash function, remove caching of noise vectors; noise won't use ↵ubq3232023-02-121-1/+1
| | | | unbounded memory now
* change from random worldgen to be based on a hash of position; implement ↵ubq3232023-02-111-1/+1
| | | | serverside chunk unloading
* rework of tick interval, refactor of chunk loading/generation into ChunkS classubq3232023-02-111-1/+1
|
* remove chunk loading debugging prints, add envvar for localnessubq3232023-02-061-3/+3
|
* actually removing chunks inside of iter_chunks in fineubq3232023-02-061-6/+2
|
* clientside chunk unloading when not near. also refactor coordinate things ↵ubq3232023-02-061-9/+23
| | | | slightly
* tick timing in main server loop, refactor, start on saving/loading chunksubq3232023-02-061-2/+2
|
* remove a print statementubq3232023-02-041-2/+2
|
* improve tracking of loading chunks, and increase load dist around playerubq3232023-02-041-8/+12
|
* many many optimizations and refactorings; introduction of Map to support ↵ubq3232023-02-041-19/+34
| | | | multiple chunks, modify worldgen and client drawing to support multiple chunks
* debug drawing change, zoom clamping, partial refactoring of class mechanisms ↵ubq3232023-02-031-10/+12
| | | | to allow inheritance, minor refactor of noise generator, changes to temp worldgen, rework of class constructor mechanism
* drawing changes, world generation, perlin noiseubq3232023-02-031-6/+8
|
* add sending of tile changes, between players. server remembers all changes ↵ubq3232023-01-311-17/+38
| | | | made. also add better debug screen
* terrain data is sent from server to clientubq3232023-01-311-2/+8
|
* switch to using json for packet formattingubq3232023-01-301-28/+12
|
* camera stuff + vastly optimise hex drawingubq3232023-01-291-4/+30
|
* thing the thingubq3232023-01-271-2/+2
|
* multitudinous thingsubq3232023-01-271-26/+38
|
* coords, hexagons, drawing, chunksubq3232023-01-271-0/+11
|
* hostname, print disconnectsubq3232023-01-241-1/+1
|
* things and stuff and thingsubq3232023-01-241-3/+3
|
* thingsubq3232023-01-241-0/+122