It seems that my engine has some problems clearing out dead objects. Particularly dead projectile weapons. I've created an Asteroids type game using the engine, but it crashes after about 5 minutes of play or so. Because the game is simpler, it's easier to locate where the problem is.
Previous Entry
Alright... Who's responsible for this?
Next Entry
Ugghhhhh....
Advertisement
Latest Entries
The pitfalls of User Generated Content.
2906 views
Christmas Games and the Chrome Store
1908 views
Halloween Mahjong
1312 views
Mathjong Chrome App
1643 views
Using a Nexus 1 with no data plan.
1309 views
Adding Objects to post
1320 views
Embed Games website. iFrames vs. Object tags
1322 views
Mathjong
1450 views
Chrome App Store
1045 views
New Casual Game
1071 views
Advertisement
I think Dungeon Siege had an issue with this sort of thing, except it was with pointers back to an object which died. Example, an arrow hosted its owner's pointer to give exp if it hit. However, what if the owner dies while its in the air? The owner gets deleted and the arrow now points to unusable memory. Crashx0r.
I hate those kinds of bugs. They really require a huge amount of forethought and good design.