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

[转载发布] Carbon Crow - Idle Title Screen

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-31 15:58:37 | 显示全部楼层 |阅读模式

    Carbon Crow Studio - Idle Title Screen​

    Version 0.1​


    Introduction:

    This script allows a custom map to be played if the title screen has been idle for (x) amount of frames. It can be used to play special cutscenes each time.

    Features:

    Easy to use module for quick and easy setup.

    Engine automatically detects if your game is on the idle map and allows any input feedback to return you to the tile screen. (Even Auto Process Events)

    Screenshots:

    Not available at this time.

    How to use:

    Simply paste above main but below materials.

    Adjust the amount of frames before you go to the idle map

    Adjust the map's id, x, and y starting point.

    Design your cut scene on your desired map

    Demo:

    Not available at this time.

    Script:

    Located inside the spoiler below:

    Spoiler#==============================================================================# ** Title  : Idle Title Screen# ** Author : Carbon Crow# ** Version: 0.1# ** Purpose: This script allows a custom map to be played if the title screen#             has been idle for (x) amount of frames. It can be used to play#             special cut scenes each time.# ** History: 0.1 - Init. Public Release# ** T.O.S  : Do not distribute anywhere else, doing so will put future updates#             on hold and void this script.#==============================================================================module CC_Index01    # Constant Setting for Timer Delay in Frames - Note: Lower values are faster  Timer_Delay = 1000  # Array Setting for Map to Play - Format: [MAP_ID, MAP_X, MAP_Y]  Idle_Map = [1, 8, 6]  end#==============================================================================# ** Game_Temp#------------------------------------------------------------------------------#  This class handles temporary data that is not included with save data.# The instance of this class is referenced by $game_temp.#==============================================================================class Game_Temp  #--------------------------------------------------------------------------  # * Public Instance Variables  #--------------------------------------------------------------------------  attr_accessor :idle_map  #--------------------------------------------------------------------------  # * Aliases  #--------------------------------------------------------------------------  alias carbon_crow_game_temp_initialize_cc1                       initialize  #--------------------------------------------------------------------------  # * Object Initialization  #--------------------------------------------------------------------------  def initialize(*args, &block)    carbon_crow_game_temp_initialize_cc1(*args, &block)    @idle_map = false  end  #--------------------------------------------------------------------------  # * Determine if Idle Map  #--------------------------------------------------------------------------  def idle_map?    return @idle_map  end  #--------------------------------------------------------------------------  # * Set Idle  #--------------------------------------------------------------------------  def set_idle(bool = false)    @idle_map = bool  endend#==============================================================================# ** Scene_Title#------------------------------------------------------------------------------#  This class performs the title screen processing.#==============================================================================class Scene_Title < Scene_Base  #--------------------------------------------------------------------------  # * Included Modules  #--------------------------------------------------------------------------  include CC_Index01  #--------------------------------------------------------------------------  # * Aliases  #--------------------------------------------------------------------------  alias carbon_crow_scene_title_start_cc1                              start  alias carbon_crow_scene_title_update_cc1                             update  #--------------------------------------------------------------------------  # * Start Processing  #--------------------------------------------------------------------------  def start(*args, &block)    carbon_crow_scene_title_start_cc1(*args, &block)    @idle_timer = Timer_Delay  end  #--------------------------------------------------------------------------  # * Frame Update  #--------------------------------------------------------------------------  def update(*args, &block)    carbon_crow_scene_title_update_cc1(*args, &block)    update_idle_information  end  #--------------------------------------------------------------------------  # * Update Idle Information  #--------------------------------------------------------------------------  def update_idle_information    input_detected?    if @idle_timer <= 0      process_idle_map    else      @idle_timer -= 1    end  end  #---------------------------------------------------------------------------  # * Determine if Input is Detected  #---------------------------------------------------------------------------  def input_detected?    [:UP,
    OWN, :LEFT, :RIGHT, :C, :B].each {|input|      if Input.trigger?(input) or Input.repeat?(input)        @idle_timer = Timer_Delay      end    }  end  #---------------------------------------------------------------------------  # * Process Idle Map  #---------------------------------------------------------------------------  def process_idle_map    DataManager.create_game_objects    $game_party.setup_starting_members    $game_map.setup(Idle_Map.at(0))    $game_player.moveto(Idle_Map.at(1), Idle_Map.at(2))    $game_player.refresh    Graphics.frame_count = 0    close_command_window    RPG::BGM.fade(1000)    $game_map.autoplay    $game_temp.set_idle(true)    SceneManager.goto(Scene_Map)  endend#==============================================================================# ** Scene_Map#------------------------------------------------------------------------------#  This class performs the map screen processing.#==============================================================================class Scene_Map < Scene_Base  #--------------------------------------------------------------------------  # * Start Processing  #--------------------------------------------------------------------------  alias carbon_crow_scene_map_update_cc1                               update  #--------------------------------------------------------------------------  # * Frame Update  #--------------------------------------------------------------------------  def update(*args, &block)    carbon_crow_scene_map_update_cc1(*args, &block)    update_idle_detection  end  #--------------------------------------------------------------------------  # * Update Idle Detection  #--------------------------------------------------------------------------  def update_idle_detection    return if !$game_temp.idle_map?    [:UP,
    OWN, :LEFT, :RIGHT, :C, :B].each {|input|      if Input.trigger?(input) or Input.repeat?(input)        SceneManager.goto(Scene_Title)      end    }  endend#==============================================================================# ** End of File#    For more work, please visit us on the web at: www.carboncrowstudio.co.nr#    or follow us on Twitter using @carboncrow, or YouTube /carboncrowstudio#==============================================================================



    Credits:

    - Nathan Frost, Scriptwriter/Developer for Carbon Crow Studio

    Terms of Service:

    Do not distribute anywhere else, doing so will put future updates on hold and void this script. Commercial use is prohibited without permission.

    Frequently asked questions:

    Not available at this time.

    Extra Notes:

    Visit us on the web using www.carboncrowstudio.co.nr

    Follow us on Twitter using www.twitter.com/carboncrow

    Subscribe on YouTube using www.youtube.com/carboncrowstudio


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 19:09 , Processed in 0.092191 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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