I was working on this example a bit and have finally added a Border feature, which allows you to add a border or section where the camera won’t cross. This is set on the example, but when you use this example, it should be default to infinite if you set your camera up to how you want.
I wanted to make a new topic for this example, since the original topic used an outdated link which was repurposed for another project, so I figured I would make a new one with a proper and permanent link.
The current features are similar, hold right click and drag to move the camera around. Pressing 1 will toggle a light and dark mode version. If you also right click on tiles, they will turn red, this is just an experimental feature to see if I can also use right and left click while also using right click to move the camera.
I do believe that using this example is relatively easy, but if you want to add a border, it gets a bit more complicated, since there’s a couple different objects you’ll have to make and use code from. I plan to make this more simplistic and hopefully just making this all one object, but this is what I was able to come up with for now.
I do hope that we can get a middle mouse button as an input in the future, then I feel this would be much better, but I’m limited at the moment.