I want to be able to let the audience of my game draw things on the screen and type in letters and write things on screen, but i'm not sure how. Sorry if this shows up twice, and thanks!
Ellieellieo
Offline
Drawing can easily be done with pen. Just use this script on the sprite you want to use as a drawer:
when Green Flag clicked
forever
if <mouse down>
pen down
else
pen up
The typing is a little bit more complex. You'll have to make twenty-six costumes (one for each ofthe letters of the alphabet) and make a script on the sprite for each of the letters:
when key [A ] pressed
switch to costume [A ]
stamp
Remember that you'll have to continually clear the screen when the green flag is clicked with the [clear] block.
Offline
coolstuff wrote:
Drawing can easily be done with pen. Just use this script on the sprite you want to use as a drawer:
when Green Flag clicked
forever
if <mouse down>
pen down
else
pen up
The typing is a little bit more complex. You'll have to make twenty-six costumes (one for each ofthe letters of the alphabet) and make a script on the sprite for each of the letters:
when key [A ] pressed
switch to costume [A ]
stamp
Remember that you'll have to continually clear the screen when the green flag is clicked with the [clear] block.
The typing part, there is another better way but tougher. I can't remember
Offline