leoblack I am making a larger map and I would like to change the viewport/camera to follow the hero and be "zoomed" in. Can anyone give me any pointers or direct me to some examples that could help me out?
dominx99 leoblack Hi, You can change the viewport in the RpgSceneMapHooks main/scene-map.ts import { RpgSceneMapHooks, RpgSceneMap } from '@rpgjs/client' const sceneMap: RpgSceneMapHooks = { onAfterLoading(scene: RpgSceneMap) { scene.viewport?.setZoom(1.5); } } export default sceneMap; https://docs.rpgjs.dev/classes/scene-map.html#rpgscene-hooks https://docs.rpgjs.dev/api/RpgSceneMap.html#viewport