This extension for GDevelop adds an object to your game that displays video from cameras connected to the device.

πŸ“ŽOperating environment

 AppBrowser
Windowsβœ…βœ…
MacOSβ”βœ…
Linuxβœ…βœ…
AndroidβŒβœ…
iOSβ”βœ…

❔: unconfirmed.
❌: It doesn't work due to permission issues.

Please allow your browser to access your camera.
On iPhone, you need to press the play button.

πŸ“– How to use

Import the downloaded "RealCamera0.0.0.json" file into your project.

🎞️ About AlternativeVideo files

The RealCamera object requires a temporary video file. The RealCamera object attempts to launch the camera at the same resolution as the video. If the camera does not support that resolution, it will fail to launch.

I have prepared video files of common resolutions for your use.

  • 640 x 480: resolution supported by most cameras
  • 1280 x 720: higher resolution with 16:9 ratio
  • 480 x 640: For smartphones in portrait orientation
  • 720 x 1280: For smartphones in portrait orientation

πŸ“‚ Example project file

"RealCameraExtensionExample0.0.0.zip" is the example project file. Open "RealCamera Extension Example.json" in GDevelop.

List of examples included in the project file.

  • Basic Example
  • Camera Control Example
  • Video Sensing Example
  • Snapshot Example

🧩 Recommended Extensions

  • Read pixels: @Bouh
  • Record: @Add00

🍩 Donation

If you enjoy this extension, please consider downloading the Example project file to maintain this extension. (The Example project file will surely help you.πŸ˜‰)

Buy Me a Coffee at ko-fi.com

StatusIn development
CategoryOther
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorPANDAKO

Download

Download NowName your own price

Click download now to get access to the following files:

RealCamera0.0.2.zip 5 kB
AlternativeVideo640x480.mp4 12 kB
AlternativeVideo1280x720.mp4 16 kB
AlternativeVideo480x640.mp4 17 kB
AlternativeVideo720x1280.mp4 23 kB
RealCameraExtensionExample0.0.2.zip 111 kB
if you pay $5 USD or more

Development log

Comments

Log in with itch.io to leave a comment.

will it eventualy have android apk suport? cause it can be used along with chat gpt and other api integrations to create lots of apk concepts.

(+1)

I love this extension! I test it with applications like "code reader"


Very nice work, and I'm waiting for more upgrades!

How did you do that? It's great, how could you make gdvelop know what color is on the screen? :O

Thank you! I achieved that by utilizing the 'Read Pixel' extension. This extension allows me to capture the RGB values of specific points on the screen. Essentially, it reads the color information pixel by pixel at designated locations in the image. By leveraging this capability, I can accurately determine the colors present on the screen and incorporate that data into my development process.

(1 edit) (+1)

Thanks Michael J, it was very useful to be able to move the player using the color change by filters to select the color of my hand :) it is not perfect but I think it works


Incredible! How did you get GDevelop to detect the hand position? Does it require a lot of machine resources?

Xanks! :)

Noice job! Like to see extensions like these being added! Keep up the good work :D

seems pretty cool, will check out later