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

#1 2010-12-31 10:16:26

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Lists

I figured out a way to reduce time on programs like mouse recorders.  Here is a simple mouse recorder script with this capability:
http://imageupload.org/?di=1612938082207
If you have seen lots of mouse recorders, most of the code should be familiar to you.  But there's probably a small part of the code you haven't seen in mouse recorders.  It is the code that reduces the time in mouse playback:
http://imageupload.org/?di=712938085421
Something like this should work for just about any mouse recorder, draw-a-character game, or any project that uses lists to record x-values and y-values of your mouse.  It is a convenient method to reduce time in this type of project.

Last edited by HD123 (2010-12-31 10:21:19)


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#2 2010-12-31 18:27:22

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Lists

♫ Bumpity bump bump, Bumpity bump bump, Look at this thread go, Bumpity bump bump, Bumpity bump bump, Plow through the forums in snow ♫


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&online=http://lemonfanatic.webs.com/ONLINE.png&offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

Board footer