You are browsing as a guest. Sign up (or log in) to start making projects!

1h 48m 2s logged

Devlog 13

Block deleting and Block placing

Just finished the core block manegment system. The raytracing engine determines which face it has touched and the player puts the block based on that.

The code is a mess. I tried implementing a face culling between chunks but failed miserably. I tried making the chunk receive the world context and it didn’t work because of circular dependency (the world imports the chunk and then imports the chunk again), and forward definitions also wasn’t solving

My next urgency is to refactor and turn this mess legible.

AMDG

0
17

Comments 0

No comments yet. Be the first!