BB001 - Must be at least 15 characters

I created this topic to post progress on a new game I’m working on.

Genre: Roguelike, sandbox, survival, open-world (auto-generated maps)

The game is highly moddable. All game logic is implemented using my own scripting language, and the scripts will be available for users.

It is still in its early stages. I’m currently working on character-world interactions and built-in map editor. See Watch bb001_20250914 | Streamable

The game currently has no name, “bb001” is just the codename for it :slight_smile:

5 Likes

Looks promising :+1:
keep going !
Will you use here your other projects/ components? like particle emitter? this could be a good real trial for them.

Definitely.

2 Likes

Things have been moving slowly so I haven’t achieved much recently :slight_smile: so here’s a small demonstration to show crude implementation of shader-based line of sight / fog of war and x-ray effect when behind other objects.

3 Likes

Unlit/black tops of cubes look unnatural , compared to everything else is lit..

Backtop belong to the “upper floor” so it will only lit up if the character is on the same floor. I will improve the algorithm so that stuff that can be seen from the lower floor like trees should be lit.

Stress test 162 NPCs (can go higher if I zoom-in to avoid overdrawn) with their own light source, line of sight, x-ray, collision detection, and basic AI movement.

In the actual game there will be a maximum of 100 NPCs per map. So this is just to make sure I can still hit 60 FPS on this decade-old laptop when more features are added.

5 Likes

Gouraud shading is making a comeback :smiley: and it’s honestly making environments look much better than the modern equivalent.

4 Likes

Update progress:

  • Housing system with multiple floors.
  • Trading + Dialogue system.
  • Move between areas + randomly generate area if it’s not available yet.

3 Likes

Using shader to show objects behind wall.

2 Likes

In the first video use of the shader was hard to spot. At first I thought “why did they abandon the idea?” So I watched it again to see that the Hero is still visible through the walls. I’m glad you made this second video - It shows the transparency trick very well.

Personally I think you could tone down the highlighted area a bit, or reduce gloss of some materials because they can be very bright.

Looking at the inventory: if the border between cells was thicker, it would help seeing which object is selected. I do understand it’s a draft, though. Also I can’t see the mouse pointer in UI.

Bug report: In the first video, and around 1:42, when you destroy the fireplace light casted by it remains.

From what I see, it’s a game I’d like to play :slight_smile: Discovery + building = good fun. And I see your solutions are well thought, so I’ll wait for more to come.

1 Like

Bug report: In the first video, and around 1:42, when you destroy the fireplace light casted by it remains.

The fireplace was not destroy, but instead got hidden by the fog of war.

In the first video use of the shader was hard to spot.

Well there’re actually 2 ways to hide any objects that block players from seeing their character:

  • If the character is inside a room, then the upper floors will be hidden. This was shown in the 1st clip.

  • If the character is behind any wall, then a simple shader will be used to modify the alpha value of the wall in screen space. This was shown in the 2nd clip.

    Picrel is Inside a tunnel, which is not category as a room and thus only the shader kicked in.

Personally I think you could tone down the highlighted area a bit, or reduce gloss of some materials because they can be very bright.

I will likely roll out my own light system, since the game engine’s default light system is not really suitable for the game.

2 Likes

Built-in profiler, which shows function calls and how much time it takes.

A much smoother lighting system

2 Likes

Thanks to the new built-in profiler, I managed to bring PlayerControlScript:update() down from 0.4ms per frame to less than 0.1ms per frame :smiley: , this was done on a 12-year-old laptop so expect much better performance on modern PC.

2 Likes