topical media & game development
mobile-game-present-math.htm / htm
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The State of Mobile HTML5 Gaming</title>
<meta name="viewport" content="width=device-width, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script src='mobile-game-present-lib-quintus.js'></script>
<script src='mobile-game-present-lib-quintus-sprites.js?123'></script>
<script src='mobile-game-present-lib-quintus-input.js'></script>
<script src='mobile-game-present-lib-quintus-scenes.js'></script>
<script src='mobile-game-present-lib-quintus-touch.js'></script>
<script src='mobile-game-present-lib-quintus-anim.js'></script>
<script src='mobile-game-present-lib-quintus-2d.js'></script>
<script src='mobile-game-present-lib-quintus-ui.js'></script>
<style>
body { max-width:1024px; margin:0 auto; }
canvas {
z-index:0;
}
</style>
</head>
<body>
<div pub-key="pub-13814550-e608-4a18-a6c1-918a7629c300" sub-key="sub-9ea75ce6-2d3d-11e0-a6b8-0de526750bdd" ssl="off" origin="pubsub.pubnub.com" id="pubnub"></div>
<script src="http://cdn.pubnub.com/pubnub-3.1.min.js"></script>
<script>(function(){
// LISTEN FOR MESSAGES
PUBNUB.subscribe({
channel : "hello_world", // CONNECT TO THIS CHANNEL.
restore : false, // STAY CONNECTED, EVEN WHEN BROWSER IS CLOSED
// OR WHEN PAGE CHANGES.
callback : function(message) { // RECEIVED A MESSAGE.
//alert(message)
},
disconnect : function() { // LOST CONNECTION.
alert(
"Connection Lost." +
"Will auto-reconnect when Online."
)
},
reconnect : function() { // CONNECTION RESTORED.
alert("And we're Back!")
},
connect : function() { // CONNECTION ESTABLISHED.
PUBNUB.publish({ // SEND A MESSAGE.
channel : "hello_world",
message : "Hi from PubNub."
})
}
})
})();</script>
</body>
</html>
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.