6,518 reputation
11843
bio website
location Tehran, Iran
age 23
visits member for 4 years
seen 52 mins ago


3h
answered Level Design: Char Traveling to and from a Site
1d
comment Authentication between client, central server, and player ran server
@HaroldSeefeld Technically not the ones that pass through IPSec/HTTPS connection.
1d
answered Authentication between client, central server, and player ran server
May
15
comment Is there a way to obtain a user-set “name” in multiple platforms?
why don't you use different functions for different platforms?
May
13
awarded  Yearling
May
6
awarded  Popular Question
Apr
23
comment Body lost a velocity component when hitting a wall
your conversation with zee, made me thinking... are you just applying an impulse in one frame, and let the ball move on it's own for the rest of game, or are you applying the force every frame?
Apr
23
reviewed Approve Cross platform C++ UDP socket library
Apr
4
accepted How to properly implement alpha blending in a complex 3D scene?
Apr
4
awarded  Nice Question
Mar
31
revised PHP battle script
added 56 characters in body
Feb
12
comment Possible A* Optimizations
The very reason that you are searching for the path is because your heuristic is not perfect. If it was, you could easily start from the starting node, always choosing the neighbor with lowers heuristic and find the best path with such a naive greedy algorithm. All these path finding algorithms are there to minimize your re-ordering routines, but still whenever you graph gets huge, there will be many re-prioritizing(s) required.
Feb
11
comment Possible A* Optimizations
@MrSnappingTurtle I mean the case, that you've opened a node, but later found some better way to reach it.
Feb
11
answered Possible A* Optimizations
Feb
6
answered How Use loop's in cocos2d-x
Feb
6
comment How Use loop's in cocos2d-x
I guess you meant Sequence::create(delay,runCallback, nullptr). Also personally I prefer using lambda instead of member function: Callfunc::create([this](){speed += 0.3;})
Feb
5
comment Speed dependent arc question
So I'll guess it's something that you should define yourself, so that it looks like real life? In fact the book continued to say, it's just as big you can get, without your animation look unnatural.
Feb
5
comment Speed dependent arc question
Pretty sure that's something that is defined in your own assignment context. And it should mean something like how much it character can rotate safely. Like when driving a car, you can easily rotate it as much is you want, but when you are driving at 90mph, making a hard turn will most likely result in a crash!
Jan
13
revised How do I determine the draw order in an isometric view flash game?
added 4 characters in body
Jan
10
comment Is there a way to exclude original sprites in spritepacker that's in asset bundle?
Are you sure that's the problem? I mean, when loading textures, they'll be stored as uncompressed RGB data in memory, maybe that 25MB you are seeing the size of your package uncompressed? to verify this, just multiply width by height by Bytes_Per_Pixel of the texture