RMMZ Loading

Ah Rpg Maker, what a nice software to create RPGs, but all the way limited without plug-ins, let's even say trivial under some characteristics, let's take LOADING as an example, it's one of the most trivial and ugly things to see!
Norm.gif

You just look at this...Banal.
If you want to make your game as professional as possible, it must also be interesting while waiting for loading.
I'm here today to help you by giving you a tutorial and some of my free codes!

Let's start step by step.

-First of all you need to open your project folder

-There will be a "css" folder inside
1.png

-Just open it
- Then you will see a "game.css" file (if you have no active extension then you will only see the "game" file
-You need to open it using Note or Visual Studio Code or Note++ or any program that reads the file, I recommend VSCode
(Visual Studio Code - Note++)
2.png


-Then let's edit Code!
it will be easy don't worry.
-Scroll down and find "#loadingSpinner" (or press ctrl + f and digit "loading")
3.png


-Just comment or delete it
4.png


-To comment use /**/
/*this is a comment*/
-So copy and paste my code
-Save file and open your game
--------------------------------------------------------------
Well some code for you
1- "Atom Spinner"
Ato.gif


it's pretty cool loading
Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 120px;

    height: 120px;

    z-index: 10;

}

#loadingSpinner {

    transform: rotateZ(45deg);

    perspective: 1000px;

    border-radius: 50%;

    width: 48px;

    height: 48px;

    color: rgb(255, 251, 0);

  }

  #loadingSpinner:before,

  #loadingSpinner:after {

      content: '';

      display: block;

      position: absolute;

      top: 0;

      left: 0;

      width: inherit;

      height: inherit;

      border-radius: 50%;

      transform: rotateX(70deg);

      animation: 1s spin linear infinite;

    }

    #loadingSpinner:after {

      color: #00ffff;

      transform: rotateY(70deg);

      animation-delay: .4s;

    }


  @keyframes rotate {

    0% {

      transform: translate(-50%, -50%) rotateZ(0deg);

    }

    100% {

      transform: translate(-50%, -50%) rotateZ(360deg);

    }

  }


  @keyframes rotateccw {

    0% {

      transform: translate(-50%, -50%) rotate(0deg);

    }

    100% {

      transform: translate(-50%, -50%) rotate(-360deg);

    }

  }


  @keyframes spin {

    0%,

    100% {

      box-shadow: .2em 0px 0 0px currentcolor;

    }

    12% {

      box-shadow: .2em .2em 0 0 currentcolor;

    }

    25% {

      box-shadow: 0 .2em 0 0px currentcolor;

    }

    37% {

      box-shadow: -.2em .2em 0 0 currentcolor;

    }

    50% {

      box-shadow: -.2em 0 0 0 currentcolor;

    }

    62% {

      box-shadow: -.2em -.2em 0 0 currentcolor;

    }

    75% {

      box-shadow: 0px -.2em 0 0 currentcolor;

    }

    87% {

      box-shadow: .2em -.2em 0 0 currentcolor;

    }

  }

2- "Classic Spinner"
grid.gif


I like thi one, its so neutral

Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 48px;

    height: 48px;

    z-index: 10;

}


#loadingSpinner {

    width: 96px;

    height: 16px;

    display: inline-block;

    background-color: #FFF;

    border: 1px solid #FFF;

    border-radius: 4px;

    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, transparent 75%, transparent);

    font-size: 30px;

    background-size: 1em 1em;

    box-sizing: border-box;

    animation: barStripe 1s linear infinite;

  }

 

  @keyframes barStripe {

    0% {

      background-position: 1em 0;

    }

    100% {

      background-position: 0 0;

    }

  }

3- "Coin Spinner"
It's like a coin
coin.gif


Pretty simple animation

Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 120px;

    height: 120px;

    z-index: 10;

    width: 96px;

    height: 96px;

    display: inline-block;

 

    border-radius: 50%;

    background: #33CCCC;;

    animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;

  }

  @keyframes lds-circle {

    0%, 100% {

      animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);

      background: #00ffff;

    }

    0% {

      transform: rotateY(0deg);

      background: #00ccff;

    }

    50% {

      transform: rotateY(1800deg);

      animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);

      background: #0099ff;

    }

    100% {

      transform: rotateY(3600deg);

      background: #00ccff;

    }

  }

