fungus icon indicating copy to clipboard operation
fungus copied to clipboard

[WIP]Orthographic Camera Utility, New Command

Open breadnone opened this issue 2 years ago • 0 comments

Description

Orthographic camera utility command.

These are the features:

  • ~~Lock To Object~~ Camera follow Basically what it does is for the camera to follow gameObject. Useful for platformer or adventure type of games

  • Drag As the name implies, it drags an orthographic camera via mouse/touch input.

  • Scroll Pinch Zoom Supports zooming in/out an orthographic camera via mouse scroll or touches (pinch, to zoom in/out)

~~- Camera Shake Slightly different behavior that the existing one. It looks much more natural.~~ Removed, Fungus has this already

  • Rotate (x, y, z) Single rotation for each axes as well as full rotation

What is the current behavior?

We don't have this type of command yet.

What is the new behavior?

Users can have freedoms to make their game without having to add custom scripts attached to a camera. Should make their game more maintainable especially if vscripting is their only goto.

Also, it urges people to make other type of games because in my humble opinion, Fungus is more than just a dialogue system in Unity.

Important Notes

  • My change require modifcations or additions to documentation

Note:

  1. One camera can have multiple instances tied to this command except CameraFollow and Drag. These two can't and won't be combined together for obvious reason!

Other information

To do:

  • [x] Add custom editor.
  • [ ] Examples.

This is pretty much WIP. Inputs and suggestions are welcome. Thanks!

breadnone avatar Jul 13 '21 10:07 breadnone