Stencyl 3.4.0 is now out. Get it now!

(iOS/Android) Camera Extension

mdotedot

  • *
  • Posts: 1157
Extension
Example


Blocks:


See the example (exported stencyl) file for usage of the blocks.

The [make local directory] block can be used to access your application folder for upload/download files of your own.

« Last Edit: May 07, 2017, 07:47:25 am by mdotedot »
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

bonzero

  • *
  • Posts: 462
Whao Awesome, can't wait to try it, thanks a lot!

yoplalala

  • *
  • Posts: 1369
Hi Mdotedot !

As I'm curious, I looked at the code :)

Is there any reason you use
#else
      #if
instead of #elseif    ?

mdotedot

  • *
  • Posts: 1157
Ha .. You peeping Tom !

There is no reason .. just m.e. hacking away.
I'm an idiot so don't try to learn from the code :D

Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

choppedupmonkey

  • *
  • Posts: 581
wow! This looks awesome. thanks so much.
My name is Jason, I live in America, and I am 16 years old :) I dream of success and hope to achieve it with my favorite company ever...STENCYL! I love helping people and if you need help feel free to email me at detourstudios07@gmail.com

"Focus more on the product than profit, for the profit will come after the product." -Me

1MrPaul1

  • *
  • Posts: 1170
Thanks for the extention
Is it possible to not make a shot but use camera image as a background for your game?

Donni11

  • *
  • Posts: 2118
@mdotedot, Such a useful and cool extension! Thanks !
@1MrPaul1, Yes, using this : http://community.stencyl.com/index.php/topic,44943.0.html
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

1MrPaul1

  • *
  • Posts: 1170
Thanks Donni!
But I'm probably not clear explain what I need, I want to play the game over the video from camera

Donni11

  • *
  • Posts: 2118
The recorded video as a background? Or playing a game while live camera feed is rolling in the background  ( like pokemon go )?
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

1MrPaul1

  • *
  • Posts: 1170
yes yes, pockemon go is a good example
Is it possible?

Psygamns

  • Posts: 4
Not sure why, but I am unable to unstall it into Stencyl. Tried adding to extensions folder and installing via settings -  the extension does not appear in the enable window. Can you explain shortly how to try this extension
Thank you

mdotedot

  • *
  • Posts: 1157
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/

Psygamns

  • Posts: 4
Thanks a lot, you are great!

squeeb

  • Posts: 837
any way to convert this to AR?  not just take a pic and set as background.. but use what the camera sees to display as the background?  im surprised nobody made augmented reality on stencyl yet!

mdotedot

  • *
  • Posts: 1157
My extension could do a really low resolution image capture with about 10 fps. The image can be altered and the extension is not optimized yet so it might be better.
To clarify : the extension I mention is the video capture extension I showed when asking people to test the android version. I am still working on that to get motion detection like kenect.

« Last Edit: September 03, 2016, 01:21:10 am by mdotedot »
Best regards from
M.E.
Hanging out in the Chat:  http://www.stencyl.com/chat/