设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 92|回复: 0

[制作教程] RMMZ Loading

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    慵懒
    昨天 15:43
  • 签到天数: 207 天

    连续签到: 1 天

    [LV.7]常住居民III

    3122

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    20214
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    24228

    灌水之王

    发表于 昨天 22:06 | 显示全部楼层 |阅读模式
    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!



    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



    -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++)




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




    -Just comment or delete it




    -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"




    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"




    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




    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"



    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"




    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"



    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"



    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?




    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-->"></a>         <br> <!--to go to head-->         <br> <!--to go to head-->         <!--IMG 3-->         <a id="social" href="https://rpics.itch.io/"></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/"></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


    本贴来自国际rpgmaker官方论坛作者:Rpics处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/rmmz-loading.151018/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-8 00:56 , Processed in 0.096679 second(s), 57 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表