I am making a 2d rpg game and I was wondering what would be a good stl or boost container for the map.
It will probably be using the Cartesian coordinates system were (0,0) is spawn because it has a semi infinite world (Think minecraft). It needs to be able to jump from point to point because I want to implement large distance teleports in my game (A few thousands of tiles).
Any good ideas to use?
(list, array, vectors, map, multimap, unordered_map, unordered_multimap?)
Show differencesHistory of post edits
#1shammancer
Posted 27 March 2012 - 09:39 AM
I am making a 2d rpg game and I was wondering what would be a good stl or boost container for the map.
It will probably be using the Cartesian coordinates system were (0,0) is spawn because it has a semi infinite world (Think minecraft). It needs to be able to jump from point to point because I want to implement large distance teleports in my game (A few thousands of tiles).
Any good ideas to use?
(list, array, vectors, map, multimap, unordered_map, unordered_multimap?)
It will probably be using the Cartesian coordinates system were (0,0) is spawn because it has a semi infinite world (Think minecraft). It needs to be able to jump from point to point because I want to implement large distance teleports in my game (A few thousands of tiles).
Any good ideas to use?
(list, array, vectors, map, multimap, unordered_map, unordered_multimap?)