4 ms·
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 l
by emehrkay 13y ago
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 https://pbs.twimg.com/media/BJ3OudQCQAALZCc.jpg:large
- NoahTheDuke 13y agoHe already has the programmer lean. I see many good things in his future.
- emehrkay 13y agoFirst time I've seen him sit like that
- mattdeboard 13y agoSlim jims and everything. I'm looking at an empty beer bottle and a nutrigrain wrapper.
- dpritchett 13y agoI 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.
- emehrkay 13y agoIm 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
- TazeTSchnitzel 13y agoOne trick some people used was moving to several positions and "stamping".
- pflats 13y agoUsing 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.
- dpritchett 13y agoJust 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-8d0e5ed4d448/29f131d569ece22e606957b4f7c946ea https://www.evernote.com/shard/s4/sh/90b814fd-df52-4fcf-9127...
- deleted 13y ago[deleted]
- mattdeboard 13y agoWhoa, totally misunderstood. This isn't a client you install anymore? Bonkers.
- emehrkay 13y agoYeah, we were searching for a good bit before we found the FAQ. It says that a downloadable version will come this summer
- bitcracker 13y agoTell your son to put the lamp _behind_ the screen. It will bless his eyes.
- nnnnni 13y agoCompletely unrelated, but how old is that computer? Is it PPC or Intel? How well is it holding up?
- emehrkay 13y agoIt 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.
- nnnnni 13y agoI 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.
- emehrkay 13y agoIt'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.