Jump to content
Site Stability Read more... ×
  • Advertisement
  • entries
  • comments
  • views

MMPtr, I choose you!

Sign in to follow this  


So I stuck in a new particle effect for the basic weapon in Manta-X and I start getting lots of nasty crashes. Turns out that it's the Memory Managed Objects getting deleted twice upon GC. Time to scour the code and find out exactly why it's crashing the hell out of things. I've noticed the problems only seem to occur since I added the referenced counted smart pointers, it could be something simple like not letting go of the pointer in a particular system - but then again, the smart pointer should be taking care of that crap.

I hate memory errors above all others, mainly because they're so damned hard to trace back to a particular system. I'm just glad the game code is still basic, allowing me to root out these sort of problems without destroying too much code in the process. I'm thinking I'm going to add a generic particle system and use my old controller code I think, at least then it'd allow me to unit test the thing.

On another note, I saw "I, Robot" last night. Slate me if you want, but I really enjoyed it. It's standard Sci-fi fodder, "man makes robot, robot gets intelligent, robots take over humanity, man gets control back and pwns the robots again". I'd watch it again, it's not one to watch over and over (like Army of Darkness and Fear & Loathing in Las Vagas), but it's definitely watchable a second time round.

Today I was walking through town and had an awesome idea for a mini game, damn me and my ideas - I have too many. At least I try to keep mine small and reasonable. It's a shame a lot of beginners to programming have such grand ideas, I feel sorry for them once they come crashing to the ground. I suppose that's how I am, I rarely try to think beyond my capability, using each project to further that capability for the next one. The new idea will be kept under wraps, if at least to stop me thinking about it, getitng too excited about it and dropping my other million projects in favour of it.

Tonight I think I'll fix up my errors in Manta-X and throw a couple of enemies into the equation for fun, or perhaps finish up the script wrapper for jsI. Decisions, decisions.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!