Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-10-2010, 04:03 PM   #8 (permalink)
smasher
Senior Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
Default

Tiles are usually some power of two, like 16x16 or 32x32. It's more efficient to create blocks of memory that size, multiplying by powers of two is faster than multiplying by other numbers, and OpenGL requires textures to be powers of two, so you'll see them a lot.

You could also make tiles rectangular, 32x16, and make characters two tiles tall at 32x32. That's what I did.

I would definitely start with UIViews or Cocos2D. OpenGL could be intimidating, and you'll spend a lot of time doing "plumbing" not game programming.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,855
Threads: 89,223
Posts: 380,680
Top Poster: BrianSlick (7,129)
Welcome to our newest member, vijyendra
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.