False Dragon

Results 8 comments of False Dragon

`DrawBatch` holds collection of draw commands. For example, if you use `draw_batch.set(...)` in a loop that renders 30 entities, then your batch contains 30 drawing commands. Let's say that you...

I see your point. It would be easier and it definitely confused me the first time using it. Especially if you have an unknown number of entities in a batch....

I mean use _one_ draw batch in your entity render system. In terms of a bucket, the entities with the highest Z-order that occupy the same tile are dropped in...

I'm inclined to agree. The naming of the parameter as z-order definitely implies that it should be used for z-ordering. I don't see any disadvantages in doing it as you...

> One thing to bear in mind is that bracket-lib as a whole is a teaching tool. It's focused on being the support library for the roguelike tutorial, my Hands-on...

I'm also on a macbook pro and I am able to X-out of opengl window. Works fine on Catalina and Big Sur.

If I understand you right, you want to check the destination tile for a blocker before running a_star. Assuming you have a map object with a blocked: Vec\ field, just...

Both of your questions depend on the type of game. Let's assume a turn-based roguelike. > The first question is : Should the map be an entity or a resource...