Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fogAndWhisky/StarlingCamera
A camera component that integrates with the Starling Framework (AS3)
https://github.com/fogAndWhisky/StarlingCamera
Last synced: about 2 months ago
JSON representation
A camera component that integrates with the Starling Framework (AS3)
- Host: GitHub
- URL: https://github.com/fogAndWhisky/StarlingCamera
- Owner: fogAndWhisky
- Created: 2012-07-03T18:33:51.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T04:03:40.000Z (over 10 years ago)
- Last Synced: 2024-08-03T05:01:56.718Z (5 months ago)
- Language: ActionScript
- Size: 234 KB
- Stars: 27
- Watchers: 9
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-actionscript-sorted - StarlingCamera - A camera component that integrates with the Starling Framework (AS3) (Multimedia / Camera)
README
THIS IS VERY OLD CODE AND NO LONGER MAINTAINED. USE AT YOUR OWN RISK.
This is a simple view component for the Starling AS3 Framework that allows you to integrate a Camera with the rest of Starling's display list.
Look at the Main and MainView classes for a simple tutorial.StarlingCamera supports:
- Arbitrary size of camera
- Mirroring of the camera view
- Arbitrary framerate of the display for optimized performance
- Downsampling of the camera display for optimized performance
- A rotate flag to handle a bug on mobile AIR
- Full-resolution snapshot call (getImage())Known issues:
- On IOS, the front-facing camera is higher resolution than the rear camera. This makes the image seem unnaturally zoomed.
I'll post a fix when I can.
- A bug on Air for IOS causes the camera to rotate 90 degrees. This is handled in StarlingCamera by allowing the developer
to pass in a rotate flag as part of the init() method.