Amarok

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

Regular
Regular
Joined
Mar 5, 2013
Messages
39,307
Reaction score
11,486
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

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

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

Isabella Ava

Regular
Regular
Joined
Sep 13, 2016
Messages
635
Reaction score
758
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: 77

Amarok

Regular
Regular
Joined
Dec 15, 2016
Messages
298
Reaction score
734
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 Profile Posts

Lily (our 4yr old) wanted to make a movie of her own. Considering she has about a 15 minute attention span limit, I think she did a great job! She used a non screen digital tablet for the first time to draw the character and had full creative direction.
1920px-Toblerone_3362.jpg
My one of 50ish weaknesses...
I'm at a writer block in my game. I'm trying to think of a mini-game for one of my levels. Maybe they have to dodge boulders while climbing a hill. Give it a bad pun name like Boulder Dash?
To cater to the communitiy's needs and desires, I am now blonde ;3

Forum statistics

Threads
134,857
Messages
1,251,312
Members
177,653
Latest member
Elyz13
Top