Drag the background!

Search JS code (of Worlds)

Search JavaScript code of all Worlds for: touchDrag


Zombie Death Baby
771 runs ♦ 1 like
By Starter user  
Created: 11 Jun 2018
Modified: 17 Sep 2023
How to make a fun touch game for mobile. Touch drag and tap objects. Mouse drag and click object...
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Final Pool
1164 runs ♦ 2 likes
By Ian Gilligan  
Created: 1 Mar 2019
Modified: 17 Sep 2023
Pool Predictor for CA326
ABHandler.initTouchDrag = initTouch;
ABHandler.touchDrag = dummy;
Sampler
149 runs ♦ 1 like
By Enhanced  
Created: 19 Jul 2018
Modified: 17 Sep 2023
Upload sounds, play them, automate them. Saving data works.
threehandler.touchDrag = function ( x, y ) { };
threehandler.initTouchDrag = initDrag;
Hunting Season
1390 runs ♦ 1 like
By Niall Kelly  
Created: 3 Nov 2022
Modified: 17 Sep 2023
The aim is simple, shoot as many targets as you can in 60 seconds. Watch out for the hawk's, the...
ABHandler.initTouchDrag = mouseClick; // Override default mobile controls
ABHandler.touchDrag = mouseDrag;
Touch World
457 runs ♦ 1 like
By Starter user  
Created: 6 Jan 2018
Modified: 17 Sep 2023
How to override default touch handling. Mobile: Touch drag moves agent, touch pinch zooms camera...
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Pac-Man (clone b...
4 runs ♦ 0 likes
By Cbum  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Clone of "Pac-Man" by Cbum
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Zombie Death Bab...
50 runs ♦ 0 likes
By Leigh Reilly  
Created: 16 Nov 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Touch World (clo...
2 runs ♦ 0 likes
By Liam Eguia  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
v0.49 Pool Predi...
2 runs ♦ 0 likes
By Ian Gilligan  
Created: 19 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.48 Pool Predictor Prototype" by lillisl2
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Javascript Javas...
0 runs ♦ 0 likes
By Javascript  
Created: 30 Mar 2019
Modified: 17 Sep 2023
Clone of "Javascript Zombie Death Baby" by Javascript
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Touch World (clo...
1 run ♦ 0 likes
By Leigh Reilly  
Created: 28 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Zombie Death Bab...
5 runs ♦ 0 likes
By Martin Derwin  
Created: 30 Oct 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
v0.93 Pool Predi...
157 runs ♦ 0 likes
By lillisl2  
Created: 21 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.92 Pool Predictor Prototype" by Ian Gilligan
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
new audio for Zo...
7 runs ♦ 0 likes
By Extra test  
Created: 7 Feb 2021
Modified: 7 Feb 2021
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Touch World (clo...
7 runs ♦ 0 likes
By Vanya Cadogan  
Created: 27 Sep 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
New World (clone...
9 runs ♦ 0 likes
By Thomas Hazekamp  
Created: 16 Nov 2022
Modified: 17 Sep 2023
Clone of "New World" by Niall Kelly
ABHandler.initTouchDrag = mouseClick; // Override default mobile controls
ABHandler.touchDrag = mouseDrag;
Touch World (clo...
2 runs ♦ 0 likes
By Joseph Adedayo  
Created: 29 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World (clone by Colin Ekedigwe)" by Colin Ekedigwe
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Touch World (clo...
6 runs ♦ 0 likes
By Chinmay  
Created: 23 Sep 2021
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Touch World (clo...
0 runs ♦ 0 likes
By Cian sullivan  
Created: 2 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Touch World (clo...
2 runs ♦ 0 likes
By Cian  
Created: 5 Dec 2021
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Touch World (clo...
1 run ♦ 0 likes
By Colin Ekedigwe  
Created: 30 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World (clone by Colin Ekedigwe) (clone by Joseph Adedayo)" by Joseph Adedayo
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Zombie Death Bab...
0 runs ♦ 0 likes
By Anuja Pathak  
Created: 2 Feb 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Cloned Cloned Po...
40 runs ♦ 0 likes
By lillisl2  
Created: 30 Jan 2019
Modified: 17 Sep 2023
Clone of "Cloned Pool Predictor Prototype" by Ian Gilligan
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Hunting Season (...
4 runs ♦ 0 likes
By Gary D  
Created: 28 Nov 2023
Modified: 28 Nov 2023
Clone of "Hunting Season" by Niall Kelly
ABHandler.initTouchDrag = mouseClick; // Override default mobile controls
ABHandler.touchDrag = mouseDrag;
Cloned Touch World
8 runs ♦ 0 likes
By Extra test  
Created: 9 Jan 2018
Modified: 10 Feb 2018
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
threehandler.initTouchDrag = initTouchDrag;
threehandler.touchDrag = touchDrag
Touch World (clo...
0 runs ♦ 0 likes
By Cian  
Created: 5 Dec 2021
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
New World (clone...
6 runs ♦ 0 likes
By Xiaoyu Lyu  
Created: 18 Nov 2022
Modified: 17 Sep 2023
Clone of "New World" by Niall Kelly
ABHandler.initTouchDrag = mouseClick; // Override default mobile controls
ABHandler.touchDrag = mouseDrag;
Final Pool (clon...
0 runs ♦ 0 likes
By Leigh Reilly  
Created: 7 Nov 2022
Modified: 17 Sep 2023
Clone of "Final Pool" by Ian Gilligan
ABHandler.initTouchDrag = initTouch;
ABHandler.touchDrag = dummy;
New World (clone...
2 runs ♦ 0 likes
By Adam Gray  
Created: 11 Nov 2022
Modified: 17 Sep 2023
Clone of "New World" by Niall Kelly
ABHandler.initTouchDrag = mouseClick; // Mobile controls, will change if I have time.
ABHandler.touchDrag = mouseDrag;
Zombie Death Bab...
3 runs ♦ 0 likes
By Jack  
Created: 12 Nov 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Zombie Death Bab...
2 runs ♦ 0 likes
By John Lasis  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Touch World (clo...
2 runs ♦ 1 like
By Tobi Olaoye  
Created: 21 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Touch World (clo...
0 runs ♦ 0 likes
By Antoine Klein  
Created: 8 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
Cloned Touch complex
7 runs ♦ 0 likes
By Nathan Bonnard  
Created: 14 Jun 2018
Modified: 17 Sep 2023
Clone of "Touch complex" by Starter user
threehandler.initTouchDrag = initDrag;
threehandler.touchDrag = drag
v0.44 Pool Predi...
65 runs ♦ 0 likes
By Ian Gilligan  
Created: 12 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.43 Pool Predictor Prototype" by Ian Gilligan
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Touch World (clo...
0 runs ♦ 0 likes
By Abhijit Mahal  
Created: 2 Dec 2023
Modified: 2 Dec 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag
New World (clone...
6 runs ♦ 0 likes
By Adam Gray  
Created: 8 Nov 2022
Modified: 17 Sep 2023
Clone of "New World" by Niall Kelly
//ABHandler.initTouchDrag = {}; // Mobile controls, will change if I have time.
//ABHandler.touchDrag = {};
Zombie Death Bab...
0 runs ♦ 0 likes
By Dylan Bagnall  
Created: 1 Dec 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
v0.94 Pool Predi...
28 runs ♦ 0 likes
By lillisl2  
Created: 25 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.94 Pool Predictor Prototype" by Ian Gilligan
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Touch World (clo...
0 runs ♦ 0 likes
By Colin Ekedigwe  
Created: 12 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" by Starter user
function initTouchDrag ( x, y ) // x,y position on screen
function touchDrag ( x, y ) // compare with previous x,y position on screen to get direction of drag
ABHandler.initTouchDrag = initTouchDrag;
ABHandler.touchDrag = touchDrag


The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.