Drag the background!

Search JS code (of Worlds)

Search JavaScript code of all Worlds for: touchDrag


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
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;
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;
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
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;
Room18 Monday Zo...
3 runs ♦ 0 likes
By Room18 Monday  
Created: 8 Apr 2019
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Zombie Death Bab...
5 runs ♦ 0 likes
By Xiaoyu Lyu  
Created: 27 Sep 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Zombie Death Bab...
0 runs ♦ 0 likes
By Adam Gray  
Created: 8 Nov 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
v0.43 Pool Predi...
278 runs ♦ 1 like
By Ian Gilligan  
Created: 5 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.4 Pool Predictor Prototype" by Ian Gilligan
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
New World (clone...
1 run ♦ 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;
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
Final Pool (clon...
6 runs ♦ 0 likes
By David L  
Created: 30 Nov 2022
Modified: 17 Sep 2023
Clone of "Final Pool" by Ian Gilligan
ABHandler.initTouchDrag = initTouch;
ABHandler.touchDrag = dummy;
Room18 Touch or die
8 runs ♦ 0 likes
By Room18 Monday  
Created: 9 Apr 2019
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.92 Pool Predi...
224 runs ♦ 0 likes
By Ian Gilligan  
Created: 20 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.91 Pool Predictor Prototype" by lillisl2
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Touch World (clo...
0 runs ♦ 0 likes
By Rufus Tenali  
Created: 27 Sep 2023
Modified: 27 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.5 Pool Predic...
92 runs ♦ 0 likes
By Ian Gilligan  
Created: 14 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.44 Pool Predictor Prototype" by Ian Gilligan
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
pacman's life
12 runs ♦ 0 likes
By Ted Malone  
Created: 7 Apr 2018
Modified: 17 Sep 2023
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
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
Zombie Death Bab...
0 runs ♦ 0 likes
By Dylan Bagnall  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby (clone by Dylan Bagnall)" by Dylan Bagnall
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Baby Death Baby ...
3 runs ♦ 0 likes
By Elva  
Created: 7 Feb 2021
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
3d Zombie Death Baby
11 runs ♦ 0 likes
By Test account  
Created: 4 Feb 2019
Modified: 4 Feb 2019
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
v0.48 Pool Predi...
139 runs ♦ 0 likes
By lillisl2  
Created: 12 Feb 2019
Modified: 17 Sep 2023
Clone of "lillisl2 v0.45 Pool Predictor Prototype" by lillisl2
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Tom and Jerry
18 runs ♦ 0 likes
By Stephen Walsh  
Created: 27 Sep 2022
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Touch World (clo...
10 runs ♦ 0 likes
By Dylan Corbari  
Created: 24 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
Pac-Man
421 runs ♦ 3 likes
By Cbum  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Eat or be Eaten!
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
v0.3 Pool Predic...
115 runs ♦ 0 likes
By lillisl2  
Created: 4 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.2 Pool Predictor Prototype" by Ian Gilligan
//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
Cloned Touch World
8 runs ♦ 0 likes
By Test account  
Created: 16 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
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;
Touch World (clo...
4 runs ♦ 0 likes
By Okikiola Sanni  
Created: 27 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...
43 runs ♦ 0 likes
By Lorcan Dunne  
Created: 10 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 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...
154 runs ♦ 0 likes
By Colin Ekedigwe  
Created: 12 Nov 2022
Modified: 17 Sep 2023
Clone of "Touch World" 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
Cloned Zombie De...
2 runs ♦ 0 likes
By DojoCon machine 1  
Created: 21 Oct 2018
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag
Space Hero (clon...
15 runs ♦ 0 likes
By Leigh Reilly  
Created: 5 Dec 2022
Modified: 17 Sep 2023
Clone of "Space Hero" by Enhanced
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
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;
exp Sampler
8 runs ♦ 0 likes
By Mathias Bazin  
Created: 2 Jul 2018
Modified: 17 Sep 2023
Clone of "Sampler" by Mathias Bazin
threehandler.touchDrag = function ( x, y ) { };
threehandler.initTouchDrag = initDrag;
v0.4 Pool Predic...
53 runs ♦ 0 likes
By Ian Gilligan  
Created: 5 Feb 2019
Modified: 17 Sep 2023
Clone of "v0.3 Pool Predictor Prototype" by lillisl2
//ABHandler.initTouchDrag = initDrag;
//ABHandler.touchDrag = drag
Zombie Death Bab...
1 run ♦ 0 likes
By !DDHa_PX_Gm7.v6c98-a  
Created: 14 Jun 2021
Modified: 17 Sep 2023
Clone of "Zombie Death Baby" by Starter user
ABHandler.initTouchDrag = initDrag;
ABHandler.touchDrag = drag


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.