4- "Wave Spinner"
Gocc.gif

This remember me a sonic wave

Spoiler: Code
CSS:
#loadingSpinner {

    display: inline-block;

    margin: auto;

    width: 80px;

    height: 80px;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

  }

  #loadingSpinner  {

    position: absolute;

    border: 4px solid #fff;

    opacity: 1;

    border-radius: 50%;

    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;

  }

  #loadingSpinner :nth-child(2) {

    animation-delay: -0.5s;

  }

  @keyframes lds-ripple {

    0% {

      top: 0px;

      left: 0px;

      width: 0;

      height: 0;

      opacity: 0;

    }

    4.9% {

      top: 0px;

      left: 0px;

      width: 0;

      height: 0;

      opacity: 0;

    }

    5% {

      top: 0px;

      left: 0px;

      width: 0;

      height: 0;

      opacity: 1;

    }

    100% {

      top: 0px;

      left: 0px;

      width: 72px;

      height: 72px;

      opacity: 0;

    }

  }

5- "Cubyc Spinner"
Cubic.gif


It's a simple loading but so cool

Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 48px;

    height: 48px;

    z-index: 10;

}


#loadingSpinner {

    width: 48px;

    height: 48px;

    background: #fff;

    animation: rotate 1s linear infinite;

  }

 

  @keyframes rotate {

    0% {

      transform: rotate(0deg) scale(0.2);

      border-radius: 10%;

    }

    50% {

      transform: rotate(180deg) scale(1.5);

      border-radius: 50%;

    }

    100% {

      transform: rotate(360deg) scale(0.2);

      border-radius: 10%;

    }

  }

6- "Interchange Spinner"
L1.gif

Lovely loading

Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 120px;

    height: 120px;

    z-index: 10;

}


#loadingSpinner {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: inline-block;

    border-top: 4px solid rgb(134, 134, 134);

    border-right: 4px solid transparent;

    box-sizing: border-box;

    animation: rotation 1s linear infinite;

  }

  #loadingSpinner:after {

    content: ''; 

    box-sizing: border-box;

    position: absolute;

    left: 0;

    top: 0;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    border-left: 4px solid #2e2e2e;

    border-bottom: 4px solid transparent;

    animation: rotation 0.5s linear infinite reverse;

  }

  @keyframes rotation {

    0% {

      transform: rotate(0deg);

    }

    100% {

      transform: rotate(360deg);

    }

  }

7- "Chase Spinner"
L2.gif

Nice to be loading

Spoiler: Code
CSS:
#loadingSpinner {

    margin: auto;

    position: absolute;

    top: 0px;

    left: 0px;

    right: 0px;

    bottom: 0px;

    width: 120px;

    height: 120px;

    z-index: 10;

}


#loadingSpinner {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: inline-block;

    border-top: 4px solid rgb(161, 161, 161);

    border-right: 4px solid transparent;

    box-sizing: border-box;

    animation: rotation 1s linear infinite;

  }

  #loadingSpinner:after {

    content: ''; 

    box-sizing: border-box;

    position: absolute;

    left: 0;

    top: 0;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    border-bottom: 4px solid #474747;

    border-left: 4px solid transparent;

  }

  @keyframes rotation {

    0% {

      transform: rotate(0deg);

    }

    100% {

      transform: rotate(360deg);

    }

  }

----------------------------------------------------------
Some Extra for you
1 Extra Code
Spoiler: Code
CSS:
#loadingSpinner {
    margin: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 48px;
    height: 48px;
    z-index: 10;
}
#loadingSpinner  {
    width: 96px;
    height: 24px;
    display: inline-block;
    background-color: #FFF;
    border: 1px solid #FFF;
    border-radius: 4px;
    background: linear-gradient(45deg, transparent 49%, #FFF 50%, #FFF 50%, transparent 51%, transparent), linear-gradient(-45deg, transparent 49%, #FFF 50%, #FFF 50%, transparent 51%, transparent);
    font-size: 15px;
    background-size: 1em 1em;
    box-sizing: border-box;
    animation: barStripe 0.6s linear infinite;
  }
 
  @keyframes barStripe {
    0% {
      background-position: 1em 0;
    }
    100% {
      background-position: 0 0;
    }
  }

