395 reputation
214
bio website
location Tehran, Iran
age
visits member for 3 years
seen 13 hours ago

"Application developer who moonlights as a Game Developer"

Hi

I prefer C/C++, though I can use English when necessary. I aim to program as low-level as I can, so I stay away from library's when possible. I use Python to run quick tests, and generate large amounts of repetitive code. I am as-well trying to develop experience in the Game-Dev field for a future career, though only I work with Windows PC, and a little on Unix Systems, at the moment. However, if you would like help with your own game/app, I'll be happy to help to the best of my ability.


Nov
19
comment Cocos2dx - Physics - Abort() When Changing Dynamic PhysicBody to Static?
I'm sorry but here there is a solution by using addPostStepBlock which is for cocso2d-iphone. I'm looking for something similar in cocos2dx
Nov
19
comment Cocos2dx - Physics - Abort() When Changing Dynamic PhysicBody to Static?
Thanks for your answer and description. I vote it up because you helped me. But cant accept it as answer since my problem still exist. I temporary use your idea about converting static after some time, but it is not a stable solution and may cause problem in some case.
Nov
16
comment Rotate image according to mouse's cursor
I can't submit answer. Here is pseudo code of what you need: int mouseX = input.getMouseX(); int mouseY = input.getMouseY(); int difX = robotX - mouseX ; int difY = robotY - mouseY ; int alpha; if(difY!=0) alpha = atan(difX / difY ) ; else if(difX>0) alpha = 0 ; else alpha = 180 ; angleToTurn = alpha+90 ;
Nov
16
comment What is the best framework for 2d side scrolling game (with physics support like box2d)
First don't confuse cocos2d-iphone(swift) with cocos2d-x. Notice that in cocos2dx 3.x the API has been redesign and use modern c++11 features and new design pattern in its architecture. I use cocs2dx just for Android in my last two projects and I'm totally satisfied. + in v3.3 the 3D support is gradually adding which will outs unity :D
Nov
16
comment What is the best framework for 2d side scrolling game (with physics support like box2d)
Check cocos2d.
Nov
16
comment Card game - creating card Listener
@Asis In fact I didn't know LibGdx. I worked with many other platforms and I'm sure the idea is same everywhere for handling touch. It's best way of doing it.
Nov
16
comment How do I create a custom “Google Maps” visualisation from game map images?
What if I write my game in a 2d engine in c++. How can I show map tiles there ?! possible ?
Nov
16
comment Advice for learning a cross-platform 2D game engine
Yes of course. It's weak point was about doc which some dedicated person are completing wiki. + It have almost no good editor ( also it has and it's my personal opinion), but cocos team are introducing a integrated environment Here soon and It's not announced officially.
Nov
16
comment Advice for learning a cross-platform 2D game engine
Let me say cocos2dx and then leave everything up to you :)
Nov
11
comment How do I throw a ball on particular angle?
You could clarify your question with an image. BYW, If you need some throwing like angrybird , you can use Projectile Motion.
Nov
3
comment Surface creation algorithm using points cloud
@MaT My Pleasure :)
Nov
3
comment Surface creation algorithm using points cloud
@MaT I've edited my answer.
Nov
2
comment Collision detection in 3d
I don't know about 3D, but I answer your question Here which may give you some idea :)
Nov
1
comment How can i create a message box with callback on ok?
Notice that if there be a MenuItem(Button) back of your "box.png", touches will pass over this box ! you can handle this by putting a huge button which do nothing behind of your box.
Nov
1
comment Collision detection in 3d
How about Bullet. Bullet is a free and open-source physics engine which simulates collision detection, soft and rigid body dynamics.
Nov
1
comment Collision detection in 3d
I don't know what algorithm, but why you don't use existing physic engines (such as Nvidia physX)?
Oct
31
comment How to lock aspect ratio when resizing game window in unity?
For those who don't know letterbox: Read Here
Oct
19
comment Avoiding singletons for puzzle system
Any static memory allocation can satisfy this requirement. singleton is one of possible implementations.
Oct
19
comment 3d game math problem
Project the ([d,e,f] - [a,b,c]) to x-y plane. then calculate rotation of this projected vector related to your current enemy rotation.
Jun
22
comment how to re-use a sprite in cocos2d-x
How did you create your Sprites; CCSprite::create(...) or manually new ?