Zoom and Scroll?

Discuss authoring naninovel scenario scripts.
Post Reply
gradstein
Posts: 22
Joined: 09 Sep 2020 19:03

Zoom and Scroll?

Post by gradstein »

Wondering if there's a way to let the player zoom and scroll on the screen.

I've noticed the "look" feature which allows for the scroll part, but any way to enable pinch to zoom as well so the player can scroll a scene within a bounding box and zoom in on things?

idaot
support
Posts: 262
Joined: 01 Aug 2020 08:25

Re: Zoom and Scroll?

Post by idaot »

That is not possible out of the box. I suggest overriding CameraManager and @look with a script replacing CameraLookController and a new input sampler that controls the Z-axis/camera zoom.

Here are the relevant guides:
https://naninovel.com/guide/custom-comm ... in-command
https://naninovel.com/guide/engine-serv ... n-services
https://naninovel.com/guide/input-proce ... processing

Post Reply