2d
Issues with rendering a large tiled map in WPF
What is the best way to manage a very large amount of images (10,000+) in WPF? This is for a 2d tile map editor similar to this : http://www.mapeditor.org/ .[详细]
2023-04-10 17:46 分类:问答C# : Passing Parameters to a function via a 2d object array
I\'m trying to write a nea开发者_如何学运维t little generic Sql method that will accept a SQL Query and a list of parameters, and return a result. I want to keep it neat enough that I can call it usin[详细]
2023-04-10 06:06 分类:问答Distorted canvas shape when using dynamic dimensions
I\'m trying to create a guillotine-blade shaped trapezium using the canvas element, based on the current viewport dimensions full width, half height), but every time I do this the coordinates seem to[详细]
2023-04-09 17:58 分类:问答2d array in C. Fixed width but unknown height?
Is it possible to make an array with an unknown height but a set width? So that It can be something like:[详细]
2023-04-09 09:26 分类:问答Java - Picture doesn't show until end of loop?
In Java, I have successfully d开发者_如何学Cisplayed an image on the screen. Now I want to make it move by running it through a for loop. The for loop runs 10 times and sleeps for 1 second each time.[详细]
2023-04-08 20:59 分类:问答How to check if one graphic is overlapping another?
I\'ve looked on Google and still couldn\'t find anything.I had an idea for a simple Snake type game or like a \'Coin Collection\' game using 2D graphics,but if a coin is a graphic and the moving chara[详细]
2023-04-08 10:22 分类:问答DirectX 2D drawing with Vb.net
I\'m using using System.Graphics for my latest project (A simple 2D application).Problem is, it gets a horrible FPS and I\'m only drawing 8x8 tiles (usually 10-12 is enough to bring it down to 12FPS).[详细]
2023-04-08 05:48 分类:问答Dividing up 3d angles into equal quantities
Say you have a 2d object, you could easily divide this into 15 degree rotations by simply rotating around the centre in 15 degree increments.[详细]
2023-04-07 12:40 分类:问答Intersection points of line bisector with rectangle
I\'ve been trying to wrap my head around this the whole day... Basically, I have the coordinates of two points that will always be inside a rectangle.[详细]
2023-04-06 17:19 分类:问答Replacement for SVG
My project is using SVG and there is a plan to move out of SVG and replace the existing functionality with suitable replacement.[详细]
2023-04-05 16:50 分类:问答