じ☆ve冰风 发表于 4 天前

RPG Maker MV Picture Gallery Tutorial

This tutorial walks you through using the Yanfly Picture Common Events plugin to make a picture gallery. Players can find special items throughout the world that give them access to pictures in a gallery.

Requirements: Basic knowledge of RPG Maker MV, Yanfly Core Engine (script, optional), Yanfly Picture Common Events (script), HIME Movement Direction Lock (script), and an image editing program such as Gimp or Photoshop.

You can find the picture examples here: Google Drive.

Spoiler: End Result




NOTE 1: The picture coordinates will be off if your Screen Width or Height is set to something other than 1104x624. Please keep that in mind!
NOTE 2: Please create your own pictures for the scratch card and other required pictures, but you can use the ones I've provided as a reference.

Spoiler: Tutorial0) Make sure you have placed the plugins in the plugin manager.
1) Make sure you have pictures for: the main picture gallery menu, the three galleries, the backgrounds for the three galleries, the back button, left arrow, right arrow, and both small and large versions of the pictures for each gallery.
NOTE: I recommend that you put the picture number in the name for each picture (for example, 1 – Background or 9 – Gallery A Pic 1).
2) Create an item for each picture that will be in each gallery:



3) Add 11 new common events:



4) For common event 1, Picture Gallery:



5) For common event 2, Back:












6) For common events 3-5, Gallery A through Gallery C:



NOTE: For Gallery A through Gallery C, make sure that the switch that sets which gallery is open is set to the right value, as well as the background image, the items required, and the picture that shows for each item (for example, picture 2 is set to 2 – Background – Gallery C for gallery C).
7) For common event 6, Left Arrow:









8) For common event 7, Right Arrow:






9) For common events 8-10, Pic 1 through Pic 3:









NOTE: For Pic 1 through Pic 3, make sure that the items that it looks for and picture 12 is set to the corresponding picture.
10) For common event 11, Close Big Pic:









11) Make sure you have a picture gallery event on the map that calls the Picture Gallery common event.
12) For each picture, make sure that the YEP_PictureCommonEvents has the common events associated with the pictures on click (for example, Picture 3 Click calls common event 2).
NOTE: Pictures 1 and 2 in the tutorial are blank; no common events should be assigned to them.
13) Test it! If you encounter any problems, double-check the pictures and your spelling. You never know where you might have made a mistake. If you are still having issues, please let me know!


本贴来自国际rpgmaker官方论坛作者:Dolorre处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/rpg-maker-mv-picture-gallery-tutorial.142380/
页: [1]
查看完整版本: RPG Maker MV Picture Gallery Tutorial