Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[VX] Change Windowskin - [Missing Features from RM2K and RMXP]

Change Windowskin
Version 1.0
by Woratana
Release Date: 10/03/2008


Introduction
This is a small snippet to change your windowskin by call script~  :wink:


Features
Version 1.0
- Easy to change you windowskin by just call script.


Script
Place it above main
Code:
#===============================================================
# â—
 
How would I go about making it so that the windowskin alternates through a select few of windowskins?

I ask because I've got the change windowskin added to my game's menu, under "system," which was changed from "game end".


EDIT:: Just so you understand what I mean:

Code:
def update
    super
    update_menu_background
    @command_window.update
    if Input.trigger?(Input::B)
      Sound.play_cancel
      return_scene
    elsif Input.trigger?(Input::C)
      case @command_window.index
      when 0  # change windowskin
        $game_system.skin = 'darkback'
        $game_system.skin = ''
      when 1  # to title
        command_to_title
      when 2  # shutdown
        command_shutdown
      when 3  # quit
        command_cancel
      end
    end
  end
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top