2-The splash screen when it loads is so blank, there is only a black background with a load, if only something could be done ... wait but you can!
Do you want to have something like this?
rpx.gif


You Can! just edit your Inde.html and game.css file
use this template
Spoiler: HTML CODE
HTML:
<!DOCTYPE html>
<html>
    <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="css/game.css">
        <title>Crusade of Deitra</title>
    </head>
    <body id="bgcolor">
        <script type="text/javascript" src="js/main.js"></script>
        <!------------->
        <!--THIS IS A COMMENT, YOU CAN'T WRITE CODE INSIDE-->
        
        <center>
            <!--This is Text-->
            <!--ID IS FOR CSS-->
        <h1 id="imager">Powered by</h1>
            <!--add image-->
        <a href="<!--Your Link Here-->"> <img id="imager" src="<!--Your IMG LINK or IMG PATH here-->" width="15%" height="15%" alt="Rpics Studio"></a>
        </center>
        <!--Social Images and Links same as Above-->
        <p id="social">Follow me on</p><!--Text-->
        <!--IMG 1-->
        <a id="social" href="<!--Your Social Link Here-->"><img src="<!--Your IMG LINK or IMG PATH here(ICON)-->" width="3%" alt="Follow me on instagram"></a>
        <br> <!--to go to head-->
        <br> <!--to go to head-->
        <!--IMG 2-->
        <a id="social" href="<!--Your Social Link Here-->"><img src="<!--Your IMG LINK or IMG PATH here(ICON)-->" width="3%" alt="Follow me on TikTok"></a>
        <br> <!--to go to head-->
        <br> <!--to go to head-->
        <!--IMG 3-->
        <a id="social" href="https://rpics.itch.io/"><img src="<!--Your IMG LINK or IMG PATH here(ICON)-->" width="3%" alt="Gams, Mod, Plug-ins and more"></a>
        <br> <!--to go to head-->
        <br> <!--to go to head-->
        <!--IMG 4-->
        <a id="social" href="https://store.steampowered.com/app/1767730/Crusade_of_Deitra/"><img src="<!--Your IMG LINK or IMG PATH here(ICON)-->" width="3%" alt="Steam"></a>

    </body>
</html>

Spoiler: CSS CODE
CSS:
/*THIS IS A COMMENT*/
body {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #33CCCC; /* Fallback */
    animation: color 1s infinite linear;
    padding: 1s;
    
/*Ignore this one go to the last line*/
@keyframes color {
    0%   { background: #33CCCC; }
    20%  { background: #33CC36; }
    40%  { background: #B8CC33; }
    60%  { background: #FCCA00; }
    80%  { background: #33CC36; }
    100% { background: #33CCCC; }
  }
}
 
#errorPrinter {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 640px;
    height: 100px;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    font-size: 20px;
    color: #fff;
    z-index: 9;
}
#errorName {
    color: rgb(255, 153, 0);
    font-weight: bold;
    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
#errorMessage {
    color: #fff;
    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
#retryButton {
    font-size: 20px;
    color: #fff;
    background-color: #000;
    border-radius: 8px;
    margin: 20px;
    padding: 10px;
    /*-------------------------------------------------------*/
}
#fpsCounterBox {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 90px;
    height: 40px;
    background: #222;
    opacity: 0.8;
    z-index: 8;
}
#fpsCounterLabel {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 5px 10px;
    height: 30px;
    line-height: 32px;
    font-size: 12px;
    font-family: rmmz-numberfont, sans-serif;
    color: #fff;
    text-align: left;
}
#fpsCounterNumber {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px 10px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    font-family: rmmz-numberfont, monospace;
    color: #fff;
    text-align: right;
}

/* This is Loadin Spinner */
#loadingSpinner {
    margin: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 120px;
    height: 120px;
    z-index: 10;
}
#loadingSpinnerImage {
    margin: 0px;
    padding: 0px;
    border-radius: 50%;
    width: 96px;
    height: 96px;
    border: 12px solid rgba(255, 255, 255, 0.25);
    border-top: 12px solid rgba(255, 255, 255, 1);
    animation: fadein 2s ease, spin 1.5s linear infinite;
}
@keyframes fadein {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}*/
/*-------------------------------------------------------------------------*/

