Impulsing: #devtober Day 14

After I wrote yesterday, I worked a little bit more and tried out the new pulse width code. It ended up being what I was going for, so I think that’s good for now.

The next step is back to being able to set the size of each level. However, that raises the issue of the grid points. Right now, each possible grid point has a separately instanced prototype scene. The single screen so far has over 100 points. A level with 6 x 6 screens (as an example) would have 3600 individual nodes, each with its own mesh. I think that would be a potential problem, performance wise. Also, I’d like to be able to support even larger levels, if desired.

I began looking into a Godot’s MultiMesh(Instance). So far, it sounds like what I want. It has to support:

  1. Different sizes of grid point.
  2. Showing and hiding individual grid points.
  3. Being able to click on a grid point

I don’t know yet if it supports those. That will be tomorrow.

Day 14 – baby steps and distractions.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.