562 reputation
416
bio website
location Tehran, Iran
age
visits member for 3 years, 4 months
seen yesterday

"Application developer who moonlights as a Game Developer"


Feb
27
comment What's Clash of Clans point of view?
Greek for "equal measure" ! Thanks. So I know what "isometric" means finally.
Jan
13
comment differences betwen game resolution in a different display resolution
I recommend you this answer. It will help you resolving all your resolution problem with cocos2d.
Jan
10
comment Programming Dynamic 3D Water/Waves?
Expand this answer in one more dimension .
Jan
8
comment Drawing a continuous line with onTouchMoved callback
Let us continue this discussion in chat.
Jan
7
comment Drawing a continuous line with onTouchMoved callback
I wrote my answer. Tell me if you are still facing any problem.
Jan
7
comment Drawing a continuous line with onTouchMoved callback
I don't know if I am in the same track with you, but I was creating an drawing app for kids and RenderTexture is best solution fo such applications. you can use visit() method of Sprite and draw(=visit) a point ( probably a circle sprite) on your canvas(=RenderTexture) while touch is moving(=onTouchMoved)
Jan
7
comment Drawing a continuous line with onTouchMoved callback
if you are using v3.x RenderTexture is available.
Jan
7
comment Drawing a continuous line with onTouchMoved callback
I don't know the answer but I prefer CCRenderTexture for drawing.
Dec
31
comment Algo for Minimum no of solving in a level like Bubble Blast2
I agree. your question should be self-contained ! Many people didn't play that game.
Dec
31
comment Playing Multiple Sound effects isssue in cocos2d-x
two different sound file ?
Dec
31
comment Algo for Minimum no of solving in a level like Bubble Blast2
white space is free! Can you do some formatting stuff on your question. It's hard to read.
Dec
31
comment How can i create a message box with callback on ok?
cocos2d-x v3.x ?
Dec
22
comment Checking whether moving object has reached target position
In this way you are assuming that next dt (hopefully) will be as same as last dt. Also it's a better solution but of course it's still an issue.
Dec
21
comment Is there such thing as a design pattern for game character attributes?
You're trying something like Component which many game engine do. check out this link.
Dec
18
comment change animations when touch sprites
Please say What's the runtime/error message and happen on which line ?
Dec
17
comment How can I tell if an object in a tile grid is surrounded?
So you can use a DFS or BFS algorithm easily and check If you reach the border of your matrix or not.
Dec
17
comment How can I tell if an object in a tile grid is surrounded?
Can't you just check the 8 surrounding position of each castle ?
Dec
8
comment Cocos2d v3 - addChild method make performance problems
Why do you use removeFromParent and not just making them invisible ? It's about memory usage? with cleanup:NO still memory wont get free (at least untill some on else need).
Dec
2
comment having problem with preloading plist file in Cocos2d-x
You mean I need to create a spritebatch in the scene to force cocos not to unload texture ? But what if I want to preload a texture some scene earlier than where I use. I should create a spritebatch and add it to scene fakely in each scene until reaching desire scene ?
Nov
29
comment having problem with preloading plist file in Cocos2d-x
I face this unloading problem in my projects. cocos2d unload when facing lack of memory. I solved my problem by calling addSpriteFramesWithFile() in new scenes as solution. I hope some one from cocos2d team answer the reason of this strange unloading.