Hi David! you are the legendary programmer in our forum! lol, how did you make this pingpong game? Did you like edit from a library of existing game or from scratch? How long to build a working game like this pls?
Nah nothing legendary about me. I'm just someone whom loves technology.
Actually why I even get into Scratch is more like to demonstrate programming to my nephews and I mistakenly thought they need a creative program.
In the end, it was something much more simple and physics - an improvised motor made out of copper wires, magnet and battery.
Anyway it didn't take me much for programming is not new to me, but it takes some investigating into how to use the Scratch properly.
I did read up how others did their own brew of ping-pong using their methods. I pick some ideas from those and also improved on my own
with better edge detection and reaction which result in smoother sprite movement as well as introduce some sound effects.
Took me around 2hrs inclusive of the research and testing out.
Basically Scratch is not too far off from the Macromedia/Adobe Flash. Flash has the timeline, but the actions are affix to the individual objects. The objects has their own timeline.
In the case of Scratch, there is no timeline, but there is a concept of events. It's akin to how one would design microcontrollers but we are dealing with sprites here.
Sprites are the good old animation concepts that goes all the way back to console games. Your Mario character or Sonic the hedgedog are sprites and they can be made out of a composite of sprites.
Once you open up my game, you can click on the "See inside" button on the top right to get into the details of how the game is constructed
Click on the soccer ball icon and you see the events steps all listed like lego blocks
Scratch is an educational tool, so the logic building blocks are very intuitive.
That being said, I wouldn't claim it is idiot proof, you will need to tune in to the concept and how to go about doing it. If kids could do it,
I'm sure any adult can learn as long as they are willing.
Feel free to click in and read the instructions, try it out. Meddle with the logics and see how things turn out.
Go and search in the
https://scratch.mit.edu site,
you will find extremely complex English chess game, and even some simple Street Fighter implementations (most are half-done though).
Have fun.
