delza's Recent Projects http://scratch.mit.edu/feeds/getRecentUserProjects/196 Recent Projects Feed for delza en-us Mon, 6 Oct 2008 09:46:40 GMT CakePHP Han and Andres genghisu Pong Solitaire http://scratch.mit.edu/projects/delza/2671 Pong for one: tennis played in a circle. Use the right and left arrow keys to move the paddle. Post your high scores in the comments! Enhancements I'd like to have, but haven't figured out yet: 1. The ball catches on the paddle sometimes, it would be good to check for and avoid that 2. The paddle movement depends on your keyboard repeat rate, so there is an unfortunate delay before it starts moving. 3. Each time you miss, the paddle could shrink, so subsequent games get harder. 4. Use "english" to make the ball move differently depending where it hit the paddle, and the direction and speed the paddle was moving. Right now this is simulated with a bit of randomness added on the bounce. http://scratch.mit.edu/static/projects/delza/2671_sm.png snakey chain two http://scratch.mit.edu/projects/delza/1320 move your mouse around on the screen and watch the snakey chain move. Based on snakey chain one, by Mina. I added offsets so that the snake's segments don't bunch up and changed most of the loops to be listening for a message instead, so only the head has a loop. Could go further and keep the segments from spreading out by adding a message per segment, so the head sends a message to the first segment (and waits), the first segment sends a message to the second segment, etc. But I kind of like it the way it is now. http://scratch.mit.edu/static/projects/delza/1320_sm.png Click the dragon http://scratch.mit.edu/projects/delza/776 My first attempt at playing around with 3rd party sprite libraries. Try clicking on the dragon. Credits: Dragon sprite from Reiner's Tilesets, a wonderful resource of sprite and pixel art that is free and legal for re-use: http://reinerstileset.4players.de/englisch.htm Fire is from fellow Scratch player Zen. Background is one of the Scratch built-in backgrounds. Getting the fire to synch up with the moving dragon was the only tricky bit. http://scratch.mit.edu/static/projects/delza/776_sm.png Pastels http://scratch.mit.edu/projects/delza/727 This is an attempt to replicate in Scratch a screensaver I made for OS X. http://scratch.mit.edu/static/projects/delza/727_sm.png Collision detection example http://scratch.mit.edu/projects/delza/291 My 10-year-old was asking how to have sprite detect when they collide. There are two parts to the answer. The first part is to use the sensing block "touching (other sprite)", although you could also use "distance to (other sprite)" The second part is when you want both sprites to detect the collision. The problem I encountered was that one sprite would detect the collision, turn and move away, before the other sprite sensed that they'd collided. This wouldn't be a problem in some circumstances, and I could have solved it by re-ordering when bouncing and moving happened, but instead I used the control block "broadcast (message)" to send a bounce message, then both sprites turn when they receive this message. A simple example that I hope helps someone. http://scratch.mit.edu/static/projects/delza/291_sm.png