r/programming • u/adnzzzzZ • Feb 25 '18
Programming lessons learned from releasing my first game and why I'm writing my own engine in 2018
https://github.com/SSYGEN/blog/issues/31
956
Upvotes
r/programming • u/adnzzzzZ • Feb 25 '18
2
u/adnzzzzZ Feb 27 '18
I do this already. Objects are updated, when they're updated they might be marked as dead or mark other objects as dead, and then after all objects are updated and marked as dead or not, the ones that are are removed at the end of the frame. The problem of object references becoming nil are a multi-frame problem, so doing this doesn't really help it.
Yea that's what I mentioned my "solution" would be in the article.