Programming Games Google Map API examples. CSS. Classwork/homework: Catch up. Upload work. Show your [more] complex Google Maps API example. Plan your.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

1 Lesson 10 Using JavaScript with Styles HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Programming games Classwork: Show Favorite Sites. Show coin toss. Review concepts. Crooked coin toss. Homework: Complete coin toss examples. Upload files.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Chapter 14 Introduction to HTML
Google Earth How to create a Google Earth Tour and place it in your Wiki.
Programming Games Computer science big ideas. Computer Science jargon. Show virtual dog Homework: [Catch up: dice game, credit card or other form.] Plan.
Creating Mobile Apps with App Inventor! Day 5 Google search Kris Gordon Ludlow for links.
INFSCI  Last time we built a doggie web page in class following the instructions in the slide deck: Build Web Page with HTML – see week 3 The topics.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Programming Games Recap on Google Maps. Creating elements. Dynamic creation of elements (multiple video elements). Geolocation. Classwork/Homework: Catch-up.
Using Styles and Style Sheets for Design
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Programming Games Review for midterm. Work session. Homework: Prepare for midterm.
Using Moodle This is a rough draft of instructions for teachers to use Moodle in lieu of the in- service that is held periodically. Call me if you need.
Programming games Examples: Audio example. Google Maps api. Classwork: show more complex video. Classwork/Homework: Find place (lat and long) for basic.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.
Advanced Level Course. Site Extras Site Extras consist of four categories: Stationeries Site Trash Designs Components.
Javascript: More features B. Ramamurthy 7/4/2014B. Ramamurthy, CSE651C1.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Programming Games Show your simple video. More video examples. Audio. Classwork/Homework: Produce more complex video program.
Programming games Reprise: coin toss on canvas. Dice game rules. Global and local variables. Homework: [Catch up. Upload projects, including index.html.]
Tutorial: Using ArcGIS Server and ESRI ArcGIS API for Javascript Peter Sforza March 7, 2013.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
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…)
 HTML is hypertext markup language. It is a way for people to display their information with more complex pictures and text displays. Before HTML, messages.
Programming Games Reprise: storage, datatypes. Geolocation/Google API example. Work session Homework: [Catch up. Upload work. Post proposal.] Work on your.
Creating User Interfaces Recap HTML/HTML5 JavaScript features Homework: keep working on user observation studies. Review JavaScript.
Level 1 Tutorial Project How to put a movie player on your Weebly website using an HTML code.
Programming Games Reprise on drawing on canvas. Jargon (concepts): objects. Demonstrate slingshot. Mouse events. Work on your cannonball. Homework: Finish.
Programming games Show shaking screen, quiz show. Calculations Homework: (Finish basic Javascript Projects) Make proposal. Work on project.
Programming Games [Show Google Maps project.] Demonstrate more examples. Classwork/Homework: Decide on final project. Post proposal to moodle.
Programming games HTML/JavaScript basics Functions, events, forms Classwork: [Show favorite sites.] Coin toss. Homework: GET WEB SPACE. Complete coin toss.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
HTML & CSS BasicsHTMLCSSQuizAnswers  The logo In this website(made of html and css Codes), you will learn some basics of How to use HTML and CSS codes.
Creating Interfaces Show form validation examples, Hangman. HTML5 with Google Maps API. Add in localStorage. Design pitfalls. Homework: Make proposal for.
Programming games Context of what we are doing. Drawing on canvas. Homework: [Complete coin toss examples.] Do your own drawings. Upload files to website.
How to Use Google Charts. Using Google Charts Google Charts is used to provide a way to visualize data on your website. You can choose to use simple line.
Programming Games Logic. Slide show. Range input. Storage. Datatypes. Binary numbers. Homework: Catch up. This includes uploading projects to your server.
Miguel Lara, PhD. 1:10 – 1:15 Pre-test 1:15 – 1:30 Course overview 1:30 – 2:00 Setting up DW Site 2:00 – 2:05 > 2:05 – 2:55 Hands-on Lecture 2:55 – 3:00.
 Look especially at › File Tips and Shortcuts › Student video.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Computer Science I Share plans for virtual something. Text. Show my virtual dog. Classwork: Plans for your virtual something. Homework: start implementation.
