This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-02-26 20:59:49

drumkid123
Scratcher
Registered: 2011-01-06
Posts: 5

Inserting Pictures

Would it be possible to insert pictures into a designated sprite, via a webcam, wile playing a scratch game?

Offline

 

#2 2011-02-26 21:49:54

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: Inserting Pictures

yes!hook up your web cam,change the script box to costumes and click camera and when you want to take a picture,click the camera.


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#3 2011-02-27 07:14:02

lemonpretzel
Scratcher
Registered: 2008-10-23
Posts: 100+

Re: Inserting Pictures

There is a way by hacking scratch and make a camera block, but it won't work online. http://wiki.scratch.mit.edu/wiki/Shift-Click-R is an article on the scratch wiki how to do it.
From here, the code for the camera block is here:

johnnydean1 wrote:

Code:

Code:

Name of block: Take Picture From Camera

Block Code:
('take photo' #- #takePhoto)

Other Notes:
NO OTHER NOTES

Last edited by lemonpretzel (2011-02-27 07:14:39)

Offline

 

Board footer