Camera stuff
-
so i want to create a top down roleplay game. essentially you go around and do stuff and get a job. what i want is a camera that scrolls without using the viewport as that does not work. i asked the ai and it still used the viewport so if you can find a solution that would be much appreciated
-
The simplest solution is indeed using the viewport:
- Make the canvas size much larger than the view port
- Draw a large backdrop in the stage canvas
- Lock the viewport on the key sprite
Here is an example:play.creaticode.com/projects/6842f3d73d952dd83a741d13
If this “does not work”, can you please explain what the problems are? We can either refine this or discuss a completely different solution.