Skip Navigation

Ramblings from the team at zinc Roe

Metal Fish Eggs

Archive for the ‘Tutorials’ Category

Mirrored Video Object in Flash

When using the webcam in your flash applications, it can be handy to flip the video object so it acts like a mirror. Many of the flash webcam demos out there does exactly this, usually by setting the scaleX property of the video object to -1. Unfortunately, because the registration point of the video object [...]

Read the full postLeave a Comment

Motion & Activity Tracking in Flash

With the introduction of FLARToolkit and other means of tracking user input through a webcam in flash, I recently had a chance to read up on some of the other ways we can interact with flash applications using a webcam. Camera.activityLevel The most basic way to detect activity through a webcam in flash is by [...]

Read the full post6 Comments

Project Organization and Coding Conventions for iPhone Games

Now that we’re knee deep in iPhone game development, we’re working with a number of different outside developers. Since everyone involved is pretty new to Objective-C, XCode and iPhone development, project organization and coding conventions in our projects have been all over the map. To improve the quality of our projects and make them easier [...]

Read the full post2 Comments

How To Add Box2D To An iPhone XCode Project

Using Box2D is a great way to add physics to a 2D iPhone game. Since Box2D is written in C++ rather than Objective-C, adding it to your XCode project and getting it to build cleanly can be a bit tricky. If you just want to get aquainted with Box2D, there is an sample XCode project [...]

Read the full post13 Comments

How to check iPhone texture memory usage with Instruments

When developing iPhone games, one of the biggest performance optimizations you can make is to use OpenGL ES for rendering (instead of CoreGraphics or UIKit). For a 2D game like Arctic Shuffle, this means loading all of the animation into Open GL as textures, and drawing them onto simple rectangular shapes. There are two caveats [...]

Read the full post14 Comments