News for hackers. Stuff that matters.
Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @08:50AM (#5685875)
My son is finally make his space shooter the way he envisioned because of the new clone sprite action. Exciting times ahead, here is a pic of him getting down last night:

https://pbs.twimg.com/media/BJ3OudQCQAALZCc.jpg:large

Re:What's New in Scratch 2.0 by bitcracker on Friday May 10, 2013 @12:23PM (#5687072)
Tell your son to put the lamp _behind_ the screen. It will bless his eyes.
Re:What's New in Scratch 2.0 by NoahTheDuke on Friday May 10, 2013 @10:20AM (#5686313)
He already has the programmer lean. I see many good things in his future.
Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @11:25AM (#5686678)
First time I've seen him sit like that
Re:What's New in Scratch 2.0 by mattdeboard on Friday May 10, 2013 @11:34AM (#5686750)
Slim jims and everything.

I'm looking at an empty beer bottle and a nutrigrain wrapper.

Re:What's New in Scratch 2.0 by dpritchett on Friday May 10, 2013 @10:31AM (#5686379)
I had to implement some unsatisfying hacks to make my Scratch shooter work as well! If I remember correctly I was manually duplicating the master projectile and I had to register each projectile against each enemy.
Re:What's New in Scratch 2.0 by pflats on Friday May 10, 2013 @01:37PM (#5687568)
Using Alice 2.2 (which also doesn't allow cloning/instantiation) my students had a similar issue, and solved it by using what they called "Megaman logic".

Megaman could apparently only shoot N bullets at once (3 or 5, I forget). Thus, they only ever had 5 bullet objects, iterated through a list to see if the bullet was shot or not, and only let you fire if there was a spare bullet.

I thought it was very clever. Sounds like you did much of the same thing.

Re:What's New in Scratch 2.0 by dpritchett on Friday May 10, 2013 @01:50PM (#5687637)
Just so! I had three projectiles (rock1, rock2, rock3) and they shared a global "fire selector" that operated as a sort of mutex.

https://www.evernote.com/shard/s4/sh/90b814fd-df52-4fcf-9127...

Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @11:18AM (#5686631)
Im not sure if clone works as expected though. He has a laser beam and it listens for a 'shoot' broadcast. When it hears it, a clone of 'myself' is made, it is placed behind the ship, and a loop moves it to the left. However, if 'shoot' is broadcasted multiple times, new clones are not made and the same laser beam is placed behind the ship. Maybe we'll put the clone logic on the broadcast portion and not on the laser itself. Programming is fun, I can't wait to nudge him to try that approach
Re:What's New in Scratch 2.0 by TazeTSchnitzel on Friday May 10, 2013 @01:23PM (#5687476)
One trick some people used was moving to several positions and "stamping".
Re:What's New in Scratch 2.0 by nnnnni on Friday May 10, 2013 @09:07PM (#5689370)
Completely unrelated, but how old is that computer? Is it PPC or Intel? How well is it holding up?
Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @09:53PM (#5689450)
It is an intel (I don't know the exact specs because he is using it right now). It is mainly a browser/netflix/homework/science project machine, he does, however, game on it. And I mean WINE game. Simpsons Hit and Run, Starwars Battlefront 1 & 2, he is really into Spore now a days. He does play Simcity 4000 or whatever the old one is from time to time. I was considering an upgrade or giving him my 13 macbook pro when I get something new. We've had it for 3 years and I can't ask of more from something that I got for 200$ on craigslist. Its funny because while he has a very capable computer on his desk in his room, he would much rather do every task on the iPad.
Re:What's New in Scratch 2.0 by nnnnni on Friday May 10, 2013 @10:05PM (#5689465)
I honestly wasn't expecting you to see this and respond, so thanks a lot! I'm working on some machine lifetime prediction stuff for work, so it helps to hear about real-world cases.
Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @11:05PM (#5689577)
It's a 2ghz core2duo with 2gb ram. Another impressive feature is the wireless speed. He streams HD video from the basement with no problem, while my newer computer struggles from time to time. This has been a great computer for him.
Re:What's New in Scratch 2.0 by mattdeboard on Friday May 10, 2013 @11:25AM (#5686682)
Whoa, totally misunderstood. This isn't a client you install anymore? Bonkers.
Re:What's New in Scratch 2.0 by emehrkay on Friday May 10, 2013 @11:32AM (#5686739)
Yeah, we were searching for a good bit before we found the FAQ. It says that a downloadable version will come this summer