RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Soul Engine Ace – Cutscene Screen

0 Members and 1 Guest are viewing this topic.

*
Scripter
Rep:
Level 40
Crownless King
Soul Engine Ace – Cutscene Screen
Version: 1.0
Author: Soulpour777

Description


Do you want a specific screen size when you have a cutscene? This script does it. Your screen is changed to a new resolution in order to supply cutscenes and gives cover to what should only be seen on screen.

Features

  • Adjust Screen Resolution During Cutscene

Screenshots



Instructions

Configuration:

Screen_Switch = 10 # Switch ID to activate Cutscene Screen
# Touch / Change Values of these two if you want to change the height
# of the cutscene screen.
Spriteset_Height = 316 # Spriteset Height
Viewport_Height = 416 # Viewport Height
# Dimension Values
Spriteset_Rect_Y = 50 # Spriteset_Dimension
Spriteset_Rect_Y2 = 0 # Spriteset Dimension
#Message Window Values
Message_Window_Y = 50 # Message_Window
Message_Window_Height = 366 # Message_Window Height

Script


Code: [Select]
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===
# Soul Engine Ace - Cutscene Screen
# Author: Soulpour777
# Version 1.0
# Script Category: Game Add-On
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===
# Description: Do you want a specific screen size when you have a cutscene?
# This script does it. Your screen is changed to a new resolution in order
# to supply cutscenes and gives cover to what should only be seen on screen.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===
# All SEA scripts are bound under my terms of use.
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===

# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===
# Soulpour Module
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-===
module Soulpour
  module Cutscene_Screen
    Screen_Switch = 10 # Switch ID to activate Cutscene Screen
    # Touch / Change Values of these two if you want to change the height
    # of the cutscene screen.
    Spriteset_Height = 316 # Spriteset Height
    Viewport_Height = 416 # Viewport Height
    # Dimension Values
    Spriteset_Rect_Y = 50 # Spriteset_Dimension
    Spriteset_Rect_Y2 = 0 # Spriteset Dimension
    #Message Window Values
    Message_Window_Y = 50 # Message_Window
    Message_Window_Height = 366 # Message_Window Height
  end
end

#==============================================================================
# ** Scene_Map
#------------------------------------------------------------------------------
#  This class performs the map screen processing.
#==============================================================================
class Scene_Map < Scene_Base
 
  # --------------------------------------------------------
  # Alias Listings
  # --------------------------------------------------------
  alias soul_rend_scene_map_update_map update
 
  # --------------------------------------------------------
  # Public Instance Variables
  # --------------------------------------------------------
  attr_reader :spriteset
 
  # --------------------------------------------------------
  # Update (Aliased)
  # --------------------------------------------------------
  def update
    render_visible = [@winsta, @debugWindow]
    if $game_switches[Soulpour::Cutscene_Screen::Screen_Switch]
      for view in @spriteset.viewports
        view.rect.y = Soulpour::Cutscene_Screen::Spriteset_Rect_Y
        view.rect.height = Soulpour::Cutscene_Screen::Spriteset_Height
      end
    else
      for view in @spriteset.viewports
        view.rect.y = Soulpour::Cutscene_Screen::Spriteset_Rect_Y2
        view.rect.height = Soulpour::Cutscene_Screen::Viewport_Height
      end
    end
   
    for window in render_visible
      window.visible = ($game_switches[WideSwitch] == false) unless window == nil
    end
   
    if $game_switches[Soulpour::Cutscene_Screen::Screen_Switch]
      case $game_message.position
        when 0 #Top
          @message_window.y = Soulpour::Cutscene_Screen::Message_Window_Y   
        when 2 #Bottom
          @message_window.y = Soulpour::Cutscene_Screen::Message_Window_Height - @message_window.height
        end
      end
      soul_rend_scene_map_update_map
  end
 
end

#==============================================================================
# ** Spriteset_Map
#------------------------------------------------------------------------------
#  This class brings together map screen sprites, tilemaps, etc. It's used
# within the Scene_Map class.
#==============================================================================
class Spriteset_Map
  # --------------------------------------------------------
  # Alias Listings
  # --------------------------------------------------------
  alias soul_rend_spriteset_map_create_viewport create_viewports
 
  # --------------------------------------------------------
  # Public Instance Variables
  # --------------------------------------------------------
  attr_accessor :viewport1
  attr_accessor :viewport2
  attr_accessor :viewport3
  attr_accessor :viewports
 
  # --------------------------------------------------------
  # Create Viewports (Aliased)
  # --------------------------------------------------------
  def create_viewports
    soul_rend_spriteset_map_create_viewport
    @viewports = [@viewport1, @viewport2, @viewport3]
  end

end

Credit


  • Soulpour777

Support


If you have any questions, comments, critiques, corrections or any other concern about the script, please do contact me here on RMRK, comment below or mail me in my website.

Known Compatibility Issues

- N / A

Author's Notes


Because we love cutscenes, don't we?

Terms of Use


All my scripts are bound under my terms of use. If any terms on RMRK does not contradict my terms, please add those.


If you like my work, please do support me on Patreon.
https://www.patreon.com/Soulpour777?ty=h

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
That's a neat idea SoulPour. I hadn't really thought about it, but it is true that a  lot of games do this for cutscenes, and it's a nice idea to allow it in Ace too. Thanks for sharing!