Tag Info

New answers tagged

0

So I finally found a method on some Github repository (I can't find the link again), and this one actually works. It doesn't use matrices and it doesn't to measure the screen or any of that crap. private Vector3 worldToIso(Vector3 point, int tileWidth, int tileHeight) { gameCamera.unproject(point); point.x /= tileWidth; point.y = (point.y - ...


1

Addendum: Early graphics were done on vector monitors, just one step up from the oscilloscopes seen in the lab where (0,0) would be in the exact middle of the screen, subject to some knob turning to set X/Y scale, X/Y offset, and possibly X/Y inversion. The dedicated hardware of Atari "Asteroids" (1979) for example used a vector screen; it would be ...


1

JSON Philipp makes a good point about JSON. It is human readable and makes debugging network code easy. If you have no experience in programming network code, this would be the way to go. Yes, there is a lot of overhead by using JSON, but for small to medium data transfers, it should be more than enough. And like Alexandre Vaillancourt said, you can always ...



Top 50 recent answers are included