Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I just see a blank purple screen after pressing start until I go fullscreen. If that's expected, I think there may be a way in itch to start the game full-screen?

Unfortunately also destroyed my computer. Probably need limits on perhaps

- Sounds spawned

- Things spawned per frame

And maybe try spawn_batch, using stored and cloned material handles, etc if you aren't already. I feel like the number of entities I was looking at shouldn't have been catastrophic.

The submission has the things you suggested, including caching the RegularPolygon colliders and creating clones. The only task I couldn't complete before submission was limiting the number of active sound entities.

We conducted tests using ball colliders, and it turns out that more colliders can be active this way. Interestingly, xpbd seems to encounter limitations when dealing with a large number of constructed colliders.

I also updated collision events to utilize radial distance checks for game logic tasks like combining shapes, instead of relying on xpbd collision events, which provide precise polygon collision detection. Unfortunately, there was a mistake in the code for collision checks in the published version. Objects were colliding and combining when they shouldn't have been. This happened due to accidentally shadowing a variable in one of the closures, causing the wrong transform to be used.

(+1)

Ah, that's really interesting. It has been cool seeing bevy_xpbd rise as an alternative to bevy_rapier lately.