events reactive programming

Slides:



Advertisements
Similar presentations
© 2012 YP Intellectual Property LLC. All rights reserved. YP, the YP logo and all other YP marks contained herein are trademarks of YP Intellectual Property.
Advertisements

Introduction to Macromedia Director 8.5 – Lingo
Touchdevelop api api acceleromete r measure acceleration Disclaimer: This document is provided as-is. Information and views expressed in this document,
Programming with touchdevelop working with loaned phone what about them? Disclaimer: This document is provided as-is. Information and views expressed in.
Touchdevelop api api: web downloading and uploading Disclaimer: This document is provided as-is. Information and views expressed in this document, including.
Touchdevelop api api: tiles customize your home screen Disclaimer: This document is provided as-is. Information and views expressed in this document, including.
Touchdevelop api api: songs play music Disclaimer: This document is provided as-is. Information and views expressed in this document, including URL and.
Introduction to touchdevelop actions aka methods/functions/procedures Disclaimer: This document is provided “as-is”. Information and views expressed in.
physics engine + graphics
Touchdevelop api api: location & maps show geo locations Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Introduction to touchdevelop if then else conditional statement Disclaimer: This document is provided “as-is”. Information and views expressed in this.
access to everything over the web
Advanced topics in touchdevelop privacy transparent privacy control via information flow analysis Disclaimer: This document is provided “as-is”. Information.
touchdevelop vs. apps with Visual Studio
Libraries in touch develop Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
请点击以下链接下载WinHEC的演讲材料
© 2014 Microsoft Corporation. All rights reserved.
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
Introduction to TouchDevelop
Programming with touchdevelop discovering discover touchdevelop Disclaimer: This document is provided “as-is”. Information and views expressed in this.
Programming with touchdevelop touchdevelop introduction Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
App Inventor Barb Ericson July 3, 2013.
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
请点击以下链接下载 WinHEC 的演讲材料 Download WinHEC presentations here:
Touchdevelop api api: messaging sending sms Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Screens naming screens and concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and.
Introduction to touchdevelop math basic arithmetic operations Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api: calendar when you are supposed to be somewhere Disclaimer: This document is provided “as-is”. Information and views expressed in.
Advanced topics in touchdevelop touchdevelop outlook ongoing research Disclaimer: This document is provided “as-is”. Information and views expressed in.
Introduction to TouchDevelop
Programming with touchdevelop class mechanics working with a phone in the classroom Disclaimer: This document is provided “as-is”. Information and views.
Touchdevelop api api: contacts people you know Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
I/o inputs and outputs Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
Touchdevelop api api: leaderboard when you are supposed to be somewhere Disclaimer: This document is provided “as-is”. Information and views expressed.
Touchdevelop api api: sending electronic bits to people Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Introduction to touchdevelop statements overview Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Touchdevelop api api: social sharing Twitter, Facebook, … Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Programming with touchdevelop teacher’s checklist go over this before starting the course Disclaimer: This document is provided “as-is”. Information and.
Advanced topics in touchdevelop touchdevelop vs. apps with Visual Studio comparison Disclaimer: This document is provided “as-is”. Information and views.
I/o inputs and outputs Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet.
Introduction to touchdevelop ✿ art read only resources Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Touchdevelop api api gyroscope measure device rotation rate Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Social experience everything that is not coding Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Scripts what’s in a script – basic language concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Scripts what’s in a script – basic language concepts Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Editing code mastering code input and navigation Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Introduction to touchdevelop values … and types Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Introduction to touchdevelop statements overview Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Programming with touchdevelop about RiSE who is RiSE at Microsoft Research Disclaimer: This document is provided “as-is”. Information and views expressed.
5 Event Handling Interactive Programming Suggested Reading Interaction: Events and Event Handling, Supplemental Text for CPSC 203 Distributed this term.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Screens naming screens and concepts v2.8 Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
[Insert your logo here.] For Marketing Professionals [Insert brief description of guide.]
Sage Franch | Technical Evangelist Susan Ibach | Technical Evangelist.
Programming with touchdevelop More to think about! Curiosity - what's inside the cube? Thank you Sarah!
Primary Contact Territory Category On-boarding Status Relationship Type Deal Territory Deal Confidentiality Potential conflict Conflict Cleared.
Basic coding… with TouchDevelop!!
Explain what touch develop is to your students:
Introduction to TouchDevelop
Introduction to TouchDevelop
Explain what touch develop is to your students:
Internal social media units
access to everything over the web
Web Programming and Design
Presentation transcript:

events reactive programming Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

events around you tap on the shoulder traffic light goes red turn head, say “hello”, shake hand traffic light goes red hit the brakes hear cool song dance, sing ►find 3 more events and reactions around you

events in phone special action triggered by sensors or media player state shaking, orientation change active song changed, player paused, resumed reacts by running the event code, i.e. executes the actions associated to the event

execution model events run to completion before another event starts running events (and actions) never interleave scripts with events automatically enter an event loop (“gameloop”) when an action started by the user ends to stop the event loop, use time→stop user can stop script as well ✿ http://touchdevelop.com/help/events

gameloop event that triggers every 50ms update the state of a game board : Board // a global board variable event gameloop … board →evolve board →update on wall

orientation respond to orientation changes phone face up/down, landscape left/right event phone face up player→resume event phone face down player→pause

shake uses accelerometer to detect shake event shake media→songs→random→play

player events active song changed notifies that a new song is playing player state changed notifies that the player has started to play, or paused, or resumed, etc… event active song changed player→active song→post to wall

camera buttons pressed, half-pressed, released events triggered by phone camera button

tap on … tap event on wall elements one event per element kind

empty space on wall event that triggers when new space appears on the wall typically happens when the user reaches the end of the wall content and allows to fill the wall with more data

title item 1 Item 2 ☀ anecdote song→post to wall ☁ http://touchdevelop.com/velk (link to sample) ► an exercise ✿ a reference