Skip to content

Posts from the ‘iPhone’ Category

8
Sep

How to Build Six Pack Abs – wikiHow

Crunching it’s way in at number 6 in Healthcare & Fitness, Top Free apps, How to Build Six Pack Abs by wikiHow is smoking hot!!!

Get the app. wikiHow

This was my latest iPhone project and coupled with my new sexy six pack abs “what! you think I wouldn’t authenticate the data”, I am feeling kinda good. So if you want to look and feel great, head on over to the app store and grab it or nip over to wikiHow.com and read the article.

Related Posts:

28
Jul

Space Ranger available on the App Store

I am extremely happy to announce Space Ranger. My first game on the App Store for the iPad and iPhone. I can’t wait to build some more. A big thank’s to cocos2d and it’s community.

App_Store_Badge_EN

iPad_Vert_sRGB_0310

Related Posts:

26
Jun

SpaceRangerHD for iPad & iPhone

Space Ranger for iPad & iPhone is a fun and simple space invaders type game designed for younger audiences. A request by my six year old son for something simple to use yet challenging to play.

Alien invaders to defeat, Comets to avoid, Huge explosions, Nukes, Crystals & Coins to collect, many levels, high score tracking etc.
All the things that get kids excited. Great graphics, sound effects and some music composed by me.

Enemies include:
- Blue Bad Guys, 1 hit, 1 point.
- Red Bad Guys, 5 hits “shield depletion”, 2 points.
- Green Bad Guys, 3 hits, 50 points.
- MotherShip, 4 Pulse cannons to beat then 20 hits to beat level, 140 points.
- Arrays of photon torpedoes.
- Power up pulse canons.
- Heat seeking missiles.
- Deadly comets passing by.

Space Ranger:
- 100 lives/health.
- Ten health points for every level completed.
- Shields that take ten hits or one pulse cannon hit. “endless supply of shields”
- Single lasers, Dual lasers after 1000 points and yes, triple lasers after 2000 points.
- 5 Nukes to get you out of a jam.

Objects include:
- Green crystals, 10 coins.
- Red crystals, 20 coins.
- Shield power ups.

Just move your finger around the screen and stay alive.
Have fun.

SpaceRangerHD for iPad

Screenshot

SpaceRangerHD for iPad

Screenshot

SpaceRangerHD for iPad

Screenshot

Related Posts:

19
Mar

iPhone Controlling Flash with TUIO and UDP help

I am in the middle of constructing a FTIR table, I am going with the laser approach after less than satisfactory results using Infra Red LED’s. It’s going well and I have had some success with Fiducial tracking using my infra red modded webcam cam, plexiglass and such. I had been building the apps in Quartz Composer but I am not too familiar with Quartz yet.

Until my lasers arrive I decided to try and get some output from my iPhone, after all it’s a great touch screen and switch to building apps in Flash, which I know better.
How do you get Camera or iPhone touch data out over the network to your MacBook and then have Flash read it??? Long story. If you are interested in going down this rabbit hole, check out these links.

http://reactivision.sourceforge.net/
http://www.tuio.org/?software
Georg Kaindl’s UDP Flash Bridge video
http://bubblebird.at/tuioflash/
http://pixelverse.org/iphone/oscemote/
And for lasers: http://aixiz.globat.com/

As I recently discovered, there are a few different methods of tracking and a bunch of lib’s on google code for such things.
After trying most of them and trying a couple of different table designs, I decided to go with http://gkaindl.com/software/udp-flashlc-bridge for UDP speed and http://bubblebird.at/tuioflash/tuio-as3-library/ for TUIO or Blob tracking in Flash and http://pixelverse.org/iphone/oscemote/ to track iPhone touches.

I find that sending the data over UDP using udp-flashlc-bridge is way faster and more efficient than XML- or TCP-based approaches. There is virtually no lag at all.

I modded my sea creature to work with a simple touch setup. Here is a crappy movie for now. I will do some nicer movies when I finish my table.

height="256" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>

controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>

The next thing was to get some multi touch functionality. This one took some head scratching and it still needs refinement. I started thinking about moving photos around, rotating, scaling and such. I realized I needed special movieClip class I had created for my last commercial Flash project. A movieClip class that can be assigned a dynamic registration point and it’s globalToLocal coords work no matter how deeply nested it lives. This allows for the first finger touch to be set as the registration point for the photo and the next touch to be used as the operator for scaling and rotating. Here is another crappy movie.

height="256" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>

controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>

Related Posts:

23
Sep

QikBlogr. WordPress Blog posting from my iPhone

Working on a new iPhone app for snapping pics, blogging and pushing it to my WordPress blog using WP’s built in XMLRPC server. Here is the proof, upped from the phone. Success!

When I started this last night, I had no idea how to post data from Objective-C to the web. I thought the php side was going to be a snap since I have some experience with it, but I hit some snags there too. It appeared that no matter what orientation I snapped a pic, portrait or landscape, it would end up rotated or flipped on the server but look fine in iPhoto etc.

From what I could gather, the browser does not respect the image orientation like iPhoto does. It was no good just rotating the image server side because it has no clue if an image looks right!, so finally after an hour of research, I had enough info to tweak the server side php to read the exif metadata and get the orientation then take the appropriate rotation or flip steps. Oh well, lesson learnt.

Anyway, that’s the hardest part over I think. On to lots of features and enhancement.

php exif code added post-post. My app is not that fancy.

 ...
 
$exif = exif_read_data($urlImage, 0, true);
$oriented = $exif['IFD0']['Orientation'];
 
switch($oriented)
   {
        case 3: // 180 rotate
		$imageRotate = imagerotate($src_img, 180, 0);
        break;
        case 6: // 90 rotate
		$imageRotate = imagerotate($src_img, -90, 0);
        break;
    }
 
imagejpeg($imageRotate, $urlNewImage, 90);
imagedestroy($src_img);
 
...

Yay…

QikBloggr Screen Shot

QikBlogr Screen Shot

Posted from my iPhone 3G using QikBlogr.

Related Posts:

11
Sep

Tipr on the iPhone

My friend and colleague Aaron Gustafson of Easy Designs, LLC created a tip calculator a while back for use on mobile devices that had an interesting twist. Tipr calculates tip percentages, 10, 20, 30% etc. and then modifies the total and the tip by a few cents to create a palindrome. Huh!

In case you don’t know, a palindrome is word or number that reads the same way from front to back, e.g. Madam or $123.21. This comes in handy when reviewing your credit card statement. At a glance you can see if you have been accidentally overcharged by a restaurant or bar or anywhere you might leave a tip. If you always total to a palindrome, you should always see palindrome totals on your statement.

Anyway, to get to my point, I have been dabbling in iPhone development and find it very gratifying to build apps and then pop them right on my iPhone. Trouble is coming up with ideas? So when I can’t, I look for a good candidate that I think needs iPhonification. Tipr seemed like something I could tackle. I am a newbee to Objective-C and useful, relatively simple apps are my limit just now.

So here it is. Or @ least a movie of it. Getting stuff onto the App Store is a whole other ball game.

height="385" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>

controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>

Related Posts: