GameDev<T>
Low level #gamedev for the 21. century. Also: explosions.
  • Home
  • About

Tag Archives for coordinate systems

Mapping game coordinates to a tilemap

  • Posted on 2016-06-15
  • by Paul Scharf

Not every game that uses tilemaps has the game’s coordinate systems correspond exactly to the tiles. We can write a wrapper class around our tilemap to convert between tiles and world coordinates.

Continue reading →

  • Categorized in General
  • Tagged with C#, coordinate systems, tilemap
  • View all 4 comments
Recent Posts
  • Shooting rays through tilemaps
  • Tilemaps: circular range queries
  • Tilemap – tiles intersecting rectangle
  • Keeping track of objects in a tilemap
  • Using tilemaps as accelerating data structure
Archives
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
Feeds
  • Posts
  • Comments

© 2023 GameDev<T>   Powered by WordPress   Theme based on Material