6,298 reputation
11741
bio website
location Tehran, Iran
age 23
visits member for 3 years, 7 months
seen 48 mins ago


Mar
22
reviewed Reject Bezier Curves for visual programming node connectors
Mar
13
comment Connecting Circular Rooms
well, it does guarantee the shortest path. And even if I'm making any mistake (that I really doubt), the paths generated will be near optimal.
Mar
13
answered Connecting Circular Rooms
Mar
9
reviewed Reject Bezier Curves for visual programming node connectors
Feb
23
reviewed Reject How to handle pathfinding on a non-grid/non-node terrain map
Feb
7
comment How to make a game without OOP?
@Zhafur yep, just made a mistake :|
Feb
7
comment How to make a game without OOP?
@Philipp for one, as you asked, most of those kinda games were developed in an era when OOP languages were not introduced (or at least were not common). and second there are some people who think exactly opposite of your. for example see why linux is developed in C instead of C++.
Jan
30
comment How to apply logarithmic type formula for speed?
what library is this code using?
Jan
30
comment Colour intersection of two alpha-blended sprites
@Arne can you tell which combination of blend functions will result in that behavior?
Jan
30
answered How to apply logarithmic type formula for speed?
Jan
2
awarded  Notable Question
Jan
2
reviewed Approve 2D and 3D Perlin Noise Terrain Generation
Nov
14
comment Cocos2d: Moving background on update: offsett issue
not int, but for moving objects, that should always be aligned like the background you are working on, it's much nicer if you round the position just before drawing, always working with integers is not really nice since objects won't move smooth enough
Nov
14
comment Cocos2d: Moving background on update: offsett issue
base on my experience image positions should not have a fractional part, otherwise you'll see those artifact
Nov
8
answered cocos2dx- set draw() method interval time
Nov
5
comment What's wrong with this Open GL ES 2.0. Shader?
also are you sure you can use implicit casting from int to float? I mean shouldn't you use (float)u_XSpritePos? also note that in your current code, into to float conversion is happening for every vertex, it would be faster if you move that piece of code to CPU side, and pass float values to u_XSpritePos and u_YSpritePos.
Nov
5
comment What's wrong with this Open GL ES 2.0. Shader?
try commenting shader lines one by one and see when it's successfully compiled?
Nov
1
comment How to make natural-looking paths with A* on a grid?
here is just an idea, increase the cost of moving from one tile to another for every step agent moves in same direction.
Oct
16
awarded  Enlightened
Oct
16
awarded  Nice Answer