# Tag Info

Accepted

### In a 2D game with an isometric camera (like Bastion) do I need to create a new animation for every angle the player is facing?

You can always just use 3d models instead of 2d art (3d models don't neccessarily mean a 3d game). Apart from that, not much. You could mirror half of the sprites, but that may interfere with the ...
• 14.9k

### How to convert 3D coordinates to 2D Isometric Coordinates?

You can represent the transformation between 3D world coordinates to 2D screen coordinates as a projection matrix: \begin{bmatrix} x\\ y\\ z \end{bmatrix} = \begin{bmatrix} X_x & Y_x & Z_x &...
• 134k
Accepted

### Is it a good idea to use per pixel collision detection in an isometric game?

The problem with per-pixel collision detection is that 1. it can be very slow and 2. your graphic design can have a lot more impact on your game mechanics than you would like. It is usually better to ...
• 119k
Accepted

### Are the same number of tiles displayed in an isometric game regardless of phone orientation?

In a typical isometric-style projection, tiles are roughly twice as wide as they are tall (depending on whether you're using true isometric or its close cousin often used in games, the 2:1 dimetric ...
• 134k

### Are the same number of tiles displayed in an isometric game regardless of phone orientation?

This is a square grid shown using an isometric projection: Note how it's wider than it's tall. In fact, even if the grid was a rectangle with unequal sides, it still will be wider than taller, due ...
• 14.8k

### Isometric Tile-Based Pixel Game Code Structure

2D It is normal for 2D games to have these drawn and ordered / overlapped by code (loop), using e.g. the painter's algorithm. However, there are special conditions for constructing complex isometric ...
• 29.5k
Accepted

### Deriving shadow position from a 2D heightmap

You can associate a "shadow height" with each cell on your map. This is the elevation something would need to have above 0 / "sea level" in order to rise out of the shadow and into ...
• 134k
Accepted

### How can I fit these isometric tiles into a TileMap?

It appears that the width/height ratio of your tiles doesn't match that of your Grid component. Go to the Grid component of your tilemap and set the cell size accordingly. When your tiles are 1024 x ...
• 119k
Accepted

### Calculate position on Isometric grid

Looks like you want: ...
• 134k

### Pathfinding in Isometric Phaser with Tunnels

I disagree that you have to have a 3D map for this, and depending on how far along you are and how you implemented things, it might be a lot of work or bring other problems if you try to convert your ...
• 2,067
Accepted

### How would you design a transformation matrix to project absolute coordinates to any orthographic projection desired?

I'm going to make some assumptions... Your 3D world coordinate system is left-handed, with the y axis pointing up in the world. You want to convert to camera space, where y is up on the screen, x is ...
• 134k

### How to code a multi level isometric map?

One approach to a multilayered map would be an array (or 2-dimensional array) of linked lists or vectors holding tile objects. So your tile struct would either hold a pointer to the next tile above it,...
• 154
Accepted

### Constraining an orthographic camera to an isometric world

Restrict only camera viewport centre to ground plane You can find the working Unity project containing this code here. ...
• 29.5k
Accepted

### Why do my sprites jitter when moving diagonally?

With out code, this might be hard, but if I had to take a guess, your sprites aren't gittering, your camera is. I suspect you are moving the camera either to the exact x or y position both when ...
• 1,763

### Unity higher Z position tiles rendered underneath

Ok I'm going to edit my non-answer for I have just discovered how to fix this ! If you're using URP as I suspect you may be, go to your 2D renderer pipeline file (Renderer 2D Data) and edit the ...
• 41
Accepted

### Isometric projection, calculate camera angle for specific tile height

What we want to find here is an angle that foreshortens the depth axis of your plane to your target height:width ratio $\frac h w$. If we chose the angle 0°, we'd be looking parallel to the depth ...
• 134k

### Isometric ordering issue with moving entities taller than one block

Usually we would sort objects by their ground position. In fact, we can argue there are two orders: Sort objects by their ground position, back to front. Sort object by their elevation, bottom to top....
• 26.6k

### How do I smoothly connect isometric tiles at different height levels?

I looked at this old question here: How to create tilted (height) isometric tiles. but I can't understand the solution of "shearing to the right, then rotate by 45 and scale in height". The ...
• 31

### Topological sorting optimization

The video you linked already shows the solution I would suggest: split large objects into a standard tile size. This increases the overall number of objects, but allows you to use more standard sort. ...
• 12.4k

### Libgdx texture bleeding in tile map

If you're getting transparent edge pixels, it sounds like you haven't enabled duplicatePadding. Just to be sure, these are my recommended TexturePackerSettings: ...

### Traffic system in isometric game

The simple solution would be to just have each actor calculate the ideal path using A* and then stick to it. Implement each lane of a road as a first-in-first-out queue. The edges in your A* graph ...
• 119k

### How can I use a data grid to make an isometric turn based game in GameMaker?

Using a data structure to save level data is a good idea, as there are many games using voxel engines to deal with this kind of information. A voxel engine is essentially an engine that stores level ...
• 4,706

### Fastest way to render isometric world with moving entities?

From my own experience, I've found that using the sum of components (x + y + z) is a very good measure for sorting entities in an isometric scene. It doesn't perfectly represent the distance your ...
• 121

### Isometric map black screen

There are several options: Have a non-scrolling background image which is more attractive than just pure black. This might make the game appear a bit more abstract. (example from Disgaea D2) Add a ...
• 119k

### Calculate length of isometric line

Assuming a 3D object is projected with isometric projection, it becomes a bit smaller in screen coordinates, no? Maybe not quite the way you think, if you're using a true isometric projection. "...
• 134k

### How to get surface position from 3D objects in 2D space

Usually, you would specify a shape or mask that would serve as that object's "physical area", so to speak, with which the other objects in the world can interact. I haven't used Pixi.js, but it seems ...
• 216

### Pathfinding in Isometric Phaser with Tunnels

So you might be rendering in 2d, but effectively by doing this your game map is no longer 2d, it is in fact 3d. You could handle this by pathfinding in three dimensions. Assuming a 3x3 grid with a ...
• 121
Accepted

### Isometric coordinate maths not quite right

Like I stated in my comment to your question, double-check your offset, everything else you're doing seems fine. I faced a similar problem with my isometric game. It turned out I needed to account ...
• 96