Programming Games Reprise: credit cards. Show video projects. Demonstrate Find Daniel and Virtual Dog. Homework: [Catch up.] Post proposal for your JavaScript.
Programming Games Show slide show (on your site). Bouncing something. Video element. Bouncing video element. Bouncing video drawn on canvas. Bouncing video.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
How to Use Google Earth By: Emma Lucken. How do you record a Google Earth Tour? When you go on to Google Earth you go to the top bar and there is an selection.
Computer Science I More class examples. Paths. Jigsaw. Tolerance. Classwork/homework: Your class project. Post proposal for midterm project.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Creating Databases Example using Google Maps API + file creation. Dollar sign problem. Classwork/Homework: [catch up]. Work on final project.
Miguel Lara, PhD. Design and development instructional websites using a variety of web technologies such as HTML5, CSS, JavaScript, and jQuery.
The HTML5 logo was introduced by W3C in 2010
Creating Databases Example using Google Maps API + file creation. Dollar sign problem. Classwork/Homework: [catch up]. Work on final project.
Working with Links and Navigation
Objective % Select and utilize tools to design and develop websites.
IST541 Interactive Media Miguel Lara, PhD.
Objective % Select and utilize tools to design and develop websites.
JavaScript: Array, Loop, Data File
Programming Games [Show Google Maps project.] Demonstrate more examples. Classwork/Homework: Decide on final project. Post proposal to moodle. 1.
Introduction to Google Maps
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.
Go over midterm. CSS catchup. Work session Homework: complete project
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Show your animation project. HTML5 video. Miro.
Presentation transcript:

Programming Games Google Map API examples. CSS. Classwork/homework: Catch up. Upload work. Show your [more] complex Google Maps API example. Plan your original project. Post proposal.

Google maps API examples Go to orehtml5examples.html orehtml5examples.html Scroll down to Google Maps API examples… First one is find test: sicmaptest.html sicmaptest.html

Experiment with rgba My spotlight put canvas on top of map. You can make drawings on canvas, including using drawImage to bring in an image from an image file, and draw on top of it.

[very annoying] Buzzing bee ml5/eyesfollowrecord.html Mouse cursor Audio Record positions and then move element on path Coding to adapt to devices Note: bee is displayed by two different mechanisms: cursor and moving element

Reprise on Google Map (or any) API Using English and computer jargon bring in / connect with Google –JavaScript: external element –Processing: import –other: include Invoke functions and access values –invoke object methods and reference object properties. Create new things –use term new with constructor method Use correct terminology, especially units –latitude longitude, specifically latLng object

Google Maps API Look at Google Maps API V3 tutorial: n/javascript/tutorial.html n/javascript/tutorial.html Prepare your own application –your location, map type, zoom Also title, icon, …. experiment with changing options You can build a more elaborate example for your original project –Look at my examples. can add to existing project –Look at examples in tutorial

Note APIs are and will become increasingly important. APIs often have objects –Provides methods and attributes (properties) –also events and ways to set up event handling –need to understand (manage) the JavaScript events and the API events. You need to be able to read sources.

Pop quiz Look on-line and write code to produce a marker at a position stored as a latlng object in a variable named here. Your code already has created a map stored in a variable named map. The title should be "Here you are!" Mark center with your own icon, say an image in the file littlex.png.

blah = new google.maps.Marker( {position: here, title: “Here you are”, map: map }); This uses the term new to create a new object, using the method google.maps.Marker This method takes an associative array: a set of named options. The value used for position is held in the variable here and the value for map (which map to place the marker) is the one in the variable map.

Video To start video to be invisible and then play at specific time –perhaps as reward at a point in the game –perhaps to be a state in the virtual something –in the map portal applications, when player clicks near enough to a location –? Use Cascading Style Sheet and JavaScript

CSS overview The section has directives for specific elements by id OR types OR classes video { } all videos img { } all img elements #place { } the single element with id="place".notes { } all the elements that have class="notes"

Cascading Style Sheet element in section Styles start with identifier indicating what is to be styled. Can be an element type or a class or an id. So the following applies to all video elements video {display:none; position:relative;}

HTML and JavaScript In the … In the code, perhaps the init function: mazev = document.getElementById("maze"); In the code, when you want the maze video to play: mazev.style.display="block"; mazev.currentTime = 0; mazev.play();

CSS and JavaScript CSS specify absolute position or relative to where element is in the body element and JavaScript can change –e.style.left = ….; e.style.top = ….; CSS has z-index and JavaScript has zIndex

CSS rotating You could make all the videos that you need to rotate have a class attribute (YOU name it) In CSS.fix {-webkit-transform: rotate(90deg); -moz-transform:rotate(90deg); -o-transform:rotate(90deg); transform:rotate(90deg);} Note: you may need to do some positioning, also…

Classwork / homework Update your website –Upload all necessary files. This includes all the video files. –Modify your index.html Start thinking about final project. –Your work! –You can use Google Maps API. –If you want to use another API, discuss with me first to get approval. Post proposal on moodle proposal forum. Check for my approval and advice.