Slide 1

Slide 1 text

RESPONSIVE GAMES Making Cross Device Games in the Browser

Slide 2

Slide 2 text

IN THE BEGINNING Analog Games

Slide 3

Slide 3 text

http:/ /www.youtube.com/watch?v=Nn4pMI2q_PM

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

1970s - 1980s The Rise of the Silicon Chip

Slide 6

Slide 6 text

http:/ /www.youtube.com/watch?v=07Upyd9EVog

Slide 7

Slide 7 text

http:/ /www.youtube.com/watch?v=9Ek_inGfacg

Slide 8

Slide 8 text

1982 The First Cross-Device Game

Slide 9

Slide 9 text

http:/ /www.youtube.com/watch?v=GFuOerG0hPw

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

http:/ /www.youtube.com/watch?v=0R_Q_rXW7Jk

Slide 16

Slide 16 text

CONSOLE INPUTS

Slide 17

Slide 17 text

ODYSSEY TELSTAR FIRST GENERATION Paddles for Pong!

Slide 18

Slide 18 text

ATARI 2600 COLEOVISION ATARI 5200 SECOND GENERATION Knobs and numbers

Slide 19

Slide 19 text

NES SEGA MASTER SYSTEM THIRD GENERATION 4 directions + 2 buttons

Slide 20

Slide 20 text

FOURTH GENERATION SUPER NINTENDO SEGA GENESIS 4 directions + 2/4/6 buttons! TURBOGRAFX-16

Slide 21

Slide 21 text

NINTENDO 64 SONY PLAYSTATION FIFTH GENERATION Rise of the third dimension SEGA SATURN

Slide 22

Slide 22 text

SIXTH GENERATION XBOX SONY PS2 NINTENDO GAMECUBE DREAMCAST Yup, it’s definitely 3d

Slide 23

Slide 23 text

SEVENTH GENERATION PLAYSTATION MOVE XBOX KINECT NINTENDO WII Your body is the controller

Slide 24

Slide 24 text

http:/ /www.youtube.com/watch?v=K_ARvhT6Gzc

Slide 25

Slide 25 text

MOBILE INPUTS

Slide 26

Slide 26 text

http:/ /www.youtube.com/watch?v=wDbTP0B94AM

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

http:/ /www.youtube.com/watch?v=6lZMr-ZfoE4

Slide 30

Slide 30 text

http:/ /www.youtube.com/watch?v=QW7MhWX_Pf4

Slide 31

Slide 31 text

E4 http:/ /www.youtube.com/watch?v=BnY6wImunAI

Slide 32

Slide 32 text

http:/ /www.youtube.com/watch?v=L5qU-YV7jv0

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

-OR-

Slide 35

Slide 35 text

-OR- €20 89¢

Slide 36

Slide 36 text

• €109 instead of €200+ • Unbreakable! • Family friendly • No in-app payments • Mummy gets to use her iPad/iPhone

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

http:/ /xkcd.com/1174/

Slide 39

Slide 39 text

http:/ /www.bbc.co.uk/bbctrust/ • Make the most creative and distinctive output; • Innovate online to create a more personal BBC; • Serve all audiences; and • Improve value for money through a simpler, more efficient, and more open BBC.

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

http:/ /gabrielecirulli.github.io/2048/

Slide 43

Slide 43 text

http:/ /chrome.angrybirds.com

Slide 44

Slide 44 text

http:/ /caniuse.com/canvas

Slide 45

Slide 45 text

[FLAP TO FAME]

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

http:/ /www.youtube.com/watch?v=rKk0k7xPBLA

Slide 49

Slide 49 text

http:/ /labs.ft.com/articles/ft-fastclick/

Slide 50

Slide 50 text

No content

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

https:/ /www.youtube.com/watch?v=V1nb0uoSa4A

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

http:/ /joshje.github.io/drawpath/ ctx.beginPath(); ctx.moveTo(-50, -50); ctx.lineTo(50, -50); ctx.lineTo(50, 50); ctx.lineTo(-50, 50); ctx.closePath();

Slide 57

Slide 57 text

http:/ /joshje.github.io/drawpath/

Slide 58

Slide 58 text

http:/ /www.google.com/doodles/hurdles-2012

Slide 59

Slide 59 text

