Game
One by one


1 year 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

the lights are almost working!

get real (actual dev screenshot) you wont see this in this game btw

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

ig i could make a post with the attacks i got from artfight now it is over ^^' here they are in chronological order :3

long time no see from this game, huh.. anyway, i added sunlight-

čaj (artfight attack)

^^

~~~~

:3c

i might have made a gaem