I am currently working on a project where i want to display data of a game and my own graphs on a rebuilt minimap.
The data is given as ticks of the game with the entitydata changed in that tick. At first i want to draw the map and then all entities existing at the first tick. Then for every tick i want to update positions and draw lines between entities
My WPF User Interface is set up with the MVVM Pattern.
Now i am struggling with the creation of and techniques for the minimap.
What i want the minimap to support/create:
Interactivity
- Click on entities on the field to display more information about them.
- Zoom the map
- Follow entities(with a zoomed in game field)
- Toogle different visuals (disable one team, highlight sth etc)
- ...(and other interactions like the above)
Performance
- Graphics should look as smooth as possible(Map,Images, anti-aliasing, no stuttering)
- High framerate (at least 30FPS)
- At best it should be a solution with most of the above features built in(see 1.)
Exporting screenshots and a video of the whole game(with my own graphs and stuff)
What i already considered(from this post WPF real-time rendering)
- Data binding and canvas
Problem: Slow and not performant..at least as I implemented it) - WriteableBitmap(Problem: No funcitionalities built in(see 1.)
- DrawingVisuals
Problem: How to realize as MVVM? Is it efficient?
- WriteableBitMap
Problem: I have to build the functionality of 1.) on my own. But looks like it is efficient
Before i start implementing a lot of my wanted features myself i wanted to ask if there is anything fitting my needs or if any of the above technologies is not suited.
I hope that my question is clear enough.
Feel free to let me know if anything is missing.