Skip to main content

All Questions

Tagged with
1 vote
3 answers
225 views

How to efficiently/properly store a map of varying classes (all subtypes of a single superclass) for an isometric game? [closed]

For the last few weeks, I've been trying to develop an isometric, tile-based tycoon-style crafting game in my spare time (and really only to see if I am capable) and I have run up against a design ...
Benwithjamin91's user avatar
1 vote
1 answer
436 views

Java LibGDX: How to get a map based coordinate system?

I'm making a 2D isometric tiled game using LibGDX. In my Player class, I created a vector2 that I named 'pos' to manage the player position, then I draw my Player with: batch.begin(); batch.draw(...
GriffinBabe's user avatar
1 vote
1 answer
693 views

Isometric coordinates, diamond shape, unwanted space between tiles

I'm working with SMFL/C++ to make a 2D isometric game engine, i got this when i do the isometric calculations : Here is my formula to calculate isometric coordinates in my 2D engine : For I-J ...
Madz's user avatar
  • 287
0 votes
0 answers
2k views

Draw isometric map based on heightmap

I am not able to get my head arround my problem triyng for two days now. The highly rated answer on stackoverflow did not help me. I am remaking an game which uses an isometric view. I generated a 2D ...
Johannes's user avatar
  • 440
0 votes
2 answers
559 views

Isometric offset and mouse positioning

I'm in the process of building a isometric framework so far I've got the physical tile mapping algorithm down. The thing is I don't want per tile collision, as in looping through all the tiles to ...
Maarten's user avatar
  • 663
0 votes
2 answers
280 views

Isometric Tile Picking Giving Negative Values

I need to find the coordinates for isometric tiles when it's clicked. I've got it mostly figured out. The Y values are returning correctly, but apparently my X formula is incorrect and I'm receiving ...
bwoogie's user avatar
  • 4,427
0 votes
0 answers
470 views

how to create an isometric background image with a tilemap or some other technique

The background image should cover the viewport. The technique I use now is a loop with an innerloop that draws diamond shaped images on a canvas element, but it looks like a rotated square. This is a ...
Richard's user avatar
  • 4,526
6 votes
4 answers
2k views

Isometric engine drawing issue

I'm trying to write a game engine in js (canvas). So far so good. But i got one problem my world is diamond shaped and i render the tiles from top to bottom. The problem is when i have a tile that's ...
Sander Visser's user avatar
2 votes
1 answer
179 views

Java2D best way to pick various image with Alpha background overlapped?

I am developing an isometric game in Java2D. I.e, note that I do not have direct access to hardware pixel shaders (real-time software pixel shaders aren't practical. I can do a single pass on every ...
Jeremy's user avatar
  • 834
3 votes
1 answer
3k views

Trying to achieve dynamic lighting in a tiled 2D isometric environment using Java2D

I am trying write some lighting code for a Java2D isometric game I am writing - I have found a few algorithms I want to try implementing - one of which I found here: here The problem is that this ...
Jeremy's user avatar
  • 834
2 votes
1 answer
828 views

Calcul new coords of camera after a 90 degres rotation in a isometric 2D projection

I made a 2D isometric renderer. It works fine but now I want to show my scene from 4 differents point of view (NO NW SE SW) but, on a 90° rotation, my camera cannot keep the center of my scene on ...
Cyril ALFARO's user avatar
  • 1,681
4 votes
1 answer
857 views

How to transition an isometric object from one tile to another without overlapping other tiles

I've created an isometric environment, all in Javascript and HTML5 (2D Canvas), which mostly works fine. The problem I'm facing is to do with having different height tiles and then sorting the indexes ...
Stephen Hamilton's user avatar
1 vote
3 answers
2k views

Isometric Tile Selection

I'm not all that good with Maths, so i was hoping some of you guys could help? I'm trying to make a function to convert mouse coordiantes into a particular tile in an isometric view. It won't let me ...
Dylan Lundy's user avatar
2 votes
1 answer
714 views

Preventing Overdraw in Isometric Art

Background: I am creating a game that presents the world in an isometric perspective, achieved by drawing isometric tiles. My current implementation is naive, using the painter's method, drawing ...
user avatar
3 votes
0 answers
7k views

JS/HTML5 game engine for isometric game, "simcity" like [closed]

I need to select a game engine/library to jumpstart a project of "simcity" like game targeted for browsers+facebook. So far i found two engines that look promising (examples don't cause rendering ...
user1606576's user avatar
  • 1,182

15 30 50 per page