Box2D Flash on Mobile Android

I recently started using an Android 2.2 OS phone which has Flash 10. I’ve been toying with developing simple demos to test out the Flash capabilities of the phone. Then I decided to test out a simple Box2D demo I made as a modification of the demo by plasticsturgeon. Box2DFlash is an open source Physics Engine. Check it out. I look forward to working with it more in the future.

Check it out with your Android 2.2 phone. http://www.lostvectors.com/mobile/test4 Continue reading

Calling all Beta Testers

Bowmaster Winter Storm Beta is now playable if you haven’t noticed. The game is constantly evolving with new updates every Friday (so far so good). Due to the frequency of changes it is not always possible to fully test the game and sometimes new features cause new issues. It is because of play testers like you that report new issues (see contact form) we’re able to find and fix bugs before the game is fully released. For this LostVectors is truly grateful. However, if you want to be even more helpful here’s how.

Download and install the debug version of the Flash player for your preferred browser (warning: read on before installing):

http://www.adobe.com/support/flashplayer/downloads.html Continue reading

AS3 Memory Fail

I’ve been too busy to update the devlog recently but I have in fact posted new content to Bowmaster Winter Storm every Friday for the past few weeks. Go check it out if you haven’t taken a look lately.

www.lostvectors.com/winterstormbeta

I’ve had some recent major triumphs, some mini defeats and mini triumphs lately. In the not so distant past I had some issues with a memory leak in Winter Storm. After much investigation and some thrashing I decided it was time to do some much needed refactoring. At this time I still had no real idea where the cause of the leak was. Continue reading

Tell Me Where It Hurts Part 3: Security Checkpoints

This memory testing is quite the bug hunt. I’ve been testing between two computers and two browsers. I’ve been patting down every game object for illegal memory stashes. Offending code blocks are stripped and searched and sometimes even completely exterminated. Progress is being made little by little as I debug and optimize while innocent code is made to suffer inconvenient slow performing test operations.

Continue reading

Tell Me Where It Hurts Part 2: Not (All) My Fault

So after doing some further tests I was able to pinpoint code that would result in memory leaks. The code itself looked harmless and functionally it worked.

I narrowed a leak to a “doSomething” function in my Util class. I knew it caused an error because when I turned the function into a no-op the leak went way. So I knew that something in that code was causing the leak. But just looking at it, it made no sense whatsoever why there was a leak.

Example original code:

Continue reading