Ayyappa
  • Member for 10 years, 11 months
  • Last seen more than a month ago
  • Bangalore, India
Increase blitting speed?
Accepted answer
7 votes

Let me list some general compared optimizations related to Blitting pixels to a surface(from my experience). 1)Usually palette images(indexed images) when blitted, will under go one extra level of ...

View answer
Is the STL efficient enough for mobile devices?
6 votes

Let me tell you one thing first. C++ is faster than Objective-C calls. Objective-C uses message passing systems so it will have some runtime overhead when compared to C++. Just have a look at some of ...

View answer
Are there existing FOSS component-based frameworks?
4 votes

Check these frameworks I found out related to this architecture... www.burgerengine.com PushButtonEngine Arthemis Framework - https://github.com/artemis-esf/artemis-framework/tree/master/src/com/...

View answer
How do I implement a subclass of CCSprite?
4 votes

Here is the way generally followed to sub-class a CCSprite. public class CharacterSprite extends CCSprite { // Add new custom fields or methods here, // or override the ...

View answer
"Optimal" game loop for 2D side-scroller
2 votes

Game-object style of programming is fine for smaller projects.As the project becomes really huge you will end up with deep inheritance hierarchy and the Game-object base will become really heavy! As ...

View answer
Streamline Facebook and Google Play Game Services integration in Android Game
1 votes

I was earlier in the same confusion and finally found out there is no proper solution for this. My consideration for Google play was not for ranking but for using the leaderboards and multiplayer ...

View answer
Two sided sprites
1 votes

I gave a quick try(infact took some time to get used to shader lab syntax ;) as i was trying after quite some time). Let me know if this shader works for you. Basically checking the frag color by ...

View answer
How can I make the switch from immediate mode to VBOs?
1 votes

Even though i'm completely satisfied with r2d2rigo's answer, I would like to explain how i will visualize about VBO's :D First, Even-though VBO means Vertex Buffer Object, It doesn't mean that it ...

View answer
Component-based game object systems in practice
1 votes

To my knowledge the best project i have seen is Burger Engine. jst download the code and check how well they have implemented.The whole thing is data-driven from xml and they used very well entity ...

View answer
Comparison between Cocos2d and Corona
1 votes

I haven't used Corona.It needs a license if you need to publish.Cocos2d on the other hand is really flexible and stable 'graphics' engine right now. I would suggest Cocos2d-x (C++ version) as ...

View answer
How to get quality sprite sheet generation with rotations
1 votes

Write a Script in Schema language in Gimp.That will be easy to handle this.

View answer
OpenGL-ES: clearing the alpha of the FrameBufferObject
1 votes

Once have a look at the below link (please check the afterRender method) http://code.google.com/p/cocos2d-iphone/issues/detail?id=631&q=glClear%28GL_COLOR_BUFFER_BIT&colspec=ID%20Type%...

View answer
Texture artifacts on iPad
Accepted answer
1 votes

I don't know whether you mean this or not ..but i have this problem when i'm using render Texture in cocos2d.When the player sprite is moved,the sprites residue used to be ther for 3-5 frames.Clearing ...

View answer
J2ME character animation with multiple sprite sheets
Accepted answer
1 votes

As you said each direction of walking had a sprite sheet.Some thing like this structure will help. Have the 0'th index as the static IDLE image.When you want to animate just update the animation ...

View answer
I prefer C/C++ over Unity and other tools: is it such a big downer for a game developer?
0 votes

I might be late in replying but this will help some of the people having this confusion.. Initially I'm a c++ programmer, who used to hate using third party engines (for example unity) as, I don't ...

View answer
Compare new Vector2 position with previous Vector2 position
0 votes

From your code I can understand that you might be comparing the floats directly. Comparison will not directly as you think in case of floats. Try checking for the difference and decide whether they ...

View answer
How to use the chipmunk physics-engine?
Accepted answer
0 votes

A quick search gave me these two links.On which platform you need? http://code.google.com/p/grabbed/source/browse/#svn%2Ftrunk [Sample done with ChipMunk] http://www.alexandre-gomes.com/articles/...

View answer
Interacting with scene from controller/app delegate cocos2d
Accepted answer
0 votes

Solution on my first try was... Have a getInstance() static method in GameScene class +(GameScene*) getInstance() { return s_currentInstace;//This is the static variable that ...

View answer
How do I randomly create and store enemy data for my iPhone game?
0 votes

Simple thing that you can do is iterate for few times for each enemy generation with the 'rand' function such that the generated values are at a specific distance(MINIMUM_ENEMY_DISTANCE_FROM_PLAYER) ...

View answer