Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
298
Reaction score
723
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
33,722
Reaction score
8,508
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
298
Reaction score
723
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
298
Reaction score
723
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

  • stupid.js
    1.1 KB · Views: 53

Amarok

Veteran
Veteran
Joined
Dec 15, 2016
Messages
298
Reaction score
723
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
 

Latest Threads

Latest Posts

Latest Profile Posts

Anyone going to talk about Chris Pratt Mario?
My friend just gave me chocolate milk at lunch today! My day is now 1000x better. Yay, choco milky!! :kaojoy:
RivalRamen_Games wrote on jacobv1014's profile.
I really like your profile picture! Who is that in it? is she an OC?
Making his first game

Forum statistics

Threads
115,332
Messages
1,089,091
Members
150,003
Latest member
Zeuslord11
Top