The Sinister Design Forums

General => General Discussion => Topic started by: Idozen Cair on March 16, 2011, 08:00:53 AM

Title: Scratch
Post by: Idozen Cair on March 16, 2011, 08:00:53 AM
Does anyone use the program Scratch here?
Title: Re: Scratch
Post by: Cypher on March 16, 2011, 12:18:08 PM
I used to, but eventually I got bored and stopped using it.
Title: Re: Scratch
Post by: bugfartboy on March 16, 2011, 03:39:53 PM
I don't know what Scratch is.
Title: Re: Scratch
Post by: Ertxiem on March 16, 2011, 06:07:50 PM
I think the mentioned Scratch is a programming language (http://info.scratch.mit.edu/About_Scratch). I never used it, though.
Title: Re: Scratch
Post by: ArtDrake on March 16, 2011, 10:05:32 PM
It's a bit... junior.
Title: Re: Scratch
Post by: Cypher on March 17, 2011, 12:40:26 AM
Quote from: Duckling on March 16, 2011, 10:05:32 PM
It's a bit... junior.
More than a bit, I'd say... it's extremely simple. I used it when I was in primary.
Title: Re: Scratch
Post by: Idozen Cair on March 17, 2011, 04:23:51 AM
I'm in primary now, and I'm just getting a grasp on programming. Created first game 3 days ago. I was wondering... how do you get a sprite to hide itself, but get it to pop back out afterwards? I'm having a sprite which are the letters 'game over' but I want it to appear after the game has ended. Is it possible?
Title: Re: Scratch
Post by: Cypher on March 17, 2011, 12:08:30 PM
Don't expect me to answer, I stopped using Scratch long ago.
Title: Re: Scratch
Post by: ArtDrake on March 19, 2011, 07:35:09 PM
Well, presumably, there's a hide command, or at least a command to move the sprite off the screen instantaneously, and you use that at the beginning. Then, at the end of the game script, tell the sprite to come back on.
Title: Re: Scratch
Post by: Idozen Cair on March 22, 2011, 07:10:31 AM
Is it possible to get a sprite to move 'up'? I can only get it to move left and right.
Title: Re: Scratch
Post by: Ertxiem on March 22, 2011, 08:43:11 AM
I don't know scratch, but try to use negative numbers (if 2 is right, -2 should be left).

Edit: Sorry. I misread your post.
Title: Re: Scratch
Post by: bugfartboy on March 22, 2011, 09:43:07 AM
He said he can ONLY get it to move left and right. He can't get it to move UP.
Title: Re: Scratch
Post by: Idozen Cair on March 23, 2011, 04:42:48 AM
or down, for that matter. I'm trying to make a game where you control a paddle and bounce the ball up to destroy the bricks.
Title: Re: Scratch
Post by: Ertxiem on March 23, 2011, 05:44:38 PM
I did a quick google search with the terms
Scratch move up down
You can see the results, if you like. (http://www.google.pt/search?q=Scratch+move+up+down)

And one of those results caught my attention:
Introduction To Scratch: Exercise 1 (http://www.nebomusic.net/scratchlesson1/scratchexercise1.html)
In there it shows how to move sprites. The number "90" is the angle (in degrees) counted from the vertical (12 o'clock):

90  = right
-90 = left
 0 = up
180 = down


Diagonals would be 45, 135, -45 and -135 (and all other numbers for different diagonals). Try multiples of 30 degrees (or even multiples of 15 degrees).