The draw-order tag has no wiki summary.
1
vote
2answers
41 views
How can I draw sprites in layers based on their Y position?
I am trying to figure out the most efficient way to draw sprites in a way that they layer properly based on their Y position.
Lets say I have four objects of the same class named A, B, C, and D, and ...
5
votes
1answer
158 views
Multiple SpriteSheets break batching
The problem: I can't fit all my 2d animation sprites for all units and environment in 1 spritesheet.
Everything batches fine until I use two spritesheets... I noticed the following : all units from ...
2
votes
0answers
229 views
How do I do 2D z-index parallax in Unity3d? [closed]
I am new to unity3d and want to develop a simple game like crazy cabie. I have to implement a z-index parallax for moving sprites towards the player and generating new sprite at the farthest z-index.
...
0
votes
1answer
513 views
Sprite draw-order in libgdx
From other frameworks I know methods for easy ordering sprites within a spritebatch (to determine if a sprite has to be drawn in front or behind another sprite). For example in MonoGame/XNA this is ...
1
vote
1answer
305 views
How do I use tiles and sprites together in an isometric scene?
I'm trying to write a 2D isometric scene. Rendering order is complex, since both tilemaps and sprites are different concepts. Rendering one of the 2 before the other will draw the scene incorrectly.
...
1
vote
1answer
111 views
Given face normal and vertices of a triangle, how to find the acyclic order of vertices?
I'm in the process of constructing a custom 3D triangle mesh.
I found the vertices of the triangle in the 3D space and it's face normal. How do I find the acyclic order of vertices?
If I draw the ...
0
votes
2answers
459 views
DirectX11: Drawing multiple objects
How can I draw many different objects on screen at once, with multiple vertex buffers, using DrawIndexed()? (Drawing the same object is simple, and I'm not looking to instance)
...but I am looking ...
0
votes
1answer
229 views
How do I draw a sprite on top of a video in Andengine?
I'm playing a video in Andengine on
@Override
protected void onSetContentView() {}
However, when I place a sprite on the screen at some point in time, it is placed behind that video view. I want it ...
1
vote
3answers
214 views
Rendering order
In this thread Rendering a model with transparent or translucent uv map applied doesn't work , I asked about what was wrong with my model that the transparency wasn't working. I've got an answer ...
0
votes
1answer
295 views
Tile Maps and vertexZ order for sprites
Here is the setup. I have a orthogonal tile map made with Tiled. There are 5 layers. The bottom 4 comprise the background, while the top layer is the foreground that I will refer to as the “tree” ...
7
votes
2answers
238 views
How do I handle game objects with two depths?
I want to be able to do what you see in the image, but with a single wall. The player should be able to walk on either side of the same object. That is, the same wall is below the hero when I go ...
1
vote
1answer
246 views
Painter algorithm on transparant objects
Why do you have to use the painter's algorithm when drawing transparant objects ? Can't you just use a z-buffer, draw all non transparant/opaque objects, then draw all transparant/opaque objects last?
...
0
votes
1answer
375 views
How to update “dynamicVertexBuffer” correctly with “setdata” on XNA?
I developed a small 3d games xna and uses a "DynamicVertexBuffer" and "DynamicIndexBuffer" to store and draw my vertices. Everything works fine, but my problem is the "Update" function where I update ...
1
vote
0answers
635 views
Best depth sorting method for a Top Down 2D game using a 3D physics engine
I've spent many days googling this and still have issues with my game engine I'd like to ask about, which I haven't seen addressed before. I think the problem is that my game is an unusual ...
0
votes
2answers
410 views
How many Fringe/Base layers in a 2D map editor?
I'm creating a highly flexible 2D tile-based map editor in XNA to make some of my future projects easier (will work for side-scrollers and top-down games). This editor can work with any sized tile.
...
13
votes
4answers
2k views
How do I determine the draw order in an isometric view flash game?
This is for a flash game, with isometric view. I need to know how to sort object so that there is no need for z-buffer checking when drawing. This might seem easy but there is another restriction, a ...