Dragging screen with mouse?

Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
288
Reaction score
710
First Language
Spanish
Primarily Uses
RMMV
Ive been searching for something like this for a few days with no luck.
Has anyone attempted this at all? my game uses mouse for mostly everything, wich limits me to only use maps that fit the screen.
For several reasons being able to drag the screen around with the mouse would be really useful to me.
So if anyone could give me at least some info on how to achieve this i would be really thankful!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,230
Reaction score
6,776
First Language
German
Primarily Uses
RMMV
I don't know if "dragging" is possible (it will need a plugin), but you could allow a control of scrolling by event command, and link that to buttons or a HUD (still requires a plugin in most cases, but those already exist).

However - why should the use of a mouse limit you to maps of screensize? nothing should stop you from using larger maps while using mouse, you just aren't able to control the scrolling in default.
 

Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
288
Reaction score
710
First Language
Spanish
Primarily Uses
RMMV
@Andar yes i can make it work like that, but its not optimal for what i want to do, so i wanted to avoid that approach if possible.
The map size limit is related to that, since there is no player character to control in the game, only the cursor, i wanted a way for the player to easily move the screen around without relying on buttons, etc
 

Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
288
Reaction score
710
First Language
Spanish
Primarily Uses
RMMV
@JtheDuelist thanks! i will give it a shot, though im completely coding illiterate xD
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
@Amarok hey pal, it's a hard-to-sleep-night so i make this plugin for you to drag the game screen with mouse
Just press Left Mouse for 2 seconds then try dragging around :- )
(yeah about my plugin name... don't mind it, just a random name popped out at that time)
 

Attachments

Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
288
Reaction score
710
First Language
Spanish
Primarily Uses
RMMV
@Isabella Ava THANK YOU :) exactly what i needed, just let me know by wich name i should credit you in the game :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Stream will be live shortly with some more Haunting Ground! Today, we encounter a new stalker! Feel free to drop by!
Tried the new Samsung Galaxy S20 Plus today. Very nice device overall, but flagship smartphone prices are getting completely out of control.
Sometimes I feel like I don't belong here. I feel like I have the exact opposite interests in storytelling as everyone else.
You know what really grinds my gears? Websites that block your access completely if you have an AdBlocker on...

I would rather skip the site than endure some popups that may give me a gnarly virus!
Guys this thread is so good and you should be reading it.

Forum statistics

Threads
94,492
Messages
921,404
Members
124,347
Latest member
Argentum13
Top