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


Jul
20
comment How can I track how “well-lit” a player is so that I can determine if my AI can see him or her?
have you tried rendering to a texture? maybe with a custom shader?
Jul
9
awarded  Self-Learner
Jul
7
comment How to hook into a game written in C++
it's not an easy job, if you don't already have lots of programming experience don't even think about it.
Jul
6
comment Convert int to Color
@ott-- compilers usually convert dive operator into shift operators in optimization stage. and for those who are not comfortable with binary operations, using div and mod are much easier both to use and to understand.
Jul
6
answered Convert int to Color
Jun
20
awarded  Popular Question
Jun
17
awarded  Constituent
Jun
11
awarded  Caucus
May
28
comment Calculating specific coordinate along a path
@JimPedid arcs if guarantied to be circular are not that hard work with: you know the circle has circumference equal to "2*pir", and any arc which covers d radians of the circle will have length of exactly "dr".
May
24
comment Getting Image From URL , Using curl in Cocos2dx C++
it's just a hunch but check if either img or texture are getting deleted before you start any drawing operation.
May
20
comment Snapping of irregular images in iphone puzzle app
@Neha CCNode does have a bounding box function!
May
13
awarded  Yearling
May
6
answered Snapping of irregular images in iphone puzzle app
May
5
answered Job finding algorithm
Apr
22
comment What algorithm to use to fill a KenKen square board with cages?
Prim's Algorithm is designed for weighted graphs, that's why I used the term "Random DFS". But the idea is still same thing
Apr
22
comment What algorithm to use to fill a KenKen square board with cages?
@JimmyBoh I've updated my answer to provide a simple idea for that part too.
Apr
22
revised What algorithm to use to fill a KenKen square board with cages?
added 621 characters in body
Apr
19
comment What algorithm to use to fill a KenKen square board with cages?
@danijar I need to refine my algorithm for that part, so I'll write it in about a day. the base idea is simply to first choose 3 block cages and then put 2 block ones in free spaces and finally everything left will be single block cages.
Apr
19
answered What algorithm to use to fill a KenKen square board with cages?
Apr
4
comment cocos2d-x export plist from images in windows free tool to use
after compiling that patch you should see plist between available types while choosing map file. but if anything went wrong I'm almost always available in chat room just ping me there and we'll figure out what's wrong,