Skip to content

Code to adjust camera for varying level sizes or device rotation.

Notifications You must be signed in to change notification settings

orff/SceneKitDynamicCamera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SceneKitDynamicCamera

An attempt to adjust camera for varying level sizes or device rotation on any screen size. ( "Best Fit" )

I took the boiler plate SceneKit scene, then with help from Apple forum members attempted to create some methods to correctly adjust the camera if the level size changed or the device was rotated.

Test this on different sized screens, orientations.

Tap on the box to get a new random box ( this is to represent your different sized levels ).

About

Code to adjust camera for varying level sizes or device rotation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published