Picture Menu
Version: 1.0.1
Author: DoctorTodd
Date: 2/19/2012
Version History
- Version 1.0.1 2012/2/19 - Cleaned up by Pacman
- Version 1.0.0 2012/2/19 - Original Release
Planned Future Versions
Description
Sets the windows opacity to 0 and uses a picture instead.
Features
Screenshots
Put this in System and feel free to edit it. (Click on it for full size). There really isn't any point in a screenshot.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fwww.freeimagehosting.net%2Ft%2Fjp4lc.jpg&hash=e2455e03a7cde4d35cdd2f8ed949356ad181d79d) (http://www.freeimagehosting.net/jp4lc)
Instructions
1) Paste above main.
2) Put the picture in system and PUT THE CORRECT NAME between the quotation marks.
Script
#===============================================================================
#
# DT's Picture Menu
# Author: DoctorTodd (edited by Pacman)
# Date (01/17/2012)
# Type: (Menu)
# Version: (1.0.0)
# Level: (Simple)
# Email: BeaconGames2011@gmail.com
#
#===============================================================================
#
# Description: Sets the windows opacity to 0 and uses a picture instead.
#
# Credits: Me (DoctorTodd), Pacman
#
#===============================================================================
#
# Instructions
# Paste above main.
# Put the picture in system and PUT THE CORRECT NAME between the quotation marks.
#
#===============================================================================
#
# Editing begins at line 29 and ends at 31
#
#===============================================================================
module DT_PICMENU
#Picture name.
BACKGROUND = ('Menu_GUI')
end
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
# This class performs the menu screen processing.
#==============================================================================
class Scene_Menu < Scene_Base
#--------------------------------------------------------------------------
# * Start processing
#--------------------------------------------------------------------------
alias dt_picmenu_start start
def start(*args)
dt_picmenu_start(*args)
@GUI = Sprite.new
@GUI.bitmap = Cache.system (DT_PICMENU::BACKGROUND)
@gold_window.opacity = 0
@status_window.opacity = 0
@command_window.opacity = 0
end
#--------------------------------------------------------------------------
# * Termination Processing
#--------------------------------------------------------------------------
alias dt_picmenu_terminate terminate
def terminate(*args)
dt_picmenu_terminate(*args)
@GUI.dispose
end
end
Credit
Support
Post here for quickest support, or send me an email to BeaconGames2011@gmail.com
Known Compatibility Issues
None known of but I assume it won't work with other menus.
Demo
Pointless...
Author's Notes
I hate using the window skin for scenes, so I use pictures instead.
Restrictions
Free for commercial and non-commercial work but you must credit me.
Yuyubabe looks like an idiot :P
Interesting script, but it could be reduced a lot more, and made more efficient. What you've done is basically copied the Scene_Menu default script and made some slight edits to it. This is, while not entirely bad, a big compatibility issue for other menu scripts. You also didn't dispose the GUI bitmap at termination of the scene. It's also a good idea to store configuration inside a module so it's secure and suspect to being overwritten by usage of common names. Another thing I noticed was that you could alias all the methods you've altered here.
This isn't mocking your work or anything, I'm just giving you some critique. Here's what I would've done.
#===============================================================================
#
# DT's Picture Menu
# Author: DoctorTodd (edited by Pacman)
# Date (01/17/2012)
# Type: (Menu)
# Version: (1.0.0)
# Level: (Simple)
# Email: BeaconGames2011@gmail.com
#
#===============================================================================
#
# Description: Sets the windows opacity to 0 and uses a picture instead.
#
# Credits: Me (DoctorTodd)
#
#===============================================================================
#
# Instructions
# Paste above main.
# Put the picture in system and PUT THE CORRECT NAME between the quotation marks.
#
#===============================================================================
#
# Editing begins at line 29 and ends at 31
#
#===============================================================================
module DT_PICMENU
#Picture name.
BACKGROUND = ('Menu_GUI')
end
#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
# This class performs the menu screen processing.
#==============================================================================
class Scene_Menu < Scene_Base
#--------------------------------------------------------------------------
# * Start processing
#--------------------------------------------------------------------------
alias dt_picmenu_start start
def start(*args)
dt_picmenu_start(*args)
@GUI = Sprite.new
@GUI.bitmap = Cache.system (DT_PICMENU::BACKGROUND)
@gold_window.opacity = 0
@status_window.opacity = 0
@command_window.opacity = 0
end
#--------------------------------------------------------------------------
# * Termination Processing
#--------------------------------------------------------------------------
alias dt_picmenu_terminate terminate
def terminate(*args)
dt_picmenu_terminate(*args)
@GUI.dispose
end
end