How do I check for collision between an ellipse and a rectangle?

I am working on LibGdx framework for developing a 2D isometric tower defense game.All my sprites are drawn in 2D isometric view. I have used an array list to store 8 points at boundary in the rectangle.LibGdx has an inbuilt function (returns Boolean) ellipse.contains(x,y),by iterating through array list I can check whether any points are … Read more

Import a 3D animation into an android game

I want to import a skinned and animated character model built with bender into an android game. The animations can be: idle, walk, run …etc I’ve seen a related question but it’s only about importing a static model: But I don’t see how to import a set of animation with tweened frames. Any ideas, … Read more

How to flip a quad (openGL es 2.0 Android / Java)

How would one go about ‘flipping’ a quad, either horizontally or vertically? (Just a single quad, not everything in view). I know how to rotate a quad, this is my rotation method: public void rotate(float x, float y, int angle){ //Convert co-ordinates (Following section just converts my coordinates //Left hand xPlotLeft = (-MyGLRenderer.ratio)+((x)*MyGLRenderer.coordStepAmountWidth); //Top yPlotTop … Read more

how to design and develop game level(stages) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 8 years ago. Improve this question I need some expert opinion about game level design. I’ve been developing android game(2D) using … Read more