Enter grooveshark, open console and paste the code
window.setInterval(function(){
var modal = $(".lightbox-interactionTimeout");
if (modal.is(":visible")){
$("#lightbox-footer-left>a", modal).click();
}
}, 5000);
#pragma strict | |
var target : Transform; // Reference to the Objects transform. | |
var targetBody: Rigidbody2D; | |
var distance: float = 3.0; | |
var height: float = 3.0; | |
var width: float = 3.0; | |
var damping: float = 5.0; |
Enter grooveshark, open console and paste the code
window.setInterval(function(){
var modal = $(".lightbox-interactionTimeout");
if (modal.is(":visible")){
$("#lightbox-footer-left>a", modal).click();
}
}, 5000);
Install HAXE 3.1.1 since 3.1.3 (latest right now) won't work with OpenFL
HelloWorld.hx
<!-- iPhone and iPod touch --> | |
<gap:splash src="Default.png" gap:platform="ios" width="320" height="480" /> | |
<gap:splash src="[email protected]" gap:platform="ios" width="640" height="960" /> | |
<!-- iPhone 5 / iPod Touch (5th Generation) --> | |
<gap:splash src="[email protected]" gap:platform="ios" width="640" height="1136" /> | |
<!-- iPad --> | |
<gap:splash src="Default-Portrait.png" gap:platform="ios" width="768" height="1024" /> | |
<gap:splash src="Default-Landscape.png" gap:platform="ios" width="1024" height="768" /> |
APIs & auth
-> Credentials
Create New Key
-> Server Key
-> Put the public IP or domain where the server remains (for testing a 0.0.0.0/0.
can be used)APIs & auth
-> APIs
-> Look for Google Cloud Messaging for Android and turn it ON
API key
generatedThen go ot Google Developers Console at GooglePlay
Download and install:
Only versions
e
ord
DO NOT USEk
C:\Program Files (x86)\Java\jre7\bin
var isClient = (typeof global === "undefined") ? true : false; | |
(function(arkanoid) { | |
var arkanoid = arkanoid || {}; | |
if (!isClient){ | |
arkanoid.Ball = require('./Ball.js'); | |
arkanoid.Padd = require('./Padd.js'); | |
} |
var juego = (function(){ | |
var reqAnimId, | |
canvas, | |
contexto, | |
canvasBuffer, | |
contextoBuffer; | |
function actualizar() { | |
//actualizaciones del estado | |
} |
var foo = false; // Correcto: asigno a foo el valor literal false | |
false.miPropiedad; // Incorrecto | |
false.miMetodo(); // Incorrecto | |
false = true; // Incorrecto | |
true = "algun texto"; // Incorrecto |