|
Small White Dragon posted:Also, I just added an GLES2 pipeline, and I have the problem that sometimes it will run at full 60fps, and other times at will run at a fraction thereof. Anyone ever seen any like that? Have you got a frame interval counter in your render loop to measure how long each slower running frame takes? Are they at even divisions of 60Hz? Does the problem exhibit itself when you target a 30fps frame rate? As Ender.uNF suggests, have you tried profiling your app with Instruments and checked for memory leaks? Is this running on OS X, iOS emulator or a real iOS device (if so, what generation)? Without some real data we can only randomly guess at what may be causing your problem.
|
# ¿ Mar 28, 2011 16:39 |
|
|
# ¿ Apr 29, 2024 16:11 |
|
NOG posted:But basically on the simulator, I get a message in the console "CCSpriteFrameCache: Trying to use file 'heroTestSheet.png' as texture" but everything seems to work fine. Putting it on to a device just gives me a white screen until it crashes and the console gives me a report. I saw this a lot of time has to do with filenames in my resources verses my code have different capital letters, but I've looked over all of them and even revealed them in the Finder to make sure. Then run your App on the device and step into the code line by line verifying that everything is working as you'd expect until you find the point at which Cocos is giving up on loading/creating the texture. That'll give you (and us) a big hint as to what's failing. Cocos isn't a particularly fat framework and is pretty well structured & commented so you shouldn't be afraid to delve into its code to discover just what it's doing when expectations are being confounded.
|
# ¿ May 20, 2011 13:33 |
|
Ender.uNF posted:Apparently everyone here has plenty of testers and devices? Seriously... no one is interested in a testing/beta exchange to help test each other's apps? I'm in. Can't have enough testers given the modern breadth of iOS devices, OSes and configurations out in the wild.
|
# ¿ Jul 8, 2011 23:58 |
|
2nd Rate Poster posted:Can someone recommend a good merge tool that is not filemerge? If you mean a visual merge tool then P4merge from the Perforce toolkit is pretty powerful and has been a great assistance for those rare but painful overly postponed cross-team mega-branch convergences.
|
# ¿ Aug 19, 2011 20:08 |
|
lord funk posted:I'm writing an audio synthesis app that really pushes the processor to get every drop of power, and I've been developing on an iPad 2. I continue to optimize every ounce of performance out of my synthesis code, but I fear that I may need to make some cuts to the synthesis code itself to avoid sample dropping on the iPad 1. For example, I might need to drop the maximum voice polyphony. This would mean loading a lighter version of the synthesis graph. Has your synthesis sub-system got any self-monitoring metrics in it? My personal framework dynamically alters the polyphony (or, to be precise, starts stealing voices allocated to older sustained notes) when the render code gets dangerously close to supplying the next 256 samples late. Thus it scales to the execution environment's capabilities without needing any device check and mostly avoids nasty drop outs even when running in the background or if the user is multi-tasking it with something that is greedy or spikey (e.g. notifications) with processor usage. Of course, this may not be an applicable solution for you depending on exactly how you've structured your synth architecture.
|
# ¿ Aug 30, 2011 21:50 |
|
|
# ¿ Apr 29, 2024 16:11 |
|
I hear ya. 8 voices is a good choice for polyphonic synths as it allows 2 reasonable chords to be played in sequence without cutting off the release of the prior, and constantly rendering voices is great for free-running LFOs and similar timbral motion. Good luck with the beta and subsequent review and release! Are you also supporting CoreMIDI?
|
# ¿ Sep 1, 2011 00:29 |