Questions tagged [xna]

5 questions
6
votes
3 answers

What is the best way to lead a team of 4-5 students for a summer project?

We're a bunch(4-5) of 3nd year college students about to begin our 3 months summer vacation and we would like to get going on a project. We want to make a game with XNA, it doesn't have to be big or something but we have 3 months so I'm not sure how…
3
votes
3 answers

Alternatives to foreach iterators involving ref and out

I am trying to make a flexible particle system for my XNA game, and I've got these interfaces: public interface IParticle : IUpdateable { bool Alive { get; } float Percent { get; } } public interface IParticleEffect where T :…
Kyle Baran
  • 436
  • 7
  • 14
1
vote
1 answer

Creating objects with user-defined variable names

Context: I am making a learning project in XNA. What I would like to be able to do is allow the game to be moddable by allowing the users to place arbitrary values into a JSON data file which is read into the game. The thing is that I want to avoid…
Kyle Baran
  • 436
  • 7
  • 14
0
votes
2 answers

Loading chunks around center

I am making a voxel game like Minecraft. I am able to load chunks using multithreading with the code... for (int x = 0; x < WorldSettings.WORLD_WIDTH_IN_CHUNKS; x++) { for (int y = 0; y < WorldSettings.WORLD_LENGTH_IN_CHUNKS; y++) { …
ChengDuum
  • 41
  • 5
0
votes
2 answers

How to create Button/Switch-Like Tile where you can step on it and change its value?

If the player steps on a Button-Tile when its true, it becomes false. If the player steps on a Button-Tile when it is false, it becomes true. The problem is, when the player stands on (intersects) the Button-Tile, it will keep updating the…
aldok
  • 111
  • 2