Mr. Stewart's Greenfoot Lessons

Mr. Stewart's Lessons (Greenfoot Lessons) Reflections

Lessons 1-5: In lessons 1-5 on Mr. Stewart's Greenfoot Lessons, I learned how to make an object move a certain amount of pixels (move command), how to turn an object (turn command), and also how to tell if a key is down (Greenfoot.isKeyDown). It was really easy to do in the first few clips, because he had a download to start off with that already had a good amount of code to start. As easy as it was to write out these simple lines of code, it was really cool to watch an object move and function and think that you just made that happen. Also I learned how to add a sound, how objects hit other objects, and finally, how to set an image ...

Want to read the rest of this paper?
Join Essayworld today to view this entire essay
and over 50,000 other term papers

completely from scratch and had to learn how to create a world, and create a new character called the PieShip. After we created this character, or more formally, actor, we learned how to do "setRotation" which is just a fancy way of having it turn a certain direction. It was a simple first lesson but it got so much more challenging after that. The next lesson, we learned an intensely coded way to move that lets you float, and accelerate too. We used many variables and of course used the "Greenfoot.isKeyDown" command. What we had to do was make a new move command that moves you horizontally and vertically and when you keep holding down the space bar you keep getting faster. It took a little bit to understand and was challenging to code but its functionality is really cool. After that, we made new methods that including "hitTheEdge" which detected if we (or the PieShip) hit any of the four edges. After that, we made methods which used the hitTheEdge method including BounceAtEdge and ...

Get instant access to over 50,000 essays.
Write better papers. Get better grades.


Already a member? Login

moved in the same direction. Next I made it so the when a cherry hit a Banana or the enemy, they both would disappear and the banana would essentially "die". After this we made a score counter. This used a variable inside a word to make it add to the score. When a cherry hit an enemy, the score would go up one, and it adds a really cool feature to the game and adds a ton off possibilities. Finally, I added the coolest thing, which was a health bar. I actually used code and many variables (mostly getImage, drawRect, and fillRect) to draw a health bar and make it go down every time you make contact with an enemy, in other words, giving you a certain amount of lives until you completely ...

Succeed in your coursework without stepping into a library.
Get access to a growing library of notes, book reports,
and research papers in 2 minutes or less.


CITE THIS PAGE:

Mr. Stewart's Greenfoot Lessons. (2016, December 12). Retrieved December 13, 2017, from http://www.essayworld.com/essays/Mr-Stewarts-Greenfoot-Lessons/106018
"Mr. Stewart's Greenfoot Lessons." Essayworld.com. Essayworld.com, 12 Dec. 2016. Web. 13 Dec. 2017. <http://www.essayworld.com/essays/Mr-Stewarts-Greenfoot-Lessons/106018>
"Mr. Stewart's Greenfoot Lessons." Essayworld.com. December 12, 2016. Accessed December 13, 2017. http://www.essayworld.com/essays/Mr-Stewarts-Greenfoot-Lessons/106018.
"Mr. Stewart's Greenfoot Lessons." Essayworld.com. December 12, 2016. Accessed December 13, 2017. http://www.essayworld.com/essays/Mr-Stewarts-Greenfoot-Lessons/106018.
JOIN NOW
Join today and get instant access to this and 50,000+ other essays


PAPER DETAILS
Added: 12/12/2016 11:04:40 PM
Submitted By: samueldezube
Category: Computers
Type: Premium Paper
Words: 1361
Pages: 5

Save | Report

SHARE THIS PAPER

SAVED ESSAYS
Save and find your favorite essays easier

SIMILAR ESSAYS
Analysis Of Robinson's "Mr. Flo...
Mary Stewart's The Crystal Cave
How Do The Past And Present Eff...
Stephen Leasock's "Arcadian Adv...
Mr Polk's War
Robert E. Lee
Great Expectations Vs. Oliver T...
Kerouac's On The Road: Living I...
Great Expectations- The Evolut
Great Expectations And Oliver T...
Copyright | Cancel | Contact Us

Copyright © 2017 Essayworld. All rights reserved