Skip to main content

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

Fantastic pinball engine, although having trouble figuring out how to get a seemingly edge case to work:

namely, trying to make wall capsules which disappear from the table on impact, like the pegs in Peggle!

Thanks! I remember Peggle from the Xbox Live Arcade games on 360 :D My first idea for that would be to add a booolean to the wall capsule object, something like is_destroyable_on_touch = false or something. All wall objects should have this by default then. Then only for the ones you want to be destroyable you set that to true.

The next part is likely something in the physics object, since each ball is evaluated there (vs. walls). Once a ball has collided with a wall object, and its trajectory is calculated, it should be possible to check if that wall was "is_destroyable_on_touch = true", and then only for that wall, destroy the wall.

It's fun to see someone try a different genre with this, let me know if you get it working :)