https:/ /www.youtube.com/watch?v=21OkXdCRchw

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

http:/ /www.html5rocks.com/en/tutorials/doodles/gamepad/

Slide 62

Slide 62 text

navigator.getGamepads() http:/ /www.html5rocks.com/en/tutorials/doodles/gamepad/

Slide 63

Slide 63 text

http:/ /www.html5rocks.com/en/tutorials/doodles/gamepad/gamepad-tester/tester.html

Slide 64

Slide 64 text

var gamepadSupport = function { init: function() { var gamepadSupportAvailable = !!navigator.webkitGetGamepads || !!navigator.webkitGamepads || (navigator.userAgent.indexOf('Firefox/') != -1); ! if (gamepadSupportAvailable) { window.addEventListener('MozGamepadConnected', gamepadSupport.onGamepadConnect, false); window.addEventListener('MozGamepadDisconnected', gamepadSupport.onGamepadDisconnect, false); ! if (!!navigator.webkitGamepads || !!navigator.webkitGetGamepads) { gamepadSupport.startPolling(); } } }, startPolling: function() { if (!gamepadSupport.ticking) { gamepadSupport.ticking = true; gamepadSupport.tick(); } }, ! stopPolling: function() {

Slide 65

Slide 65 text

gamepadSupport.ticking = true; gamepadSupport.tick(); } }, ! stopPolling: function() { gamepadSupport.ticking = false; }, ! tick: function() { gamepadSupport.pollStatus(); gamepadSupport.scheduleNextTick(); }, ! scheduleNextTick: function() { if (gamepadSupport.ticking) { window.requestAnimationFrame(gamepadSupport.tick); } }, ! pollStatus: function() { // (Code goes here.) } }; ! gamepadSupport.init();

Slide 66

Slide 66 text

window.wiiu.gamepad

Slide 67

Slide 67 text

http:/ /www.nintendo.com/wiiu/built-in-software/browser-specs/extended-functionality/

Slide 68

Slide 68 text

http:/ /wiiubrew.org/wiki/Internet_Browser

Slide 69

Slide 69 text

var getWiiUStatus = function() { var gamepadState = window.wiiu.gamepad.update(); ! if(gamepadState.isEnabled && gamepadState.isDataValid) { // (Code goes here.) } ! window.requestAnimationFrame(getWiiUStatus); } ! if (window.wiiu) { getWiiUStatus(); }

Slide 70

Slide 70 text

ANDROID TV APPLE TV AMAZON FIRE TV

Slide 71

Slide 71 text

https:/ /www.npdgroupblog.com/internet-connected-tvs-are-used-to-watch-tv-and-thats-about-all 10% BROWSER USAGE AMONG SMART TV OWNERS

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

https:/ /www.youtube.com/watch?v=y3dCUPeyhag

Slide 74

Slide 74 text

https:/ /www.youtube.com/watch?v=FxaIe2rnL0c

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

https:/ /www.youtube.com/watch?v=INDKNA7kXoo

Slide 78

Slide 78 text

navigator.getVRDevices()

Slide 79

Slide 79 text

function goFullscreen(device) { if (canvas.webkitRequestFullscreen) { canvas.webkitRequestFullscreen({ vrDisplay: device }); } else if (canvas.mozRequestFullScreen) { canvas.mozRequestFullScreen({ vrDisplay: device }); } } ! function enumerateDevices(devices) { // Do stuff with the devices goFullscreen(devices[0]); } ! if (navigator.getVRDevices) { navigator.getVRDevices().then(enumerateDevices); } else if (navigator.mozGetVRDevices) { navigator.mozGetVRDevices(enumerateDevices); } http:/ /blog.tojicode.com/2014/07/bringing-vr-to-chrome.html

Slide 80

Slide 80 text

http:/ /poshaughnessy.github.io/fel-interfaces-of-the-future/

Slide 81

Slide 81 text

http:/ /poshaughnessy.github.io/fel-interfaces-of-the-future/

Slide 82

Slide 82 text

http:/ /poshaughnessy.github.io/fel-interfaces-of-the-future/

Slide 83

Slide 83 text

https:/ /www.flickr.com/photos/anna_debenham/8190771122/

Slide 84

Slide 84 text

THANKS FOR LISTENING! joshemerson.co.uk @joshje