Hi guys, I'm noob with RPG MAKER MV and I don't understand why I get those black edges on the sides. Does anyone know how to remove them?
This image is my full screen
This image is my full screen
index.html file somewhere inside the <head> tag:<style>canvas { width: 100% !important; height: 100% !important; }</style>
<head> tag of your index.html file would look similar to this: <head>
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="user-scalable=no">
<link rel="icon" href="icon/icon.png" type="image/png">
<link rel="apple-touch-icon" href="icon/icon.png">
<link rel="stylesheet" type="text/css" href="fonts/gamefont.css">
<style>canvas { width: 100% !important; height: 100% !important; }</style>
<title>Game Title</title>
</head>
index.html file, and can instead use the game.css file inside the css folder. Simply add following lines anywhere in the file:canvas {
width: 100% !important;
height: 100% !important;
}
Thanks a lot!!!! It works!! ALELUYAH
Double-post notice:
Original thread: https://forums.rpgmakerweb.com/threads/problem-with-fullscreen.143543/