Cube Runner with Papervision 3D
November 3rd, 2008
I’ve been pissing about with Papervision (V2 Great White), the 3D library for AS3. It’s very cool, and I can’t believe it’s taken me so long to pick it up and have a play around.
Anyway, I got Cube Runner on my iPod and decided to recreate it in Flash. My version isn’t exactly “finished” but as an exercise in controlling 3D space, it was a good one. It has some collision bugs, and some of the physics aren’t quite as polished as the iPhone version but whatever… I just wanted to see if I could do something similar with what Papervision offers.
I want to try and finish it over the next few days and get the following things done:
- Work out how to add more distance on the camera’s perspective, as the cubes tend to start too close to the viewport. They’re being added with a z position of 0 at the moment, but it looks like anything less than 0 makes them disappear off screen… maybe zoom out and let the cubes scale up?
- Improve the collision detection slightly – I’m using hitTestObject() to evaluate collisions at the moment but I don’t think my implementation is too hot.
- The fonts don’t work under Linux (only I’m bothered about that mind).
Instructions: Use the mouse to move the ship left and right and avoid the evil cubes!
November 4th, 2008 at 12:16 pm
ACE!
November 5th, 2008 at 10:27 am
Fucking ace, well done, I got 137 on my first go.
November 5th, 2008 at 12:39 pm
137 is pathetic.
November 5th, 2008 at 2:55 pm
It would be better if the game was more responsive.