Tag: uwe-gep

3D Pathfinding: Thoughts

For one of my university assignments I’m working in a group to develop a racing game, taking inspiration from Mario Kart. I’ve come to realise that AI (specifically, staying in the centre of the track and/or getting the width of the track) is pretty important for a lot of stuff in the game: Items (red …

The problem with automatic sorting (std::map)

Do you want to store data in C++ that requires mapping that data to a string or other type of key? Is the order of that data important? Well then, don’t use std::map. “wha?” I hear you ask, well: std::map is an ordered data type What is meant by “ordered data type”? It means that …