Game
One by one


2 months ago

guys
guys i see progress


stuff is starting to work!
and placing tiles is actually faster in this version! yayy!
how does it do that?

so, a chunk has multiple layers, for now it is a map (image data) and a drawable map (canvas). when a tile is placed it uses setPixel function as before, but the drawable part is different now. instead of replacing pixels with a function, it creates a sort of todo list to what pixels to update on the drawable layer. then it switches to that canvas, and draws the pixels.

image.png
image.png

i also implemented chunk loading/unloading early (unloading from ram to "temp" folder on disk), but it is kinda slow. it lags a ton when it tries to encode and save the image data into a png

it also is eating up half of my gpu when drawing the chunks.

ill figure it out
but at least this works!

i forgot to say - the two numbers in the screenshots, the first one is how many chunks are loaded and the second one is fps



0 comments

Loading...

Next up

#DarckySpookySticker (440x440 in article)

COLLISIONS

i removed one line that wasn't even mine

pff sprite batches are amaezing

out of all my games, this one will have a normal menu for once

more experimenting

art trade with @Whiskey_Artz

got a little sidetracked after seeing @BenjiroBoi 's post, what do you think?

trying out digitigrade legs

was experimenting a bit