Reputation
6,657
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 19 45
Impact
~291k people reached

Jun
3
comment DX9 sprite / font draw depth order
just used that feature via gameengines sorry :D
Jun
3
comment android zoomable and scrollable board game
first c.drawBitmap(...) should be changed to c.drawBitmap(this.image,(this.x - camera.x) / camera.width, (this.y - camera.y) / camera.height,w,h) and besides that, it seems in that code you are relying on cpu power too much, I think it would be faster if you try opengl and gpu power. besides that you code should work fine.
Jun
3
comment Vectors in game development
and location usualy is considered as vector, it's distance that is scalar.
Jun
3
comment A little bit confused on how to set normals in this case
why don't you try using average of the normals of the faces which contain that vertex?
Jun
3
answered Box2D networking
Jun
3
comment Determine animation frame from interval
@chris you are right, it might not be optimized for random access but do we realy need random access in frames? they usualy just iterate and just adding an addition operator while changing iteration doesn't increase the computing time.
Jun
2
comment Fix joint length in Box2D?
again I made a mistake that only fixed the problem because i accidentaly lowered the gravity. after changing it back to normal it was just the same as before.
Jun
2
comment Fix joint length in Box2D?
after undoing many changes to apply your solution, I found what made them to expand. It was because when I increased the node in my rope their fixtures get inside one another and that made the joints expand, just seting all the rope fixtures to sensors solved my problem, thank you for your advise.
Jun
2
comment Fix joint length in Box2D?
that's right, i can even post my code here if you like'
Jun
2
comment Fix joint length in Box2D?
at first they were both 1 (due to default density of fixtures) but then tried changing density to zero (the masses were still 1 because objects were dynamic) and it was same as before, no changes.
Jun
2
comment Fix joint length in Box2D?
I know that, but in my case a fixture and two revoluteJoints produces better results than a DistanceJoint;
Jun
2
comment Fix joint length in Box2D?
I tried changing damping ratio and/ir frequencyHz to any valu that i could imagine, including the onces you suggested but didn't help at all.
Jun
2
answered Fix joint length in Box2D?
Jun
2
comment How to manage game components and their attributes?
any object that inheriet CCNode can be placed in scene-graph, you can start by reading how CCSprite is implemented. I think it's easy enough to undestand and provide you with the whole idea of what you have to do to create some Cocos2d object.
Jun
2
asked Fix joint length in Box2D?
Jun
2
comment How to manage game components and their attributes?
then are you asking about the class hierarchy you are going to define?
Jun
2
comment How to manage game components and their attributes?
did you try reading some basic manuals of cocos2d before asking this question? just studing cocos2d tests (or even helloworld sample) would give you the idea how to do all these things in cocos2d.
Jun
1
comment How should I structure my Android platform board game?
Not nessocerily answering your question but I think usualy doing everything using opengl is faster than doing it without it(dont know if this also applies to android). and I'm just working with [cocos2d-x](www.cocos2d-x.com), it's a 2d GameEngine for android/iphone and I think it'll help you alot if you start you project with this engine.
Jun
1
comment How can I easily implement swinging in a platformer game?
after some tries i guess i'll go trying box2d for this issue and by the way you have to change that code so that you have dx = player.x - attachpoint.x and dy = player.y - attachpoint.y.
Jun
1
revised How can I easily implement swinging in a platformer game?
fixed a mistake in code