gdquest-demos / godot-kickstarter-2019

Create your Own Games with Godot, the Free Game Engine: sources from the January Kickstarter project from GDQuest
MIT License
244 stars 270 forks source link

2D Multi target follower camera added #13

Closed guilhermehto closed 5 years ago

guilhermehto commented 5 years ago

The camera follows its children. To use it all you have to do is add the targets as children of the camera and off you go. It works as its own scene as requested.

There's a debug mode that uses _draw() to showcase how it works:

image

razcore-rad commented 5 years ago

Yep, this is good to go, we'll have a pass over all of these just to make sure we're happy with the code style. We'll see how well they follow the guidelines :)