6,245 reputation
11741
bio website
location Tehran, Iran
age 23
visits member for 3 years, 5 months
seen 4 hours ago


Oct
16
awarded  Popular Question
Oct
6
comment Moving CCNode with constant speed in cocos2d
what about adding CCMoveBy action? wrapped inside CCRepeatForever?
Sep
25
awarded  Convention
Sep
24
awarded  Autobiographer
Sep
20
accepted Why released games usually contain their scripts sources?
Sep
19
comment A Star pathfinding algorithm, multiple node set optimization
even if you use all those coordinates as A* nodes there won't be a noticeable performance cost... 135*185 < 150*200 = 30000 ~ 0.002s computation time. Compare that to 0.0167s that you have to render each frame. Also note that Usually it won't even take 0.1ms, I've computed the worst case time.
Sep
19
answered how to re-use a sprite in cocos2d-x
Sep
7
answered How can I simulate a magnet that attracts a ball in a 2D enviroment?
Aug
15
comment OpenGL Textures have distorted colors on some android devices
I'm not sure, but you might be using some kind of pixel representation that is not supported on those devices.
Aug
13
answered Does scaling affect performance in OpenGL?
Aug
12
comment cocos2d-x “immediate mode”?
a) if you are going to use v3.x you should use custom command, either with draw or visit. and personally I prefer draw method since it almost needs no boilerplate code to make compatible with other stuff. b) porting to other systems is the biggest advantage. Also there are lots of other stuff that might help you in way (like textures, audio, debug helpers, ...) but you might take a look at SDL2 too (that's what I've migrated to for just one of my projects which required to run without GUI in some cases). c) As far as I know, there is absolutely no advantage of using scene graph in your case.
Aug
12
answered cocos2d-x “immediate mode”?
Aug
3
comment GLSL Processed Image to OpenGL
it would have been nice, if you threw a link to frame-buffer too.
Jul
31
comment Is this possible in cocos2dx 3.0?
@Dhruv-user3531484 you can always google stuff, and you can use the engine documentation. I mean you should have gotten a compile error for that code...
Jul
28
awarded  Popular Question
Jul
26
answered Is this possible in cocos2dx 3.0?
Jul
17
awarded  Popular Question
Jul
17
comment Creating a seamlessly looping 2D multiplayer level?
can't you always align camera position with the player being controlled?
Jul
14
comment Estimated framerate for custom engine?
does it really matter? I mean as long as you are above 60fps, continue development, and as soon as you got under it, start optimizing.
Jul
2
awarded  Curious