I\'d like to create a simple 2D map of a room by getting pictures (ceiling) of all directions (360° - e.g. movie frames), recognize the walls by edge detection, delete other unwanted objects, concat
I have some problems getting an algorithm for my game to work and hope someone here can help me. Google didn\'t seem to be a good help as most solutions just work for full tiles.
I\'m working with my friend on our first Android game. Basic idea is that every frame of the game the whole surface is redrawn (1 large bitmap) in 2 steps:
In follow-up to my previous questions (especially this one : Java : VolatileImage slower than BufferedImage), i have noticed that simply drawing an Image (it doesn\'t matter if it\'s buffered or volat
1) Is their any performance loss when making a new image with bitmask transparency, drawing just a few things on it then drawing it on top of another; versus drawing the same image in the same conditi
Lets say I have 4 images and I want to use these 4 images to animate a character. The 4 images represent the character walking.I want the animation to repeat itself as long as I press the key to move
Been working on this problem of collision detection and there appears to be 3 main approaches I could take:
There is a very handy set of 2d geometry utilities here. The angleBetweenLines has a problem, though. The result is always positive. I need to detect both positive and negative angles, so if one line
What\'s the difference between System.Drawing.Point and the System.Windows.Point? In what context should wh开发者_Python百科ich one be used?
I\'m working on a little 2D platformer/fighting game with C++ and SDL, and I\'m having quite a bit of trouble with the collision detection.