2d
get points on an arc or oval in Android
I\'m trying to create something like the \"Big Wheel\" off of the price is right. Kinda like this: I\'ve got the left oval, the right arc and the top and bottom posts done. Where I am lost at is ho[详细]
2023-03-31 00:40 分类:问答Blitting with a camera leads to seams (due to floating point errors?)
I\'m working on a tilemap implementation with blitting (in Flash but I don\'t think it\'s language relevant).The problem I\'m having is that as I pan my camera around, 1 pixel seams start to become vi[详细]
2023-03-30 01:30 分类:问答How do I create a method that takes a two-dimensional array as a parameter and displays the index of the row with the most zeros?
How do I create a method that takes a two-dimensional array as a parameter and displays the index of the row with the most zeros? The program I have does compile. It just displays an incorrect result.[详细]
2023-03-29 20:50 分类:问答Appropriate level representation / data structure for a 2D platform game?
I\'m about to program a copy of Mario in Ja开发者_开发知识库va. I\'m thinking on 2 representations/data structures for the levels but I\'m not sure which one should I choose:[详细]
2023-03-29 18:54 分类:问答Problem populating 2d Image Array in Javascript
I have a need for a 2d image array in Javascript and have wrote the following: - var arrImages = new Array(3,3);[详细]
2023-03-29 14:30 分类:问答print first row of a 2d Array in Perl
I have the below code and I\'m attempting to print out only the first row of开发者_如何学Python this 2d array[详细]
2023-03-29 08:11 分类:问答Java slow 2D performance - Resizing
I am using Windows 7 with Aero, and have a very fast graphics card (Radeon 6870) that I use for gaming.[详细]
2023-03-28 09:22 分类:问答Python Class, add 2D points
how can you add two values using __add__ function (1,2)+(2,3) = (3,5) def __add__(self, other): return Point((la开发者_运维问答mbda x,y:x+y),self,other)[详细]
2023-03-28 08:04 分类:问答D3DXSprite and showing textures and rotating them in different ways
i have many textures to show on the screen, some of these textures may have rotation or other transformation. All transformation indepen开发者_运维技巧dent. Do i need to create D3DXSprite for every in[详细]
2023-03-27 22:26 分类:问答2D collision between a moving circle and a fixed line segment
In the context of a game program, I have a moving circle and a fixed line segment. The segment can have an arbi开发者_JAVA百科trary size and orientation.[详细]
2023-03-27 21:34 分类:问答