Hello all. I have two questions, but one is primary. Since scratch is mostly used to help kids and beginners transition into the world of programming, I was wondering what your thoughts were on the best language to transition to after you've mastered Scratch. Do you feel there is a specific language that works most like Scratch that would be easiest to learn coming from this foundation?
My second question is: I'd like to begin with a pong game, playing two computers against each other. Is Scratch a powerful enough tool to do something like this, or should I be starting out with smaller projects? I have a very very basic "hello world!" background in programming, so I understand the concept but have never gotten past creating a few simple calculators by following guides, etc.
Offline
Scratch covers the most basic parts of all programming languages. So you could probably transition into any other language. Java, C/C++, Ruby, Python, Php are all good options for a language to get in to. If you want something that is most similar to scratch that would be flash (used for flash game sites) but you have to buy Adobe's expensive software.
Scratch is good at very simple graphical programs, pong is a good example of this. You could learn how to make such a game by looking at the code from other people's projects.
I find that a good way to learn programming is to learn all the little bits and work your way up. Once you learn something, make a program that focuses on that feature and learn to use it properly.
Offline
Welcome to Scratch!
Having two computers play each other in pong would require AI, and from a "Hello World!" background, would be hard to do.
Offline
Hello world is a complicated thing to do...
Do you say hello world?
Do you make a variable that says hello world?
Do you make a variable CALLED hello world?
Meh, but your second question:
If you want to have two players on different computers play a pong game, you would need to use mesh, which involves quite a lot of variables (that ALL have to be global). If you just want 2 AI players, it's rather simple, depending on what kind of AI you want.
Offline
how do you put the things in variables that let you change the variable just by moving the dot side to sider
Offline
i mean side
Offline
Thank you all for your feedback. I actually created a program that allowed two pong paddles to hit a ball back and forth, but neither of them could possibly lose because they were both setting X to the ball sprite. I guess that's satisfactory for now, considering how little spare time I have to work on it.
Offline
axiomwolf wrote:
Hello all. I have two questions, but one is primary. Since scratch is mostly used to help kids and beginners transition into the world of programming, I was wondering what your thoughts were on the best language to transition to after you've mastered Scratch. Do you feel there is a specific language that works most like Scratch that would be easiest to learn coming from this foundation?
My second question is: I'd like to begin with a pong game, playing two computers against each other. Is Scratch a powerful enough tool to do something like this, or should I be starting out with smaller projects? I have a very very basic "hello world!" background in programming, so I understand the concept but have never gotten past creating a few simple calculators by following guides, etc.
You could use Mesh to create a player vs player pong game
Offline
dominoespizza wrote:
how do you put the things in variables that let you change the variable just by moving the dot side to sider
Hi! Please make your own topic for your questions in the future. Look for the "Post new topic" in the upper right area of the main screen for a forum.
To change a variable to a slider, try right clicking on the variable display. It should give you the option to switch it to a slider. On a Mac, it's option-click, I believe.
Offline
Paddle2See wrote:
On a Mac, it's option-click, I believe.
There is a right click function on the mac, but you need a mouse.
Offline