17
questions
0
votes
1
answer
54
views
Why is my drawChar function's drawImage not showing?
First things first, I am trying my hand at a very simple tile map engine for 2d games using HTML5 canvas and Javascript and everything seems to be working okay except that my second drawChar function'...
1
vote
0
answers
103
views
C# XNA Tile engine drawing wrong tiles
I'm building a tile engine for my first game ever and i've been following a guide step by step (can't link it because i'm limited to 2). I have however, made a few modifications to the tilemap so that ...
0
votes
1
answer
111
views
Eppleton tileengine missing libraries. net.java.canvas.GraphicsContext
Im trying to run Eppletons JavaFX tileengine but there is a library missing i can't find.
net.java.html.canvas.GraphicsContext
Web --> http://jayskills.com/blog/2013/01/09/writing-a-tile-engine-in-...
0
votes
1
answer
948
views
Objects depth sorting in isometric game
I have isometric tile game engine (diamond map style) and I need to sort objects what I draw. My objects are 1x1, 2x1, 4x2. How can I do it based on this code?
for (int osaY = 0; osaY < mapSize; ...
1
vote
3
answers
132
views
Why my tiles became small?
I'm currently doing a game that I will present for my software engineering subject in school. To be truth, I am not experienced in C# that's why I'm following this TileEngine tutorial. But when I'm in ...
0
votes
2
answers
1k
views
Optimizing a simple 2D Tile engine (+potential bugfix)
Preface
Yes, there is plenty to cover here... but I'll do my best to keep this as well-organized, informative and straight-to-the-point as I possibly can!
Using the HGE library in C++, I have ...
7
votes
1
answer
350
views
Can I create a tile engine in a pixel shader?
I am attempting to create a tile engine using a pixel shader and two textures. One texture will hold the tileset and one the map.
Is it possible to read the texture data as actual (unsampled) data ...
0
votes
1
answer
203
views
How to fix this tile engine in C#/XNA
I have been working on a basic tile engine for a project of mine and have managed to get it to a fairly functional state. However one main problem is that when I run the code, the tiles will always ...
0
votes
1
answer
287
views
Items drawing relative to player when near edge of map
I have a tile engine and that's all working swell, my player walks around all good, I'm working on adding items, the player is always in the centre of the screen, until he gets close to the edges of ...
1
vote
1
answer
640
views
Platformer tile engine--advice on what to do with long tiles
I'm looking for advice more than direct help.
I am working on an 8 bit platformer game in XNA. I've probably sunk 160 hours into it already, and I'm starting to get into issues with the engine I ...
0
votes
1
answer
1k
views
C# XNA Random tile engine
public void Draw(SpriteBatch theSpriteBatch)
{
Random rand = new Random();
for(int y = 0; y < map.GetLength(0); y++) {
for(int x = 0; x < map.GetLength(1); x++) {
...
1
vote
1
answer
653
views
Making Javascript TileEngine Scrollable in Canvas
The basis for the code is from John E. Graham's blog http://johnegraham2.com/blog/2010/09/25/project-javascript-2d-tile-engine-with-html5-canvas-part-4-using-zones-for-further-optimization/
It works ...
7
votes
2
answers
1k
views
How can I find all rectangles that bound regions in a bitmap?
I have a problem: I need an algorithm for my tile engine.
I have an 2d-array which stores my un-walkable tiles.
Now I want to implement a light engine, but this engine need shadow-hulls.
So I need ...
14
votes
3
answers
15k
views
HTML5 Tile Engine
Where can I find a tile engine for HTML5 <canvas>, for writing 2D games?
2
votes
2
answers
595
views
Mapping a branching tile path
I'm working on a game (and have asked a couple questions on it already), and now I have another question to ask of you guys.
The level format in this game is set up as a tilemap of Uint16's (I'm ...
1
vote
7
answers
5k
views
Planning a 2D tile engine - Performance concerns
As the title says, I'm fleshing out a design for a 2D platformer engine. It's still in the design stage, but I'm worried that I'll be running into issues with the renderer, and I want to avoid them ...
16
votes
9
answers
12k
views
2d Platformer physics [closed]
It was a long holiday weekend, so I got the coding bug again and started playing around:
Mario http://gfilter.net/junk/tileengine.jpg
I wrote a basic tile engine, but having never attempted this ...