I have to make a flash game like this: There is a board with holes in it (more than 1000). Initially, there are 3 pegs placed on the board and a rubber band around them.
I\'m creating my very first 3D game and I\'ve run into a couple of problems. I read about AABB intersectioning and the idea of building trees from it, but the one thing that I couldn\'t understand is,
I\'m writing a pong game and I have a ball class that has velocity x, y, positions and all that stuff tha开发者_如何学JAVAt every frame is updated by calling @ball.update, this moves the ball forward
I want to do a collision detection system for a rectangle to use some physics, so there will be a normal for each of the sides.How do I determine which 开发者_如何学JAVAside of the square was hit by t
I\'m in the process of developing a 2D fighting game in the same style as Capcom\'s Street Fighter Alpha for the iPhone. For collision detection, I\'m thinking about creating several hit boxes per spr
I am trying to make a game where a player has to find his way from Start to End on the Game Board. As you see this Game Board contains a bunch of red circular obstacles. To win the game the player ha
Hello I\'m currently working on a 2D platformer game. I would like 开发者_运维技巧to have per-pixel collisions between my player (a Rectangle) and a freeform terrain (uses slopes, a BufferedImage).
Does anyone know a simple way to check if two polygons, especially rectangles, are colliding?I found a simple way to see if two are touching by just checking if any lines on the two rectangles are col
Would like to know which direction player hits terrain tile from (just a simple up/down, left/right). Everything I find is either too simple, or is much more complex and seemingly way too much for wha
I have been experimenting with the box2D sample project within cocos2D for the iPhone and am wondering if box2D is the appropriate engine to use to make a moving object \"stick\" to a stationary objec