Friday, February 26, 2016
There are many ways you can make a scratch sprite move. We have been experimenting with this idea for a couple of weeks now. One way to make a scratch sprite move is to make it follow the mouse. Another way is to make it glide, or to make it teleport to another location. The third way you can make a sprite move is to make it rotate in a certain direction at a certain angle. For example, in the baseball project, we had the sprites glide from base to base. In the play project, we could have the sprites rotate in a certain direction. and then for the teleportation, you could have done that in any project.
Wednesday, February 24, 2016
Timers do indeed add urgency to nearly everything in life. In computers, timers add urgency to many things as well, such as reboots and OS installs. Since we're doing scratch games, this indeed wil be very interesting to add. Since timers are used in alot of games anyways, we mine as well add some timers to our scratch games. How would I use timers in scratch games? I would reserve them for the levels that require the most skill and speed. In other words, I'd add a timer to the hardest levels of my game.
Monday, February 22, 2016
Honestly, the hardest thing about the Rock, Paper, Scissors project was the fact that I had to go all the way through the different combinations. I had to simply create each combination possibility so that the computer would decide who would win. It honestly was also annoying that each outcome had to have a saying. This howevver was also an example of how on a large coding project that there could be multiple approaches. I, on this one, took an easy approach with just listing each of the possibilities. Some others did their code more complicated, yet more effecient. Mine however, just gets the job done.
Thursday, February 18, 2016
Pseudocode could help me with my code because mainly because of debugging. Sometimes the code to something becomes so complicated you cannot keep track of what some code does anymore or where certain bugs are. Pseudocode helps by completing two functions. 1) debugging your code and 2) finding out what certain code does.
Tuesday, February 16, 2016
the difference between and and or is that and means to add something and the word or means basically an alternative option. The word "random" in English means that something will happen purely by chance. This usually means that there is no certain outcome and that there is a chance of almost anything happening. No, if you rolled a dice the numbers usually will not come up in order because there is more of a chance of numbers not coming up in order than there is a chance of it appearing in order.
Thursday, February 11, 2016
Tuesday, February 9, 2016
Totally. Using the broadcasts as well as show and hide are very helpful when you are programming a game. These are especially helpful when you have multiple scenes in a game and you need to queue one up at a certain time. You could also broadcast some other things as well as backgrounds or maybe to bring up another sprite, or some other thing like that.
Friday, February 5, 2016
To broadcast something means to literally broadly cast something. In computer terms, it usually means uploading something to the internet, then allowing everybody to see the thing that you uploaded. This is usually in the form of a video, or Television Shows. In fact, YouTube's motto is "broadcast yourself".
Wednesday, February 3, 2016
Monday, February 1, 2016
user input is simply anything anything that the user decides to input. This can be anything from a mouse click to a button press usually. These then can be converted to be variables an d then computed, or simply displayed. The computer is programmed to follow user input and comoute it, like in a web browser when you click a link or press pause or play.
Subscribe to:
Comments (Atom)