Lente ⛵ dev on a boat Profile picture
Dec 4, 2022 6 tweets 3 min read Read on X
How I made an infinite world for my 3D Pixel Art game!

A thread 🧵#indiegame #pixelart #gamedev
Each chunk consists of 9 quadrants.
If the camera is in the middle one (5), nothing has to happen since the main chunk covers the whole camera view.
However, this changes once the player starts moving to the outside of the chunk -> Image
Now moving to the right, the camera can see outside of the main chunk and we should spawn a new one. We do this on the middle right side of the current main chunk, since the camera is in the middle right quadrant! Image
If the camera were to go to the top right, the same happens, just also for the chunk above, and the chunk in the top right corner! Image
Then once the camera actually enters a new chunk, this chunk becomes the new main chunk and this process is repeated!
All the chunks live on a grid, and I reference this grid to remove any chunks that can't be seen by the camera! Image
This was quite a technical one!
If you liked this thread, please retweet the main tweet!



If you want to be notified on release of my game and receive exclusive progress updates, visit Lente.me

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Lente ⛵ dev on a boat

Lente ⛵ dev on a boat Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @LenteGameDev

Dec 26, 2022
Working on a little game where you clean up oil spills!

Deliver the oil to a recycle facility for coins, and upgrade your boat :)

🧵A thread on the prototyping process!
(and how you can try out the game!)
Every project before this one, when I’d have a cool idea, I would work on it a little, and then move on to the next project.
Never really making a full game.
(I think a lot of game devs will recognize this!)
I started this project out similarly...
I had some cool ideas, but quickly got stuck, as it wasn’t really a game, but just that, some cool ideas.
On to brainstorming and prototyping.
It was frustrating.
I have now fortunately learned a lot:
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(