DEV Community

Dustin Runnells
Dustin Runnells

Posted on • Edited on

Rethinking Rooms

The problem described in my last post with loosing floors and ceilings on the "boxes" that I was using with rooms was due to my misunderstanding of culling. Instead of boxes, I'm going to just create the rooms in blender with 5 faces (left/right/back/floor/ceiling) and then unwrap and make the PNG textures.

Me learning Blender:
Image description

I think this will work better for everything. Since there will be 3 room sizes, I will create 3 models. I'm still planning on making a level/room editor that will generate PNGs for each of the 3 model textures based on uploaded images, but for testing purposes I'm using these letters to help me recognize the areas in the PNG for each face.

I've also started to consider and implement how I'll be loading the room positions and generated textures from the web based level editor. I like the way Godot lets me create an "object" that can be setup from the main script that I'll pass the parameters for each room to via their own functions.

Doing stuff in Godot:
Image description

Running the "game":

Image description

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay