Computer Science I Share plans for virtual something. Text. Show my virtual dog. Classwork: Plans for your virtual something. Homework: start implementation.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Create a Simple Game in Scratch
Create a Simple Game in Scratch
Pages and boxes Building quick user interfaces. learning objectives o Build a quick UI with pages and boxes o understand how pages and boxes work o click.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
Programming games Reprise on dice game and alternative dice game Homework: [Catch up.]. Finish dice game.
My Workspace Profile. Using the course menu, click on Profile.
SE320: Introduction to Computer Games Week 8: Game Programming Gazihan Alankus.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Programming Games Computer science big ideas. Computer Science jargon. Show virtual dog Homework: [Catch up: dice game, credit card or other form.] Plan.
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
Creating Web documents JavaScript: modeling dog behavior general modeling concepts JavaScript review.
PowerPoint Tutorial By Education World Your Logo Here It’s easier than you think!
PowerPoint Tutorial Your Logo Here It’s easier than you think!
Announcements Assignment 9 is due Project 2 is due 7/27/04 We will be skipping chapter 22 Test 3 (chapters 18-21) will be on 7/29/04 Tip of the Day : Functions.
Alice Learning to program: Part Three Camera Control, Invisibility, and 3-D Text By Ruthie Tucker and Jenna Hayes, Under the direction of Professor Rodger.
Programming Games Google Map API examples. CSS. Classwork/homework: Catch up. Upload work. Show your [more] complex Google Maps API example. Plan your.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Programming Games Simulated ballistic motion: cannon ball. Classwork: Final day for midterm project and all projects for first part of class. Homework:
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
Macromedia Dreamweaver 4.0 INTERFACE This presentation will run automatically.
C-Map Tutorial How to create and save a concept map using C-Map, export a C-Map as an image, and export a C-Map as a webpage.
Programming Games Show project. Refresher on coordinates. Scaling, translation. HTML5 logo. Refresher on animation. Bouncing ball. Homework: Do your own.
Programming games Examples. Classwork: work and show something of your final project. Homework: (finish…)
VB Games: Preparing for Memory Brainstorm controls & events Parallel structures (again), Visibility, LoadPicture, User-defined procedures, Do While/Loop,busy.
A guide to creating a power point display Essentials Ctl M =New Slide: a new slide can be inserted. It is placed after the slide that you are viewing.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on your cannonball. Homework: Finish.
Data Types and Variables. Data Type! Computers are all about Data! Data can be in the form of Text Dates Sounds Pictures.
Creating a navigation bar in Fireworks. Setting up the canvas Open Fireworks and choose a canvas size big enough to fit the buttons on you are going to.
What are Buttons? Buttons can be clipart, pictures or animated gifs When you click on buttons they can send you to another slide Buttons can be used to.
Grade Book Database Presentation Jeanne Winstead CINS 137.
CIS 3.5 Lecture 2.2 More programming with "Processing"
Begin a new story or edit a Photo Story project that has already been created. Make your selection and click next. 1.
Programming games Show your virtual somethings. Demonstrate Hangman and Black Jack. Show credit card (or other form input & calculation) Homework: [Complete.
Programming games Context of what we are doing. Drawing on canvas. Homework: [Complete coin toss examples.] Do your own drawings. Upload files to website.
Programming Games Logic. Slide show. Range input. Storage. Datatypes. Binary numbers. Homework: Catch up. This includes uploading projects to your server.
Flash animation For beginners. homework Your homework is over two weeks so please write in each week of your planner for the next two weeks For homework.
Programming Games Show your rock-paper-scissors. Demonstrate bouncing ball. Demonstrate and examine Bo the dog. Homework: Modify Bo to make your own.
Computer Science I Recap: variables & functions. Images. Pseudo-random processing.
Computer Science I Looping. User input. Classwork/Homework: Incorporate looping & user input into a sketch.
Event Handling (the right way). A Simple Web Page Events - Summary The web page looks like this:
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Computer Science I Assignments. Extra credit possibilities. Have a great break!
Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.
Microsoft PowerPoint Prepared by the Academic Faculty Members of IT.
Computer Science I Animations. Bouncing ball. The if statement. Classwork/homework: bouncing something. Compress and upload work to Moodle.
Computer Science I Go over midterm. Reprise on curves. Table examples. The map function. Testing Strings. Fonts. Classwork/Homework: Complete midterm project.
Computer Science I Looking at code: "Where did Prof. Shablinsky go" Classwork/homework: midterm projects.
Computer Science I More class examples. Paths. Jigsaw. Tolerance. Classwork/homework: Your class project. Post proposal for midterm project.
Computer Science I Slingshot example. ProcessingJS example. Review for midterm quiz. Classwork/Homework: study for midterm. Work on midterm project.
Time to upload Virtual something.
Introduction to: Python and OpenSesame FOR PROS. OpenSesame In OpenSesame you can add Python in-line codes which enables complex experiment. We will go.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Dreamweaver MX. 2 Timeline Overview (p. 480) n Animations can be achieved with DHTML (__________ HTML) using JavaScript code and _____ or later browsers.
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Classwork: Examine and enhance falling drop(s) or make your own.
Section 17.1 Section 17.2 Add an audio file using HTML
Programming Games Computer science big ideas and Computer Science jargon: review of things we have used in examples. Show virtual dog Homework: [Catch.
Flash animation For beginners.
More programming with "Processing"
Educational Applications of Technology By: Samantha Evans
Programming games Share your plans for your virtual something.
Catchup. Work on project.
Creating User Interfaces
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on animation project. Homework: Finish.
Creating buttons in Fireworks
Presentation transcript:

Computer Science I Share plans for virtual something. Text. Show my virtual dog. Classwork: Plans for your virtual something. Homework: start implementation.

Recap: Virtual Dog Show HTML JavaScript version Discrete event simulation – At fixed periods of time, things happen, including, maybe, changes of state. My dog loses weight – Player actions: Feed dog: weight increases. Time is stored Pet dog: probability varies based on time since last feeding. Note: always possible to be wagging or mean.

Your plans Virtual ? What are the player actions? What are the states? – Are there state variables? What are the calculation for transitions? – What information is required? – Any timing? – Anything stochastic?

Software development Design stage: what are you trying to do? Design stage in more detail – Form of player actions (aka affordances): buttons or clicking on screen or dragging or key or ??? Implementation – (choose language, other technology) – What are the functions, variables, classes? Program – test – debug/enhance – test Deploy

Note The JavaScript virtual dog was done in older version of html and JavaScript. – For example, no use of canvas. Just buttons. – BUT could handle animated gifs. For your Processing sketch, you may consider – Drawing pictures as well as image. Look up how to do Shape – Buttons using a Button class – Clicking somewhere on the screen to do something – ? This is a week project only, so save more complex ideas for your final project.

My Implementation High level implementation: – Use 4 buttons. Have currentdog variable to hold image of appropriate state. Have weight variable. – Use println, mainly for debugging. COULD WRITE ON SCREEN. – Use draw to make periodic decreasing weight & checking on weight for possible state change Keep dog in wagging or snarling state for set amount of time Define Button class – Methods: Button, isOver, display Functions – setup, draw, mouseClicked (checks for which button) – makeButtons, drawButtons – petdog, feeddog, checkdog Note checkdog code could be in draw.

Pop Quiz Find out how to use (create, declare, draw on screen) text using a specific font, specific size, color, and specific position on the screen. Write answer and Address of source(s)

Classwork / Homework Implementation plans for your virtual something. Work on virtual something.