274 reputation
39
bio website
location
age
visits member for 2 years, 6 months
seen Dec 10 '13 at 21:03

May
23
comment Choose tile based on adjacent tiles
Never mind, I see what you're doing. You're setting bits 3 and 7, but you're counting from the left, instead of the right.
May
23
comment Choose tile based on adjacent tiles
Very nice! Simple and efficient. The only thing that I don't understand is how you're getting those bitmasks. For example how are you getting a bitmask of 17 from the numbers 3 and 7?
May
23
asked Choose tile based on adjacent tiles
Oct
19
comment How can I determine the first visible tile in an isometric perspective?
@Man With Steel Nerves...: You're right, I saw that too. Rendering needs to start from the 14,3 in this case. This actually makes cases 1 and 2 the same. In both cases the algorithm needs to "backtrack" from the starting tile (decrementing map-x and view-x), until the current tile is -HalfTileHeight above the top of the view.
Oct
15
comment How can I determine the first visible tile in an isometric perspective?
@user712092: I have thought about it, but it seemed easier to do a 2D game first. There is too much code already written to switch now. The next version will almost certainly use WebGL.
Oct
15
awarded  Editor
Oct
15
revised How can I determine the first visible tile in an isometric perspective?
added 61 characters in body
Oct
15
comment Java vs Javascript for Web-based games
Thanks, that's a pretty detailed analysis. I am designing a Web-based game, with an eye towards mobile support, so Flash is out (no iOS support), and it appears so is Java (no support on Windows Mobile in the future).
Oct
15
accepted Java vs Javascript for Web-based games
Oct
15
comment Java vs Javascript for Web-based games
It does seem that way... if the future is plugin-less browsers, then Java is in the same boat as Flash and Silverlight. It looks like Javascript will be the only choice for Web apps. At least until Google persuades the world to switch to Dart.
Oct
15
awarded  Scholar
Oct
15
asked Java vs Javascript for Web-based games
Oct
13
awarded  Student
Oct
13
comment How can I determine the first visible tile in an isometric perspective?
@Man With Steel Nerves: I'd post a screenshot but SO won't let me because of my low reputation. But picture a large diamond clipped inside a smaller rectangle.
Oct
13
comment How can I determine the first visible tile in an isometric perspective?
That's a good idea. I could simply continue the rendering loop until the current tile is inside the map and the view. I'll try this as soon as I can find some time! :)
Oct
13
comment How can I determine the first visible tile in an isometric perspective?
@user712092: Yes, I am using a 4x4 matrix to transform between view space and world space. That works, but the issue is how to calculate the x,y coordinates for the tile closest to the top-right edge of the view.
Oct
11
asked How can I determine the first visible tile in an isometric perspective?