Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a...
-
Upload
anthony-ball -
Category
Documents
-
view
215 -
download
0
Transcript of Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a...
![Page 1: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/1.jpg)
![Page 2: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/2.jpg)
TestEnvironment
Algorithm
Program
Requirement
s/
Enhancemen
ts
Analyze the Problemand Design a Solution Programming
Software Translates the Source Codeinto Machine Code
![Page 3: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/3.jpg)
Learn the step-by-step thinking that characterizes writing computer programsLearn the ideas behind incremental program
enhancement
Learn the ideas behind programming techniquesLearn the ideas behind object-oriented
programmingLearn the ideas behind event-based computer
programming
![Page 4: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/4.jpg)
Write StorylineWrite ScriptsConditions/
VariablesSchedule tasks
•Brainstorming•Define purpose/goals
•Audience•Idea Evaluation
DesignDesign
•Build/find sprites•Build Objects
•Write Conditionals statements•Build Rooms•TEST/Evaluate
DevelopDevelop PublishPublish
•Write player instructions
•Write tips/cheat sheets•Sell
•Make millions of $$$$
ConceptConcept
![Page 5: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/5.jpg)
Learn the step-by-step thinking that characterizes writing computer programsLearn the ideas behind incremental program
enhancement
Learn the ideas behind programming techniquesLearn the ideas behind object-oriented
programmingLearn the ideas behind event-based computer
programming
![Page 6: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/6.jpg)
The player interacts with the game Objects (other characters, food, weapons, potions, cars, fuel, puzzle pieces, obstacles, currency, etc.) to attain this Goal.
Object contains BOTH:GRAPHIC: An Object’s appearance is determined
by the image or digital picture the developer assigns to it. The image is called a Sprite.
BEHAVIOR: An Object’s behavior is determined by events and actions (Conditional Statements )
![Page 7: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/7.jpg)
During gameplay, certain Events will happen and cause specific Actions to take place (Ex: If Player collides with enemy, then 1 Life is lost).
Some objects react to player input (keyboard, mouse) and to other objects.
Consider the relationships with real-world physics and how a computer must be told to demonstrate them on the screen.
![Page 8: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/8.jpg)
Mapping these concepts to Computer Science Theory
![Page 9: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/9.jpg)
Each object has properties and behaviors encapsulated inside of it.
This entire collection of properties and behaviorscan be referenced through the object name
Creation Behavior – Start moving
Collision Behavior – Bounce
Left Mouse Behavior – Increase Score Bounce
Image – Sprite propertiesbehaviors
![Page 10: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/10.jpg)
Object AbstractDefinitionCookie cutter
Object instanceActual thingCookie
![Page 11: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/11.jpg)
Building behaviors is an example of Event Programming
Wait for some specific Event to happen
Perform some action(s) in response to it.
![Page 12: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/12.jpg)
Creation
Collide with Wall Object
Left Mouse
EVENTS ACTION(S)
Start moving
Bounce
BounceIncrease
Score
![Page 13: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/13.jpg)
![Page 14: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/14.jpg)
GOAL - Games need to have a Goal for the player to work toward.
CHALLENGE: In addition, Challenge is needed to keep the game interesting and engaging for the player. Various strategies are used to make the game more difficult for the player as they progress to higher levels or achievement.
![Page 15: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/15.jpg)
ROOMS - A digital game takes place in a virtual environment laid out in Rooms. There may be one or many rooms. This environment may be a castle, forest, racetrack, or underwater cave.
ENHANCEMENT - Sounds and Backgrounds
may be added to enhance the environment and gameplay experience.
![Page 16: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/16.jpg)
![Page 17: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/17.jpg)
In action tab: main2
Show information Key F1 used to show instructions, credits, etc
Display message
![Page 18: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/18.jpg)
It can best be seen as a property of an instance of an object.
Examples x, y coordinate of the instance horizontal or vertical speed of an instanceDirectionSpeedSolid, visible
![Page 19: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/19.jpg)
Properties that are used and seen by all object instances
ExampleScoreLivesMouse x and y position
![Page 20: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/20.jpg)
Actions in control tab of gamemaker
Cause and Affect in gaming is accomplished by CONDITIONAL STATEMENTS
IF cause THEN effect
In gaming, the “cause” is called an Event and the “effect” is called an Action.
IF event THEN action
![Page 21: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/21.jpg)
The computer only knows as much as you tell it
The game is created by defining a set of instructions or conditional statements for the computer to follow.
Computer instructions must be clearly defined and appropriately sequenced, or an undesired outcome may result.
![Page 22: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/22.jpg)
Tutorial: Creating a Scrolling Shooter
Tutorial: Maze Games
![Page 23: Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.](https://reader035.fdocuments.in/reader035/viewer/2022062519/56649ef65503460f94c09cb6/html5/thumbnails/23.jpg)
Tutorial: Platform Games
Tutorial: 3-Dimensional Games