Tagged Questions
-2
votes
0answers
108 views
C# XNA: How do i create simple 2d TileEngine [closed]
i want to create a simple tileengine for a small rpg-ish game.
I have a picture with 7 different tiles each at a width and height of 48px.
What i want to do is to split the image into those seven ...
0
votes
0answers
90 views
Xna problem drawing tIDE map
So i was trying to add tIDE to my project but i hit a Keyntfoundexception
map.Draw(mapDisplayDevice, viewport);
Any help would be usefull here is the rest of the class:
using System;
using ...
1
vote
2answers
179 views
2D tilemap editor UI--how do I disable editing while save/load dialog is open?
I'm working on a basic 2D tilemap editor in C#/XNA. Currently, it displays the map through a picturebox through which XNA's output is being routed, and editing is accomplished through simply checking ...
1
vote
1answer
251 views
How can I implement collision detection for these tiles?
I am wondering how this would be possible, if at all.
In the image below:
The light brows tiles are ground, while the dark brown is background, so the player can pass over those tiles.
Here's the ...
5
votes
2answers
2k views
XNA C# Platformer - physics engine or tile based?
I would like to get some opinions on whether i should develop my game using a physics engine (farseer physics seems to be the best option) or follow the traditional tile-based method.
Quick ...
3
votes
4answers
764 views
More Efficient Data Structure for Large Layered Tile Map
It seems like the popular method is to break the map up into regions and load them as needed, my problem is that in my game there are many AI entities other than the player out performing actions in ...
0
votes
1answer
446 views
Advice for creating fog of war on tilemap game XNA
I have created a 2D Tile Based game. The game has a single path that the sprite can move on. I want to create to make the entire screen black except for where the sprite is. The sprite has commands ...
2
votes
2answers
325 views
Tile map collision is not working properly
I am having problems setting collision between my sprite and the tiles.
I have only done the code for colision for moving upwards but some places on the map it moves up and some places it doesn't.
...
-1
votes
2answers
531 views
How to calculate the direction a ball must bounce
I have a tile engine I have made. I can detect collision between the ball(the player) and the tiles. When a collision is detected all the colliding tiles are stored inside a list. My question now is, ...
5
votes
2answers
1k views
Collision Detection, player correction
I am having some problems with collision detection, I have 2 types of objects excluding the player. Tiles and what I call MapObjects. The tiles are all 16x16, where the MapObjects can be any size, but ...