package com.mindfock.blog {

Nifty FPS/CPU monitor class

Posted: October 30th, 2008 | Author: John del Rosario | Filed under: AS 3.0, Programming and Development | Tags: , | 2 Comments »

I found this little class that displays the framerate of the current movie and the total memory usage of the Flash Player on your movie. It also shows the version of the player and the operating system you are on. It even has a graph. Very useful for monitoring your experiments or whatever. 

Link.

If anyone knows something better, please let me know. 


Papervision test

Posted: October 26th, 2008 | Author: John del Rosario | Filed under: AS 3.0, Experiments, Programming and Development | Tags: | No Comments »

It’s been a while since I’ve posted here. Got caught up with exams and projects for school, and a lot of DotA with friends. Now sem-break is here, I  can now just sit around and be bored.

I’ve been playing around with Papervsion lately, and have finally understood how to make it work, albeit only lightly. Here is one of my first attempts with Papervision. It’s just a bunch of spheres, where clicking on one will move the camera to its position, while the camera focuses on the center.

It’s not much. I’m still working on it, but I just wanted to post something here. Check it out. Flash Player 10 is required.

Floating particles

Update: I’ve added a depth of field effect. It’s not very “accurate”, but it’s a nice touch. I don’t know how to do it efficiently, so it might be CPU intensive.

Update 2: I’ve added random movement to the particles.

As always, the source.