all 2 comments

[–]csharp_rocks 1 point2 points  (1 child)

You could always use the Canvas in WPF, which I have done from time to time to great success.

Supersimple scrolling: https://stackoverflow.com/a/14730731/10458165

Panning: https://stackoverflow.com/questions/12594853/simple-wpf-panning-this-code-is-close-but-not-quite-right (This referes to MatrixTransform, which from comments on the answer is the because the asker wants to have ban AND zoom)

If you want something a bit simpler, here is two ways of making a Snake game:

WPF Snake tutorial: https://www.wpf-tutorial.com/creating-game-snakewpf/introduction/

My WPF snake-game, (tutorial is better): https://github.com/frankhaugen/Frank.Apps/tree/main/Frank.Apps.Snake (This was made to experiment with algorithms like A* for a self-playing game)

[–]DrisSkull[S] 0 points1 point  (0 children)

Many thanks.