Tagged Questions
C# is a multiparadigm, managed, garbage-collected, object-oriented programming language created by Microsoft in conjunction with the .NET platform.
4
votes
1answer
164 views
How to make a world-to-player inventory system?
I am running into an issue of trying to implement an inventory system within XNA (doesn't really matter, could be any platform) but so far. Here is the issue I am trying to wrap my head around:
How ...
1
vote
1answer
58 views
2D platformer multiple rectangle collision cause jitter
I posted this question two weeks ago: 2D platformer corner collision and I implemented NoobsArePeople2's solution.
Problem is, when player intersects two rectangles that are inside each other, he ...
1
vote
1answer
80 views
How do i make player input object spawning data driven?
I'm using component based design and am at the stage or re-factoring simple player input to be data driven.
Currently i have a PlayerControlComponent, which an entity has if it should be player ...
0
votes
2answers
124 views
How to make a Realtime 3D Eulerian Fluid Simulation like “From Dust” in C#/Unity3D?
So, for a game project I'm going to be working on I need to make a fully working 3D fluid simulator in Unity3D using C#, that can work in real time.
The only problem is, I've never done anything like ...
4
votes
3answers
186 views
How can I stop looking for keyboard input for a length of time?
I'm pretty new to programming, and even newer to C# and XNA. I currently call a method that looks for keyboard input in my Update method. This method has if statements for doing what needs to be done ...
0
votes
3answers
66 views
In game level editor using AIR or stand alone app using Java or C#
I'm in the process of choosing technologies to build the level editor of a Flash RPG game.
On one side I can use AIR and build a ingame level editor that's probably going to give the best result. The ...
4
votes
1answer
44 views
Getting the Bounds of a 2D Cameras View with Zoom
I am using a 2D camera, which does rotations and zoom. Currently, I am using the following to get my MinX, MinY, MaxX and MaxY...
public float MinX
{
get
{
return ...
0
votes
2answers
93 views
How to get mouse position relative to the map?
I'm creating a game in XNA similar to Minecraft - Minecraft 2D
It looks like this
Here's how it works:
All blocks are generated once with fixed x,y coordinates and just re-drawn.
//generate ...
3
votes
3answers
160 views
Efficient Tile-based collision detection for a lot of squares?
currently I am working on my own take of a tile-based game (think Terraria, but less fantastical (I think that's a word? Sorry if it isn't)).
Anyway, I currently have collision detection working ...
4
votes
2answers
173 views
What is road map for Windows 3D game development in C#
I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I ...
0
votes
1answer
81 views
XNA and C# Draw method question
If I missed the answer to this question being already posted I apologize but I was unable to find it.
I'm new to C# and XNA and converting a VB game I created into them. Im finding a problem I'm not ...
3
votes
1answer
120 views
2D platformer corner collision
Repost from my question on stack overflow, didnt know this site existed.
I have a 2d platformer and I need help with collision. To show you my current collision system, here is picture:
Top picture ...
-1
votes
0answers
43 views
How to compare two Hashtables? [migrated]
I am developing a small RTS in XNA.
I'm setting each unit "goto" position as the vector they should go to. Everything works fine if I don't compare the two Hashtables, but when I do, I get this ...
2
votes
1answer
136 views
Platformer collision detection problems
I'm having a few problems with collision detection in my game (written in C# with SDL.Net). Detecting the floor and roof is fine, as does detecting sides of tiles when not jumping/falling. My problem ...
4
votes
2answers
394 views
How can I implement lighting in a voxel engine?
I am creating the MC like terrain engine, and I have thought that lighting would make it look a whole lot nicer.The problem is that the blocks are not being lit properly when a block which emits light ...