/*Bacground Color*/
/*EDIT ID "bgcolor" (inside html file)*/
/*This is a BG Animation Just edit colors in @Keyframe*/
#bgcolor {
    overflow: hidden;   
    animation: v 3s infinite;
}

@keyframes v{
  0% {background:#000000;}
  20%{background:#010101;}
  40%{background:#020202;}
  60%{background:#030303;}
  80%{background:#020202;}
  100%{background:#010101;}
}
/*EDIT ID "imager" (inside html file)*/
#imager {
    color: #33CCCC; /*Text Color if you have any text in html file insede ID imager*/
    opacity: 20%;
}
/*Hover (When your mouse is on Image or text)*/
#imager:hover {
    color: chartreuse;
    opacity: 100%;
    transition-duration: 1s;
}

/*EDIT ID "social" (inside html file)*/
#social {
    color: #ffffff; /*Text Color if you have text in html in social id*/
    opacity: 10%;
}
/*Hover (When your mouse is on Image or text)*/
#social:hover {
    color: #bdbdbd; /* in this example text color will change and opacity*/
    opacity: 100%;
    transition-duration: 0.7s;
}
---------------------------------------------------------
Need Guide?
HTML
CSS
---------------------------------------------------------
by Rpics Studio
any question?
thi is my Instagram
Flash!

I guess this would work for MV as well?
Flash!

I guess this would work for MV as well?
Ye i guess so, if you have "Index.html" and "game.css" so it's word as well
while I dont own MZ, the loading spinners are really cool, specially
the "Atom Spinner" which also could have 3 of them?

but why is there 2x " #loadingSpinner " is there are reason for that?
while I dont own MZ, the loading spinners are really cool, specially
the "Atom Spinner" which also could have 3 of them?

but why is there 2x " #loadingSpinner " is there are reason for that?

Strangely, rpg maker doesn't read css well, maybe it's my problem, one is to put it in the center and the others to animate it. If someone tries to merge will tell me if it works? because it gives me error.
I should work as both uses width, height.
as I cannot test it, it would be hard.

I do however uses a css in a sidegame, because of a plugin.
so you need probably switch some things around to make it work.

anotherwise, you can leave it if that works better, as I think it is also
depending how the core is structured to make them like that.

error's can have a direction where to look for though.
I should work as both uses width, height.
as I cannot test it, it would be hard.

I do however uses a css in a sidegame, because of a plugin.
so you need probably switch some things around to make it work.

anotherwise, you can leave it if that works better, as I think it is also
depending how the core is structured to make them like that.

error's can have a direction where to look for though.
Yes, the length of the code only affects the memory, and what I declare is overwritten
example
a {
color: blue;
color: red;
}
my "a" will be red, while blue will be ignored, so for anything like height, width and so on
however as soon as I have time I try to make the codes more elegant, eliminating useless parts.
Hi quick question,is it possibe to a add image on it?
Hi quick question,is it possibe to a add image on it?
This may be of help to you: https://forums.rpgmakerweb.com/inde...w-to-change-the-default-loading-image.130610/
Hi quick question,is it possibe to a add image on it?
Sure you can! png, gif, jpg etc
hello, this thread was recently recommended to me, is there an easy way to see if the loading animation has been changed? because i cant see the loading
hello, this thread was recently recommended to me, is there an easy way to see if the loading animation has been changed? because i cant see the loading
I've found it xD
Just want to add that the engine does support animated PNGs, even without the .apng format

Original thread: https://forums.rpgmakerweb.com/threads/rmmz-loading.151018/