Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform.
4
votes
Accepted
Creating a new instance, C#
It sounds like you have your game working, which means you have an instance of bat and ball somewhere in your code (Game1.cs or its equivalent), I assume.
If you need your ball object to react to the …
3
votes
Accepted
Implementing hitbox polygon
This seems like a good place to use Composition.
Give the Entity your Polygon class as a property and update it whenever the entity moves.
public class Entity {
public Polygon Hitbox { get; pr …
4
votes
Accepted
Xna performance
Yes. The XNA Framework is perfectly capable of building any type of game. If I were you, I would worry more about building a game first, rather than how well it will run once built.
0
votes
How can I improve my isometric tile-picking algorithm?
After taking a closer look at the programmed algorithm and what I had on paper, I had left out a modification on the Y-axis before the conversion. I needed to subtract half of the tile height during …
5
votes
2
answers
5k
views
Is there a simpler way to create a borderless window with XNA 4.0?
When looking into making my XNA game's window border-less, I found no properties or methods under Game.Window that would provide this, but I did find a window handle to the form.
I was able to accomp …
4
votes
More Efficient Data Structure for Large Layered Tile Map
as soon as I change that data structure to a my own defined MapCell
class (which only contains a single field: byte terrain) my game's
memory consumption rockets up to 400+ MB.
Objects in man …
4
votes
4
answers
5k
views
How can I improve my isometric tile-picking algorithm?
I've spent the last few days researching isometric tile-picking algorithms (converting screen-coordinates to tile-coordinates), and have obviously found a lot of the math beyond my grasp.
I have co …
1
vote
Accepted
Game Server on Windows Azure
So, will Windows Azure work for that
Yes, Windows Azure will work.
or is there any other services that can provide something like that?
If you want to develop and run a .NET game server, yo …
2
votes
2
answers
186
views
How do I drag my widgets without dragging other widgets?
I have a bunch of drag-able widgets on screen. When I am dragging one of the widgets around, if I drag the mouse over another widget, that widget then gets "snagged" and is also dragged around.
Whil …
4
votes
UI mockups to the code
The solution is quite simple and is used by a great number of games. All you have to do is treat your fonts as if they were sprites.
Have your designer draw out the entire range of numbers and lette …
0
votes
XNA 4.0: 2D Camera Y and X are going in wrong direction
All of my Camera classes start with this as a base:
public class Camera {
private Vector2 position = Vector2.Zero;
public float Left {
get { return position.X; }
set { posi …
1
vote
How many BasicEffects do you have in a Game? What is the best way to render multiple objects...
It's actually simpler to embed the texture reference with the model itself. That way, when you load your model via the content pipeline, the texture is loaded with it automatically. This thread has s …