I’m about to start implementing a small point-and-click adventure game in p5.js, and one of its several gimmicks is that some rooms will be IF instead. To do this I plan to just have parchment and the p5.js canvas sitting next to each other, and resize them or change their visibility as the player moves between rooms. I think this is basically straightforward, but if anyone has tried anything similar and knows of any gotchas, I’d love to hear about them :)
I would very much appreciate any guidance or relevant documentation or similar project links anyone has to offer before I jump in and try to hack something together on my own, because it has the feeling of something I could very easily make way too hard on myself. Thanks!