Hello there!

General Kenobi, you are a bold one!




Hit the Damn Corner!

General Overview:

A Scratch-quickie, I made a kinda pointless program that'd have the classic DVD screensaver do it's thing. Moving across the screen and bouncing off borders and of course, never hitting the corner. The program revolves around two "people" endlessly expressing their pain and frustration as the screensaver misses hitting the corners of the map. The program starts off with the DVD sprite randomly moving across the screen until it hits something. With the "if on edge, bounce" block, and in addition with randomized turn degrees and move steps, I was able to replicate the movement of the classic DVD screensaver. The program starts a list of pre-choosen things to say. There are two lists, both "unique" to each sprite with their own phrases to shout out during the program's execution. For example, every xxx amount of seconds, an invisible sprite (that's supposed to give the effect that they are real people watching the screen as you are) to randomly say xxx phrase from List y. And it'd go on and on. Phrases include, Hit the Damn Corner! (Hence the name), and make my suffering end, PLEASE. Things like that.


Q1. What programs did you discover as you experimented? And what were your solutions?

There are alot of problems with the program and little in-depth when looking back on it. When making it, the biggest problem I had was getting the two "people" saying their lines correctly. Though that was because I actually linked both of them to the same list, when I duplicated one of the sprites to make another one. I've fixed it by linking the correct list this time.

Q2. How can a abstraction/procedure block/list help organize the complexity of your program?

Things like an abstraction, procedure block or a list help organize the complexity of the program in various ways. In this instance I used a list to organize all the dialogue and put it all in one place. Like an array or a list of string. With something like a list to organize a set of "values", you as the programmer don't have write more code to do the same thing, and you are able to call the list mutiple times and pinpoint whatever item from the list you want without having to write more code. What could be done in five blocks could be simplifed into two.