Draggable Camera

TTK - Draggable Camera (v1.0.0)​

​
Introduction
This plugin allows the player to drag and move the camera.
 
How to use
Save the script in a .js and move it to js/plugins folder.
If you want a smooth scroll after leave the mouse, you can just activate this plugin: http://forums.rpgmakerweb.com/index.php?/topic/49906-swipe-move/?view=findpost&p=494420
 
Images
Spoiler
2z1DEDq.gif
Plugin Code
Github: https://github.com/rafaelalmeidatk/JGSS/blob/master/TTK_DraggableCamera.js

Credits
Fogomax

 
​
Perfect ! ;D

Spoiler
[IMG]http://i.imgur.com/zMj1xa7.gif[/IMG]
Perfect ! ;D

Spoiler
zMj1xa7.gif
Very nice!
Wow, this is perfect to use in my Nodeboard system! Can you enable/disable this with a script call?

Edit: Hmm, the plugin works but i can't really use for what i intented. I thought this would make the map scroll if the mouse is near the edges. How it works now it's rather counter-intiutive and i had a hard time even clicking where i wanted to now.
Am i allowed to edit your plugin and if so, what would i have to edit to make the scrolling faster? I am making a hayday, clash of clans like game, also mine also does not seem to scroll like the sample above,( even on a new game without other scripts to be added ) ? 
this is a nice plugin idea... but i kinda dislike the implementation. when i install the plugins. when i move the mouse (without clicking)... it drag the camera... i was expecting that i need to click and hold then move to drag the camera.. (like in some android / browser game) but just moving my mouse it already dragged. so it's so hard to control the camera... is that intended? if not can you fix it 😀 .
I just tested this plugin in mobile (android) and it does not work ...     🙁   could you plz enable this plugin also in android?? i really need this plugin..i will pay for it!
Wow, this is perfect to use in my Nodeboard system! Can you enable/disable this with a script call?

Edit: Hmm, the plugin works but i can't really use for what i intented. I thought this would make the map scroll if the mouse is near the edges. How it works now it's rather counter-intiutive and i had a hard time even clicking where i wanted to now.
To turn on/off you can put this on a Plugin Command (first to turn on, last to turn off):

DraggableCamera setEnabled true- or -DraggableCamera setEnabled falseI can make what you are looking for, do you still need it?

this is a nice plugin idea... but i kinda dislike the implementation. when i install the plugins. when i move the mouse (without clicking)... it drag the camera... i was expecting that i need to click and hold then move to drag the camera.. (like in some android / browser game) but just moving my mouse it already dragged. so it's so hard to control the camera... is that intended? if not can you fix it 😀 .
You need click to grab the camera, it does not move alone. It happens every time?

Am i allowed to edit your plugin and if so, what would i have to edit to make the scrolling faster? I am making a hayday, clash of clans like game, also mine also does not seem to scroll like the sample above,( even on a new game without other scripts to be added ) ? 
Sure, nice idea. Now the plugin have the speed parameter, you can set to 1, 2, 2.3, whatever you want.

I just tested this plugin in mobile (android) and it does not work ...     🙁   could you plz enable this plugin also in android?? i really need this plugin..i will pay for it!
Now it is compatible with mobile.
thnx it works fine in mobile now and you are a great programmer!
You need click to grab the camera, it does not move alone. It happens every time?
it happens every time...

i didn't need to click and hold to move my camera... it automatically follow my mouse...

the worst thing is... after i update the plugin to your newest version... somehow my character cannot move when i turn on your plugin >.<
I tried it in latest MV deployed as a single plugin, and is not working.
Camera moves only a little without clicking on the map, only because of mouse movement.
Also it moves in backwards direction, is not moving in the direction the mouse goes.

Can this be fixed? Thanks!
Unfortunately dont work with Parallax Map.
good plugin

Original thread: https://forums.rpgmakerweb.com/threads/draggable-camera.51740/