Whack-A-Diglet

So we’re doing a project that’s supposed to be simple like an Atari 2600 game. I’m choosing to do a Whack-a-mole game except with diglets, because apparently that’s what my mouse drew that morning instead of a mole. I’m having some little issues here and there. It reminds me of my VFX programming class in Maya… Always one little thing goes wrong and now you have to spend hours trying to find how to fix it.

This program, Scratch, seems very limiting at times. It’s limiting in that things that I would otherwise find easy to do it has a hard time letting me do them. A classic example was Mariel in Class 2 repeatedly saying, “Why can’t I use just ‘unless’? That’s all I want!” It’s also kind of difficult thinking of the multiple sprites and scripts as one whole piece instead of separate scripts. Something I found myself asking repeatedly was, “Why can’t I just stop this entire sprite’s script aside from having to add it to separate scripts inside the script?” I struggled a little bit with that until I found another way around it (as it seems with every script we do, ‘take another route!’)

I seem to be having a really hard time telling my Countdown sprite to STOP counting down and restart itself whenever a certain a certain count is reached. Sounds easy, right? Well try telling that to my script. I have literally tried every combination of code I can think of, including changing the way it works and every time it seems to think it means continue past the certain limit I told it not to go past. I said, if Click < 3 (the number of clicks of the diglets), then do the countdown. If not (the number of clicks surpasses 2), then stop the script. Well it doesn’t seem to understand this and continues to go to zero, and then restarts itself. I don’t know what to do. Still trying to figure it out.

Earlier I was messing with the addition of levels in my script. I’m having to change a few things, like the countdown that before just counted down until zero, and the “GAME OVER” sprite that would originally just pop up after 11 seconds and end the game immediately. There’s some other little things I need to add too. I haven’t set up the “get all these diglets means you win” script either. I’m starting to think I’m taking the longer-than-necessary route to achieve this, but if I get to it work I can always get a friend to simplify it for me later on, probably during the critique tomorrow. Looking forward to it.

Until next time.

Comments are closed.