|
Computer Science Classes at Marshfield High School |
Introduction to Basic Assignments and Schedule
Link to Lesson Plans
When you have completed all possible work you may move to the front of the room to do homework. You must be absolutely quiet. Consequences for breaking the rules will be first offense is a classroom after school detention, is after school detention and I call your guardians, and all following offenses will be school detentions.
Acceptable Work UnAcceptable Work Work on Assignments no online games Technology of the Week no playing your games Catch up on Missing Work no game maker games Work on Your MO Portfolio no playing your classmate games
Link to Power Point: Class Procedures, Schedules, and Assessments
For Students and Parents: Basic Programming Schedule and Assessments
Link to Basic Programming's Game Maker Page
Important Information:
Improper use of the Internet during class time will result in the loss of computer use for the day, the student will have to make up lost class time and work after school. Improper use is defined as visiting an internet site that has not been sanctioned by the school or teacher. This includes but is not limited to all types of games that are not related to class work.In addition, adding unrelated files to the school's computer network will result in immediate loss of all internet privileges.
Lesson 1 (Tuesday Aug 31st)
- Lecture (a little)
- Create a Name Tag
- Sit alphabetically
- A little About me -
- Write a little about yourself and share it
- A little about the class-
- notebook and pen or pencil on your desk open by the bell
- class overview - You will learn how to create basic programs using two different tools. One Game Maker ( a drag and drop game making programming environment ) and one is real programming environment called REAL basic. This is object oriented and is used in business.
- 3 minute paper - on a separate piece of paper -
- lecture - take notes
- work at the computer
- review what we have learned
- A little about the Web site- Demo Web Site -All work is posted on the Web site and it is your responsibility to keep up to date on the Web site
- A lot about the class procedures on the Power Point - Link to Power Point: Class Procedures, Schedules, and Assessments and class outline Basic Programming Schedule and Assessments
Week Starting 9/19
Finish all Work up to Game Maker and complete
Study Guide for Test 1Test onThursday 22 and Friday 23
Lesson 2
- Lecture - BasicComputerStructures.htm (read)
- Take out Notebooks
- How to find FireWorks and DreamWeaver
- Open the File Explorer ( My Computer) - >C drive-> Program files->Macromedia->FireWorks - in the FireWorks Folder you will see a big yellow icon. Right click on the yellow icon and it will be on your desktop. (disregard what it says). You can use FireWorks for drawing and the reshaping of sprites and shapes. It's a great tool. Do the same for DreamWeaver
- Demo how you would use FireWorks.exe.
- Computer
- Refresh Power Point - Open a Browser, find the classes Web site and open the power point and do the following assignment.
- Do Assignment One- print out sheet of paper and give it to me.
- Assignment -Do in your notebook and I will check it at the end of the class. If you want to leave your notebooks in the classroom you can.
- What does the letters in url stand for, and what is it? Hint - Google it?
- What is the url of my Web site?
- Where can we find the research materials we use in this class?
- What is not allowed in our games, and if included you will fail.
- Where are assignments posted.
- If assignments are not posted what should you do?
- What is the dismissal procedure?
- During computer time, what is the procedure when I call for attention?
- What is the purpose of the 3 minute papers.
- Name two RealBasic assignments.
- What percentage of your grade are quizzes, and projects.
- Explain the criteria to getting an A on a project.
Continue on with lesson 3
Lesson 3
- How are Files Organized on a Computer? -A computer without a File Manager and File System is like an ipod without a song index.
- Find Files
- Organize Data
- Stores files associated with user, software and hardware applications.
- Definitions
- Files are viewed through a file manager or file browser. A file manager such as My Computer is a computer program that provides a user interface to work with file systems. The most common operations used are create, open, edit, view, print, play, rename, move, copy, delete, attributes, properties, search/find, and permissions. Files are typically displayed in a hierarchy. Some file managers contain features inspired by web browsers, including forward and back navigational buttons.
- Files are organized in a file system. "In computing, a file system (often also written as file system) is a method for storing and organizing computer files and the data they contain to make it easy to find and access them."
- A file name is a name assigned to a file in order to secure storage location in the computer memory. File systems typically have directories/folders which associate file names with files, usually by connecting the file name to an index in a file allocation table of some sort. In the Windows Operating System, file names are structured, with special syntax for filename extensions.
- For more information go to http://en.wikipedia.org/wiki/File_system
- MHS - System in a nutshell - H drive and C drive
- Demo - How to create a short cut and how to create a directory
- Computer
- Finish work on previous assignment
- Create a short cut to Real Basic - My Computer -> C drive -> Program Files -> REAL Software -> green box -> right click and create a short cut
- Assignment 2
- Set up File Structure on H Drive
- create top level Folder - > H:/Basic
- H:/vgold/Basic/GameMaker, H:/GameMaker/tutorial
- H:/vgold/Basic/REALbasic
- H:/vgold/Basic/MO, H:/Basic/MO/Portfolio/, H:/Basic/MO/GameMaker, H:/Basic/MO/RealBasic
continue on with Lesson 4
Lesson 4
- Lecture
- MHS File System - C and H drives
- Explain what a path name is both absolute and relative
- Identify and describe file extensions -
- Assignment 1 -Write a read and write a paragraph on each of the following items
- When Finished all assignments there will be a Test on all the above assignmens Thursday 22 and Friday 23
Game Maker
First Assignment Game Maker Assignment
Complete the tutorial exactly as described. When I say exactly I mean the sprites, the background, and the music should be the same as those used in the tutorial. If you want to change the tutorial first create a complete tutorial and save it. The name of the file should be your first initial- last name then tutorial - for example my valid filename would be vgoldTutorial.gmk
You can then create a new game and be as creative as you like.
The week of
- Finish up FileManager Assignment - save file in Basic Folder as FileManager.doc
- Finish up GameMaker Tutorial - save in Basic/GameMaker/Tutorial/firstInitialLastNametutorial1.gmk
- Start your first Game Maker Project -
- Create a new Folder in the GameMaker Directory called Project1
- Go through the tutorials in Lesson 5
- Start writing a document on what your Game Maker project will be. Follow the directions
The week of
- GameMaker Tutorial Due!
- Verify that your tutorial is in the correct Folder at H:/Basic/GameMaker/Tutorial/firstInitialLastNametutorial1.gmk - 10 points
- Verify that all sprite and object names are meaningful. (delete extra sprite and objects) - 10 points
- Make sure that your tutorial works as defined by the directions. - 75 points
- Grading Assessment for Assignment 1 -Game Maker Tutorial
- Your game contains all Sprites – Wall, apple, banana, bomb, cherry and strawberry -5 points
- Your game contains all Objects – Wall, apple, banana, bomb, cherry, strawberry, music - 10 points
- All Objects except Walls and bombs Move with Collisions working - 10 points
- Score on mouse click - 10 points
- When Objects are clicked on they bounce to a random position - 5 points
- Background - 5 points
- Music - 5 points
- Alarm sets off more bombs 10 points
- Help - 10 points
- End - High Score and Restart Game 5 points
- Don't forget to include a Help (F1) section.
- If you used sprites or pictures from the internet include their url's here- 5 points
If you have something to tell me that is special about your game create a word document in your folder called MsGold.doc. This document should explain whatever you want to tell me.October 10, 2011- Game is Graded - give out progress reports and go over missing games
October 17, 2011 - Next Class Specification Document is Due - End of Week Thursday or Friday presentations to the CEONext Week on Monday Oct 24 or Tuesday Oct 25 Comments on Game specifications and Presentations
- Start Project 1-
- Create a new Folder in the GameMaker Directory called Project1
- Start Prototyping your game and Start writing a document on what your Game Maker project will be.
- Try out as many tutorials as you can.
- Don't forget to use gm.htm
- Things to think about when planning a game
Week of
- Time to create your first game maker project.
- The Project will Include:
- Write a Sales Pitch- I am the CEO of Computer High School Gaming Inc., and you have to write me a letter explaining why I should fund your game.
- A Specification Document
Write a document in Word using full sentences that describes your game. Give your game a name, and save it on H:/Basic/GameMaker/Project1/FirstInitialLastNameGameName.doc. The document will include the following:
- At least one paragraph that describes your game.-
- a description of how your game is played. For example if you use a mouse or key movements tell us what keys you use, and what they are used for.
- Describe your proposed Sprites/Objects, and explain their purpose in your game. For example, PacMan is to eat all the Dot Objects, and he losses lives when he hits a Green Monster. Pictures are always helpful here. Don't assume people know a game.
- Include any other material you think might be of interest to a fellow programmer reading your document.
- Save your document in H:/basic/GameMaker/Project1/YourDoc.doc
Games due on the Nov 22nd -
If you finish early produce a power point presentation on how you game works.
- The Game will include:
- Somewhat true to your document. If not include a letter to me called MsGold, and explain what the plot of your game is.
- Correct naming conventions (Sprites start with spr and Objects start with obj)
- sound
- background
- at least one create event
- at least 2 items from each tutorial
- game information (help) F1 Key
- Something Extra
- Ms Gold letter
- Folder and Filename Rules
All Files must be on the H: drive (the network drive.)
Your Document Song Lyrics if appropriate yourGame.gmk yourGame.exe Your project needs to be in H:/Basic/GameMaker/Project1/firstInitialLastNameGameName.gmk No Spaces in FilenamesMore Resources
- New How to Animate a Sprite - New
- The GameMaker Page gm.htm -
- Two Books (the books are on the big desk in the middle of the room)
- Getting Started with Game Maker by Jerry Lee Ford, Jr
- The Game Maker Apprentice, by Jacob Habgood and Mark Ovesrmars- (These are the guys who wrote Game Maker)
Folder and Filename Class Rules
All Files must be on the H: drive (the network drive.)
Your Document Song Lyrics if appropriate yourGame.gmk yourGame.exe Your project needs to be in H:/Basic/GameMaker/Project1/firstInitialLastNameGameName.gmk No Spaces in FilenamesWeek Starting 10/4- Progress Reports Monday and Tuesday
New How to Animate a Sprite - New
Meeting with CEO - Block E and F on Wednesday, and Block C on Thursday. Dress business casual. Complete your Project One Documents. (instructions are above) Complete your Project One If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class. You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game. We will be beginning Lesson 6.Complete Game Maker Study Guide Lesson 6
- Steps of Making a Program:
1. Read the problem
2. Design
3. Code
4. Test and Debug- All Programs are made up of the following:
1. List of instructions
2. Conditionals /if
3. Repeating instructions /loops
4. Breaking things into smaller pieces - problem decompose - Methods- Link to Game Maker Project 1 Assessment
- If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
- One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.
- You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.
- All About Data Types and Variables
- If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
- One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.
- You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.
- The Definition of Syntax - the grammatical rules and structural patterns governing the ordered use of appropriate words and symbols for issuing commands, writing code, etc., in particular software application or programming language.
- Complete Game Maker Study Guide for Test
Week Dec 19, 2011
***************************************************************************************************************************************************
Technology Discussion on WikiLeaks
To Do:
- Finish the WikiLeak Presentation you began last week.
- When finished reading the below statement from:
Program or Be Programmed, Ten Commands for a Digital Age by Douglas Rushoff
"Digital networks were built for the purpose of sharing computing resources by people who were themselves sharing resources, technologies, and credit in order to create it. This is why digital technology is biased in favor of openness and sharing. Because we are not used to operating in a realm with these biases, however, we often exploit the openness of others or end up exploiting ourselves. By learning the difference between sharing and stealing, we can promote openness without succumbing to selfishness."
3. Think about the implications of the preceding quote and what is happening today with WikiLeaks and World Wide Web. Write in a word document on the H:/Basic/WikiLeaks/FirstInitialLastNamaeWikiLeaks.doc your opinion are the large digital technology questions that WikiLeaks brings to the surface.
For example:
- The Implications of WikiLeaks http://www.ajr.org/Article.asp?id=4999 - implications on journalism
- Why does Wikileaks impact your digital privacy?
4. The current WikiLeaks incident has brought to light the many unresolved issues and yet uncharted territory surrounding the big questions of digital media and digital life. Government, for-profit and non-profit organizations, and individuals have been storing, sharing, securing, and disseminating information on the internet without long-range plans for security, privacy, or even personal freedom. The process has been ad hoc leaving us with security leaks, a vibrant hacker community thriving on easy access, personal information is just a cookie away, even the stability of the internet has been questioned by recent hacker attacks.
While all of this is going on around us life continues, and we continue to play our games and buy our iPods and iPads. The digital revolution will continue to unfold with or without your participation. The challenge for students is yours for the taking. Are you ready for the challenge?
Please write to this challenge and include the types of information, knowledge, and background you think you need to be ready for the future.We will try to present our findings before vaction.
REAL Basic
Week
- Programming Basics
- What is a Variable
- The Secret Life of Data http://csteachlearn.com/secret_life.html
- All About Data Types and Variables
- Variables must have a name, a value and a type
- In Realbasic we must first give all variables a name and a type by Dim-ing the variable
- Dim myName as String
- Dim num as Integer
After we have given the variable a name and a type we can give the variable a value ie. myName ="John" or num = 15Lesson 10
- All About Data Types and Variables
- Assignments Due
- These assignments will be checked for correctness
- Compare Two Numbers and return the largest of the two numbers - Your program should handle the case where both numbers are equal
- Alphabetize two Strings. Your program should copy the strings and order them in correct alphabetical order. Again your program should handle identical strings
- Guess a Random Number from 1 to 100
- This assignment will be graded as a lab assignment (%15)
- You can use Guess a High Number Game as a sample - Don't forget the instructions
- Create a Math Game get ideas off of the Web hint -take your calculator and turn it into a Math game
- REALBasic Operators
- How to Import A Picture
- How to's in REALBasic
- Next Assignment -Conditional Exercises
- paper.bmp
- rock.bmp
- scissors.bmp
- For Extra Credit -In Black Jack let the user pick the the high card. For example the user could pick 25 instead of 21 to compare his or her cards t
- REALBasic Exercises
- Download Conditional Study Guide
- ReviewStudyGuide
- Drawing Exercises
- in Language Reference look up Graphics, for the following methods drawline, drawOval, drawRect, FillOval ..etc. In addition, look up Color to understand how to change color.
- Drag a Canvas onto the Window
- double click in the Canvas
- type your code in the Paint method of the Canvas
- g.drawline(x1,y1,x2,y2)
- x1and y1 = the starting point of the line you are about to draw on the canvas
- x2 and y2 = the end point of the line you are drawing on the canvas
- for example try the following code
g.drawline(100,100, 300,100)
g.foreColor=RGB(255,0,0) ' sets the color to red
g.drawRect( 50,50,20,20) ' draws a red rectangle at x=50, y=50, width = 20 and height= 20
g.FillRect( 50,50,20,20) ' fills the rectangle with all red- Link to Simple Drawing Exercise to Draw a House
Warm up Assignment Parse the REAL Basic Code Steps for Stickman
- move the ball back and forth across the screen
- make the stick body move with the head - to calculate where the body will begin find the middle and the bottom point of the ball. The length of the body is your choice.
- Then decide where the arms and legs should go
- Remember you must increase the X coordinate to move your stickman horizontally across the screen and the Y coordinate can move the arms and legs up and down.
Assessment of Stickman Program
- Name the REALbasic file YourfirstNameStick.rbp and firstNameStick.exe (REMEMBER NO SPACES)
- Create a New Folder on the H: Drive under your REALbasic Folder called Graphics
(Subject to Change) Out of 100 point Technical Accuracy - 50 points
- the files is in REALbasic/Graphics folder on the network (H) drive - 5 points
- the file names is as directed with no spaces - 5 points
- there are two files firstNameStick.rbp and firstNameStick.exe - 10 points
- at a minimum the parts of the body are clearly commented - 5 points
- Both your programs work - 10 points
- The legs, arms and legs are aligned properly -5 points
- Used a loop - 5 points
- Used a rnd - 5 points
Stick figure walks - 85 pointsStick figure Extras up to 15 points
- Stick figure walks across the room - 20 points
- Stick figures arms and or legs move -15 points
If there is anything special you want to tell me about your Stickman leave me a note called MsGoldStickman.
- Stick figure hits the wall and starts again or better yet turns around
- Good use of color
- Extra, Extra Points - If use sound code and the figure dances at least a little to the music
- Surprise me!
Completing Stickman - Program and Power PointBack to Game Maker - Link to Basic Programming's Game Maker Page
Document will contain
- Opening paragraph will describe your game storyline.
- Further descriptions need to include:
- What is the goal of the game for example how does your game end?
- Include a description of the characters. What are their roles in the game?
- A paragraph should include why people will enjoy playing your game. Take this part seriously. What are the challenges a player will face and think about why your game is compelling. For example does it lure the player in by starting off easy and slowly getting harder making it harder to stop.
- A paragraph on why this game is a thoughtful and a more complicated game than your first game. Compare and contrast your two games. Demonstrate to me how you have grown as a Game Maker programmer and game creator.
Other topics to include in your document:
- A description of the design of the game - How will your game be organized - is it a scrolling game or will it have rooms?
- If it is scrolling I want one screen mock-up. If it is room-based I want three room mock-ups.
- Pictures and descriptions of the sprites that you have used in the game.
- All Game Maker Project 1 Assessments still apply
- Additions to be considered for your Game Maker 2 Project. The more of the following you add the better the grade
- GML / Game Maker Language- (the amount of credit depends on the level of originality and complexity)
- Attention to detail - organization of sprites, objects, and rooms
- Complexity of Events
- Complexity of Sprite movements
- Score
- Health
- Lives
- Music
- Tiles
- Backgrounds
- Drawing on the Screen
- Scrolling
- Manipulating the x and y coordinates
- Utilize Step Events
Link to Mastery Objective Assignment
Raster and Vector Graphics from REALbasic Cross-Platform Application Development By Mark Choate
(for educational purposes only) - Raster and vector graphics are two ways of representing an image of some sort using the native language of 1 s and 0s employed by computers. A raster image is simpler to understand, but takes up much more memory to work with. A raster image is a rectangular grid of pixels, and a specific color is encoded for each pixel (it gets a little more complicated than this when considering compressed images, but the basic facts are the same).
On the other hand, a vector image is composed of geometric primitives such as circles, lines, rectangles, and so on that can be described using mathematical formulas. Whereas a line represented in a raster image would have to identify individual pixels that make up the line, a vector
Link to Lesson on How X and Y Coordinates Work