XDE_AchievementsSys +v1.2
xDGameStudios
Introduction
This plugin enables the creation of a achievement system that helps the developers to create more in-depth game mechanic.
Features
All the help is provided in the help section of the plug in. Here is a copy of that section:
Spoiler Code:
- ========================================================================
- Help
- ========================================================================
- This plugin enables the creation of a achievement system that helps the
- developers to create more in-depth game mechanic. Imagine a game where
- the gamer as to complete a series of tasks to unlock new game modes. To
- unlock new weapons and to access new parts of the game. Imagine you can
- easily create said system and keep track of every task/achievement. The
- limit is your imagination.
- ========================================================================
- Plugin Properties
- ========================================================================
- Title Text : The name displayed in the top window of the achievements
- menu.
- Title Color : The color used to draw the title text of the menu.
- Icon Size : The size in pixels used to draw the achievement icon.
- Achv. Mask Name : The mask name used by achievements if they are no
- unlocked yet. If you don't want to use the mask system use '#' instead.
- Achv. Mask Icon : The mask icon & default icon for all the achievements
- locked or unlocked. If you do not want to use the mask use '#' instead.
- Achv. Mask Descr. : The general description used for locked achievements
- you can disable the use of the mask by using '#' symbol.
- The same rules apply for the individual Arch. data. Note whoever that if
- no icon data is supplied the Mask icon is used instead.
- Achv. X SwitchId. : This property make the tie between the achievement
- and it's data the system used gameSwitches to lock/unlock achievements.
- This way it is easy to unlock or lock them via the event system.
- ========================================================================
- Plugin Commands
- ========================================================================
- The plugin command used within this plugin enables the creator to get
- achievement complete rate data and store it inside a gameVariable.
- AchievementSys RateToVar X (X is the number of gameVariable).
- Another couple of plugin commands available are the lock all and unlock
- all commands.
- AchievementSys UnlockAll
- AchievementSys LockAll
- Lastly there are a few set of plugin commands for showing/hiding or
- enabling/disabling the MainMenu entry for the achievements menu scene.
- AchievementSys MenuShow
- AchievementSys MenuHide
- AchievementSys MenuEnable
- AchievementSys MenuDisable
- ========================================================================
- Extra Data
- ========================================================================
- XDE.AchievementSys.Params.Data represents an array[26] containing all
- the achievements data [index:0 == null]. Every entry in the array is an
- object containing the following structure.
- { switchId: [id], name: [text], iconId: [id], description: [text] }
- ========================================================================
- Updates History
- ========================================================================
- 1.0: Initial Release
- 1.1: Corrected a few bugs and added a few more plugin commands
- 1.2: Achievements title now can handle escape code text.
- ========================================================================
复制代码
Screenshots
Spoiler
How to Use
Put plugin in the plugin folder and add it to your project. The place shouldn't be a problem.
CALLING THE SCENE
for now use an event with this java script code:
SceneManager.push(Scene_Achievement);
OR
using Yanfly MainMenuManager:
a ) choose your menu entry.
b ) in the name field give a name to your liking ('Achievements') (USE quotation marks here)
c ) set symbol to 'achievements' (DON'T USE quotation marks here )
d ) set show & enable to true
e ) paste this into the Main Bind (DON'T USE quotation marks) : "function( ) { SceneManager.push(Scene_Achievement) }.bind(this);"
f ) you're ready to go!!
OR (new since v1.1)
activate auto add in the plugin properties.
Script
[Download Plugin Here v1.2]
Updates
v1.1 - Added new plugin commands to enable/disable and show/hide main menu entry
- Added "Auto Add" functionality.
- Fixed minor bugs and updated code structure.
- Achievements description can be multiline (just use '\n' character)
v1.1 (NEW) - Corrected a crashing bug! Sorry
v1.2 Added escape characters capabilities to title window.
Terms of Usage
Free to use both on free and commercial games, give credit to author "xDGameStudios" and notify me of your game free or commercial (a demo would be appreciated
).
Credit and Thanks
xDGameStudios
本贴来自国际rpgmaker官方论坛作者:xDGameStudios处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/xde-xdgamestudios-engine-achievementsys-v1-2-update-new.55692/