1.2P.pdf - Faculty of Science Engineering and Technology...

This preview shows page 1 - 3 out of 9 pages.

Faculty of Science, Engineering and Technology Introduction to Programming Pass Task 1.2: Picture Drawing Overview Create a program that calls procedures to draw a picture to a window. Submission Details You must submit the following files to Doubtfire: Picture Drawing source code (GameMain.pas) Screenshot of the Window showing your picture. Make sure that your task has the following in your submission: Your picture has at least 4 shapes, and is something other than a house. Code layout - match the example for indentation and use of case. The code must compile and the screenshot show it working on your machine. The program must show a picture of some kind, bonus points for some creativity.Purpose:Create a graphical program to explore the use of procedures, and to understand that instructions are run in sequence. Task:Create your own Picture Drawing program that draws something other than a house which we use as the example. Submit to Doubtfire when complete.Time:This task should be started in your first lab class and submitted for feedback before the start of week 2.Resources:Chapter 1 of the Programming Arcana Swinburne CodeCasts (YouTube Channel, iTunesU) Understanding Syntax Rules Programs and Sequence Syntax Videos Introduction, Getting Started, Calling Procedures, and Creating Your Own Procedures
Introduction to ProgrammingPass Task 1.2: Picture DrawingInstructions For this task you will create a program that draws a scene using primitive shapes (triangles, rectangles, and circles). The goal of this exercise is to learn a little about how to create a program using the SwinGameSoftware Development Kit (SDK). SwinGame is a development environment that makes it easy to create programs that use graphics, sounds, animations, networking, and other aspects relevant to creating small interactive games. When building a program using SwinGame you need to start with aSwinGame Project Tem-plate. This template contains the necessary development environment and code that you can make use of. 1.Download the Pass Task 1.2 Starter Codefrom Blackboard. This contains everything you need to create your own programs that use the SwinGame SDK. 2.Extract the zip file to your code directory (e.g. Documents/Code) 3.Open the PictureDrawing folder and you should see the following files: The clean.sh, build.shand run.sh scripts. These contain bash commands you will use to clean up the project, compile (or build) the project, and run your program. The srcfolder contains your program’s source code The libfolder contains the SwinGamecode The Resourcesfolder contains images, sounds, and other resources you want to use.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture