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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-04-2010, 10:50 AM   #1 (permalink)
Divine avenger
 
Johanovski's Avatar
 
Join Date: Nov 2009
Location: Vic, Catalunya (Spain)
Posts: 320
Johanovski is on a distinguished road
Default Strange chipmunk performance with 3.0 OS!!

Hi there!

I'm working in a Cocos2D + Chipmunk project which is nearly finished. I've been testing it on my own iPhone 3GS with 3.1.3 OS and everything works wonderfully. However today I've tested the project with an iPhone 1G with 3.0 OS, and I got really surprised when I saw that physics doesn't always work as they used to.
For example, in the 3GS iPhone a cube ALWAYS collides with ALL level walls (as expected). However with the 1G sometimes a cube just passes through a wall of cubes (which is completely senseless for me)! I've never seen this on my 3GS and it's pretty usual on the 1G... Also the game usually runs at 60 FPS on the 3GS, but in the 1G it runs only at 40 FPS or less depending on how many elements are in the screen (from 40 to 20 FPS more or less)... I've tried forcing the game at 40 FPS or even 30 FPS but it still does the same, so I think it's not related to performance...

Can it be caused by the firmware? I mean may the 3.0 OS cause this? Or maybe it's related to the iPhone itself (so chipmunk doesn't work as expected in the 1G)?

Thanks in advance, I'm really stuck with this and I don't know how to solve it...
Johanovski is offline   Reply With Quote
Old 05-04-2010, 11:56 AM   #2 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 267
georgeburns is on a distinguished road
Default

Modify your timestep.
georgeburns is offline   Reply With Quote
Reply

Bookmarks

Tags
3.0, chipmunk, cocos2d, firmware, fps

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 334
17 members and 317 guests
Abidullah, baja_yu, cgokey, Duncan C, Fstuff, gbenna, givensur, guusleijsten, jbro, mdpauley, n00b, newDev, Sami Gh, seokwon lee, SLIC, stanny, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,877
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:41 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0