じ☆ve冰风 发表于 2026-7-26 18:50:55

SAR_MVAchievements version 1.2.1



SAR_MVAchievements version 1.2.1

Sarlecc




         
Introduction
        This plugin allows you to have achievements inside an RPG maker MV game. It is highly flexible allowing you to program your own achievement scene or to use one of the achievement scene style plugins I have provided.
         
Features
        - Global achievements
        - Non-global achievements
        - Achievement auto checking
        - Achievement sealing (disallows extra achievements from being added over what you want)
        - Tie achievements to switches or variables
         
Screenshots

Spoiler



 







         
How to Use


        *Note* old saves will not work with this script you will have to make a new game.



        Script calls:
        SAR.achievements.achievementSwitch(global, name, description, gameSwitchID, reward, icon, bool)
        global = number 1 or 0
        name = string
        description = string
        gameSwitchID = number
        reward = Common Event ID
        icon = number
        bool = optional true or false (false is default)


        SAR.achievements.achievementVariable(global, name, description, gameVariableID, limit, reward, icon, bool)
        global = number 1 or 0
        name = string
        description = string
        gameVariableID = number
        limit = number (this is what the gameVariable must equal to recieve the achievement)
        reward = Common Event ID
        icon = number
        bool = optional true or false (false is default)


        Plugin commands:
        SarleccAchievementsSwitch global name description gameVariableID limit reward


        SarleccAchievementsVariable global name description gameVariableID limit reward


        *Note that the description value uses periods "." to bind words to its self. i.e: this.is.a.description
         
Demo
        Included in the commercial licensed version
         
Script
        Non-Commercial links.
        Github link: SAR_MVAchievements.js
        Github link: Achievement_scene_style1.js



        For commercial use license:
Shop $5.99


        Comes with the following bonus':
        Demo, pdf manual, SAR_POPUP, an additional achievement scene style, a plugin that displays particle explosions, and js-expression-eval (for convenience as SAR_POPUP uses it). It also includes some basic graphics (shown above in the screen shots) and a sound effect.


         
FAQ
        None yet.


UPDATES

SpoilerSAR_MVAchievements 1.1.0:
                         *       changed the reward variable to be a common event id


                        SAR_MVAchevements 1.2.0:


                        * Fixed global achieves not being so global. Fixed anyGlobalAchieves switch now the id you use 
                        * will work for it.


                        SAR_MVAchievements 1.2.1:


                        * Fixed the normal achievements from acting like global achievements (hopefully).


                        SAR_AchievementPOPUP 1.5.0:
                         *       can now set the location
                         *       can now have the popup at the top or bottom of screen
                         *       popup will fadein/out when at top or bottom of screen
                         *       can set size of popup
                         *       can set the background of popup
                         *       to have a new line in popup use a \n after the name of the achievement


                        SAR_AchievementPOPUP 1.5.1


                        *        1.5.1 fixed this.positionType to this._positionType where I forgot an underscore on line 259
                        *       removed some console.log lines


                        SAR_AchievementPOPUP 1.5.2:
                        *       fixed glitch with the popup displaying more than once when clicking with the mouse


                        SAR_Explosion 1.1.0:
                        *       1.1.0 Rewritten to work with RPGMaker MV version 1.3.1
                        *       will no longer work with old versions of MV.


                        OTHER:
                        GameOver image is now a .png
                        please remove the old .pdn file.


                        updated the manual





         
Credit and Thanks
        Non-commercial credit: Sarlecc


        Commercial licensed credit: Sarlecc, Matthew Crumley, Chad Engler


TERMS
link
         
Author's Notes
        Next on my list to do now that I know how JS works is Time_Machine and Skill_Usage.


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