Tagged Questions
5
votes
3answers
1k views
2D isometric: screen to tile coordinates
I'm writing an isometric 2D game and I'm having difficulty figuring precisely on which tile the cursor is. Here's a drawing:
where xs and ys are screen coordinates (pixels), xt and yt are tile ...
0
votes
1answer
677 views
Generating spherical world from heightmapped terrain
I am using a standard heightmapped procedural terrain in my project. However, I want the terrain to appear spherical when the user zooms out. This is an attempt to simulate the appearance of a ...
1
vote
2answers
428 views
Rotating coordinate system
Lets say that you want to rotate simple cube around fixed point in center.
Is it possible to use such coordinate system, that you need to use only sine and cosine in order to rotate?
I have done ...