赞 | 1 |
VIP | 171 |
好人卡 | 21 |
积分 | 4 |
经验 | 59678 |
最后登录 | 2024-7-30 |
在线时间 | 1292 小时 |
- 梦石
- 0
- 星屑
- 362
- 在线时间
- 1292 小时
- 注册时间
- 2013-1-12
- 帖子
- 3590
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 76213585 于 2013-9-29 11:15 编辑
Screen shot:
None Needed
Credits:
Panda King(76213585)
Usage:
Set up the details you want to change, there are lots of them!
This script does....................:
1.Set up Game over fade in/out time
2.Set up font setting
3.Set up resolution
4.Set up save file max
5.Set up menu Background and opacity.
6.More function for you to discover! (what?)
P.S. only few now, will keep update as go on.
=====Version Note=====
1.38 | Have more Compatibility against font setting error.
| 1.36 | Improve Compatibility
| 1.35 | Bug Fixed
| 1.30 | Add draw icon for gold, draw sprite for menu
| 1.20 | Add draw TP, Frame rate adjust.
| 1.10 | Add Skip choice and Line max of massage
| 1.00 | Relese, has 6 functions. |
Over Write
#class Scene_Gameover#
def fadeout_speed
def fadein_speed
#module DataManager#
def self.savefile_max
#class Scene_MenuBase#
def create_background[/color
#class Window_Message#
def visible_line_number
#class Scene_Title#
def start
def terminate
#class Window_MenuStatus#
def draw_item
#class Window_Base
def reset_font_settings
def draw_currency_value
def draw_actor_simple_status]- #=====================
- # Panda's Detail Setting Script
- #=====================
- # Credits: Panda King(76213585)
- #=====================
- # This script can help you set up just about
- # everything the the basic setting. Like the
- # gameover fadeout out speed our things like that.
- #=====================
- # Usage:
- # Set up the details you want to change, there are lots of them!
- #=====================
- # Over Write
- # #class Scene_Gameover#
- # def fadeout_speed
- # def fadein_speed
- # #module DataManager#
- # def self.savefile_max
- # #class Scene_MenuBase#
- # def create_background
- # #class Window_Message#
- # def visible_line_number
- # #class Scene_Title#
- # def start
- # def terminate
- # #class Window_MenuStatus#
- # def draw_item
- # #class Window_Base
- # def reset_font_settings
- # def draw_currency_value
- # def draw_actor_simple_status
- #=====================
- # =====Version Note=====
- # 1.38 | Have more Compatibility against font setting error.
- # 1.36 | Improve Compatibility
- # 1.35 | Bug Fixed
- # 1.30 | Add draw icon for gold, draw sprite for menu
- # 1.20 | Add draw TP, Frame rate adjust.
- # 1.10 | Add Skip choice and Line max of massage
- # 1.00 | Relese, has 6 functions.
- #=======================
- module Panda_D
- #Game over fadein/out speed, [fadeout frame, fade in frame]
- Game_Over_Speed = [120, 60]
- #Font setting.[Name, Size, Bold?, Italic?, Shadow?, Outline?]
- Font = ["Gothic", 20, true, false, true, true]
- #Resolution setting. [Width, Height]
- Resolution = [544, 416]
- #Save file max.
- Save_Max = 4
- #Menu Background file name.(under system) leave it blank if not using
- Back_Ground_Name = ""
- #Menu Background opacity.
- Back_Ground_Opc = 255
- #Line max of massage
- Line = 4
- #Skip title when testing? ###Originaly function by:JV
- Skip_Title = true
- #Draw currency icon?(in shop, meun and all places that draw money)
- # [Draw?, Icon Index]
- Currency_Icon = [false, 360]
- #Draw characher sprite on menu page?
- Menu_Characher = false
- #Draw TP in menu?
- TP_Show = false
- #Speed up Game speed.(Set to 1 is not needed)
- # 1 = normal 1.5 = normal * 1.5 2 = normal * 2 etc.
- Rate = 1
- end
- #=========================================
- # Do not edit pass this line.
- #=========================================
- class Scene_Gameover < Scene_Base
- include Panda_D
- def fadeout_speed
- return Game_Over_Speed[0]
- end
- def fadein_speed
- return Game_Over_Speed[1]
- end
- end
- Font.default_name = Panda_D::Font[0]
- Font.default_size = Panda_D::Font[1]
- Font.default_bold = Panda_D::Font[2]
- Font.default_italic = Panda_D::Font[3]
- Font.default_shadow = Panda_D::Font[4]
- Font.default_outline = Panda_D::Font[5]
- Graphics.resize_screen(Panda_D::Resolution[0], Panda_D::Resolution[1])
- Graphics.frame_rate *= Panda_D::Rate if Panda_D::Rate != 0
- module DataManager
- include Panda_D
- def self.savefile_max
- return Save_Max
- end
- end
- class Scene_MenuBase < Scene_Base
- include Panda_D
- def create_background
- @background_sprite = Sprite.new
- @background_sprite.bitmap = SceneManager.background_bitmap
- @background_sprite.color.set(16, 16, 16, 128)
- if !Back_Ground_Name.nil?
- @panda_background_sprite = Sprite.new
- @panda_background_sprite.bitmap = Cache.system(Back_Ground_Name)
- @panda_background_sprite.opacity = Back_Ground_Opc
- end
- end
- end
- class Window_Message < Window_Base
- include Panda_D
- def visible_line_number
- return Line
- end
- end
- class Scene_Title < Scene_Base
- include Panda_D
- if Skip_Title
- if $TEST
- def start
- SceneManager.clear
- Graphics.freeze
- DataManager.setup_new_game
- $game_map.autoplay
- SceneManager.goto(Scene_Map)
- end
- def terminate
- SceneManager.snapshot_for_background
- Graphics.fadeout(Graphics.frame_rate)
- end
- end
- end
- end
- class Window_Base < Window
- include Panda_D
- def reset_font_settings
- change_color(normal_color)
- contents.font.size = Font[1] if !Font[1].nil?
- contents.font.bold = Font[2] if !Font[2].nil?
- contents.font.italic = Font[3] if !Font[3].nil?
- end
- if Currency_Icon[0] == true
- def draw_currency_value(value, unit, x, y, width)
- cx = text_size(unit).width
- change_color(normal_color)
- draw_text(x, y, width - cx - 2, line_height, value, 2)
- change_color(system_color)
- draw_text(x, y, width, line_height, unit, 2)
- draw_icon(Currency_Icon[1], x, y)
- end
- end
- if TP_Show
- def draw_actor_simple_status(actor, x, y)
- draw_actor_name(actor, x, y)
- draw_actor_level(actor, x, y + line_height * 1)
- draw_actor_icons(actor, x, y + line_height * 2)
- draw_actor_hp(actor, x + 120, y + line_height * 0.5)
- draw_actor_mp(actor, x + 120, y + line_height * 1.5)
- draw_actor_tp(actor, x + 120, y + line_height * 2.5)
- end
- end
- end
- class Window_MenuStatus < Window_Selectable
- include Panda_D
- if Menu_Characher
- def draw_item(index)
- actor = $game_party.members[index]
- enabled = $game_party.battle_members.include?(actor)
- rect = item_rect(index)
- draw_item_background(index)
- draw_actor_face(actor, rect.x + 1, rect.y + 1, enabled)
- draw_actor_simple_status(actor, rect.x + 108, rect.y + line_height / 2)
- draw_actor_graphic(actor, rect.x + 190, rect.y + 90)
- end
- end
- end
复制代码 |
|