How to move the game map screen to the top left instead of center?

Status
Not open for further replies.

jensonagain

Veteran
Veteran
Joined
Feb 10, 2018
Messages
50
Reaction score
3
First Language
english
Primarily Uses
RMMV
Note: My RPG Maker MV game is set to 1920x1080 resolution.

When I start my RPG Maker MV game, the game area starts out centered:
def.jpg

How can I move that game map screen to the top left like this?
def2.jpg

Then, as an added bonus, how can I place an image on the right like this?
def3.jpg

EDIT
I ended up figuring it out. The solution was simple, you don't even need javascript.

In your map, do this: Make sure there is unwalkable extra space to the right and bottom of the map, it will push the walkable area towards the top left. Then you can simply Show Picture at the right of the screen.

Here's an example:
1577997051383.png

Here is how it looks in game (you could show a picture towards the right very easily).
1577997024015.png

The extra blank space to the right and bottom pushes the walkable area to the top left.

Things like the dialogue window can be resized if you don't like it overlaying your Picture on the right hand side.

The extra black space you see can be used for pictures, huds, overlays, etc.
 

Attachments

Last edited:

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
the only problem with solution is that the map stays small, and not scrollable,
unless this is intended.

but its a workaround if not scrollable.
 

jensonagain

Veteran
Veteran
Joined
Feb 10, 2018
Messages
50
Reaction score
3
First Language
english
Primarily Uses
RMMV
the only problem with solution is that the map stays small, and not scrollable,
unless this is intended.

but its a workaround if not scrollable.
You can still have a big map and scroll, I tested it thoroughly.

Draw out the tiles to make a big map that requires scrolling. Then add unwalkable blank space to the right and bottom. Show the picture you want on the right hand side. Now, you have to keep adding unwalkable blank space to the right of the map until it pushes the right border to the edge of your picture. Just to clarify, when my characters walk to the right, scrolling, scrolling, scrolling, then hit the edge of the map, it ends right at the left edge of the picture, so the solution does work. You have to keep pushing until the right edge of the map and the left edge of your picture finally meet. The picture width pixels will have to be adjusted until it's perfect.

Experiment with it if you have time. I tested it for a good hour. I plan on doing more testing tomorrow.

If you still think you're right, please explain again, then I'll test it more tomorrow to see if I can reproduce your problem.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,895
Reaction score
1,029
First Language
Dutch
Primarily Uses
RMMV
I mean more, if you have a resolution of 1200x900 (around 25x18) and you make a map of 80x100.
the map wont be centers in the corner.

However, you can do a overlay, but the player wont be in center of the corner piece.
so it can be scrollable, so the player is either behind the image.

so basicly you need a window inside a mapwindow that can do that exacly (I can be wrong)
but if you have it to work, send me the tiny demo/project so small as possible, so I can
take a look at it.

I'm curious how that would be set up..

This is what I thought:
1) Map size bigger than resolution are scrollable
2) Map smaller than resolution have the map centered, unless map is same as resolution.

correct me if im wrong,.
 

jensonagain

Veteran
Veteran
Joined
Feb 10, 2018
Messages
50
Reaction score
3
First Language
english
Primarily Uses
RMMV
I mean more, if you have a resolution of 1200x900 (around 25x18) and you make a map of 80x100.
the map wont be centers in the corner.
Yes, you're right. It won't be centered in the corner with my solution. That's what I want though, I want the map to be pushed towards the top left.

However, you can do a overlay, but the player wont be in center of the corner piece.
so it can be scrollable, so the player is either behind the image.
The player won't end up behind the image, because you have to find the right tileset width and height, so the player stops right at the border of the image. All you have to do is add or remove unwalkable blank space to the right or bottom of the map, depending if you want an image on the bottom, right, or both areas.

You're right about the player not being in the center of the map while walking and scrolling, but it's not a big deal. I'm open to other solutions, but I can't find any unfortunately.

I would love a way where you have three separate windows. One window is for the travel game map, the other window to constantly show a picture, and another window on the bottom for character and game information. That would be ideal.

so basicly you need a window inside a mapwindow that can do that exacly (I can be wrong)
but if you have it to work, send me the tiny demo/project so small as possible, so I can
take a look at it.
It's easy to setup. Just make a new demo project, show a picture on the right hand of the screen, then add unwalkable blank space to the right hand side of a large map. Keep adding or removing unwalkable blank space until your character stops right at the left edge of the picture.

This is what I thought:
1) Map size bigger than resolution are scrollable
2) Map smaller than resolution have the map centered, unless map is same as resolution.

correct me if im wrong,.
Both are true.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Instead of writing (solved) in the thread title when your question has been answered, you should report your first post and let the mods know so they can close it.
 

jensonagain

Veteran
Veteran
Joined
Feb 10, 2018
Messages
50
Reaction score
3
First Language
english
Primarily Uses
RMMV
However, you can do a overlay, but the player wont be in center of the corner piece.
I figured out how to change the screen center, so the game map scrolls based upon the new screen center.

Here is a link to the javascript: https://forums.rpgmakerweb.com/inde...t-which-the-game-map-begins-scrolling.116923/

Instead of writing (solved) in the thread title when your question has been answered, you should report your first post and let the mods know so they can close it.
Sounds good. I'll do that now.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,088
Members
137,585
Latest member
Reversinator
Top