6,841 reputation
42145
bio website
location United Kingdom
age 22
visits member for 3 years, 1 month
seen 1 hour ago

Engineer/artist.


22h
comment Sprite are generated in a random manner. so i have problem to detect generated ccSprite
I don't understand this question. There's quite a lot of repetition in the code; you could extract it for clarity.
22h
comment Switching a project written in Lua to a compiled language
Why do you think Lua is slow? Since 0.8.0, Love2D uses LuaJIT, which just-in-time compiles Lua to extremely efficient code.
2d
comment Stats for testing a renderer
The question doesn't say, but I'm assuming you're asking for a method to capture those stats?
2d
comment How do I change the relative origins of a Box2D World and a TiledMap in Libgdx?
Why does this work?
2d
comment How do I change the relative origins of a Box2D World and a TiledMap in Libgdx?
This might work, but doesn't explain why.
Jul
27
comment Getting Target position at the time of shooting
Your comment says the object is contantly changing its position, but the text after it suggests its position stays the same. Which is it?
Jul
26
comment unity3d-Find angle between 3 vector3 points obtained from swipe
Did you check that the issue isn't with their directions?
Jul
25
comment HTML5 canvas multiplayer game with node.js and Isogenic engine
Well, then again anything is perfectly suitable for storing anything if you take appropriate security precautions. (Encrypt all the things!) MongoDB might be unadvisable for certain purposes of user data storage for other reasons though.
Jul
25
comment unity3d-Find angle between 3 vector3 points obtained from swipe
In what way is the result off? The problem might be the vectors' direction. (Something like this.) How's the angle between BA and BC?
Jul
25
comment Rotating a vector around a vector in 3D space
I don't know libgdx, but the docs suggest something like .transform.translate(vectorToPlanet).rotate(axis, howeverManyDegrees) might work. The setToTranslation and setToRotation-methods seem to reset any other components of the matrix.
Jul
24
comment I want to show dialog in my Flappy Bird clone game
What part of that code is relevant to the question?
Jul
23
comment How to create my own word factory?
What's a word factory?
Jul
18
comment Really simple count down timer
@Johnathan Happy if I helped. I think you should post the final solution as an answer (instead of a question edit), just to keep things neatly separated and clear for future visitors.
Jul
17
comment Collision Detection Algorithm With Tile Map Help
What does "doesn't work" mean? Could you draw it perhaps?
Jul
17
comment Friction effects on ball motion direction when crossing surfaces edges
We even have a Physics StackExchange site!
Jul
17
comment How do I find the tile I'm standing on?
How about iterating through the tiles and checking for each tile whether it's just below your character? How much programming experience do you have?
Jul
16
comment How portable are OpenGL versions, really?
@vaxquis Your last 4 comments are so relevant and helpful that I think you should add them as an answer. Sometimes "this is the wrong question and here's why" is the right answer.
Jul
16
comment Basic Collision Detection Math
"The basic way", heh. :) Considering just 2 dimensions, you might "basically" want to check for collisions between any combination of circles, lines, points, rotated rectangles, convex polygons, self-intersecting polygons, etc. Additionally, some games may need to know the exact points at which the collision happened, how strongly the objects should bounce off of each other based on other physical properties, how much they should start spinning due to friction... There's not really one certain "basic way", as every game differs. (Could you be more specific what you mean by "basic"?)
Jul
15
comment How do I resolve a sphere-triangle collision in a given direction?
GameDevへようこそ! Nice first question! The picture is very helpful. Feel free to edit more if my clarifications missed something.
Jul
15
comment Is C# different in Unity?
What differences do you see?