RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

A Little Assisstance Please

Started by LiLTreLL1217, December 12, 2006, 08:34:06 PM

0 Members and 1 Guest are viewing this topic.

LiLTreLL1217

I just need to know how to make my title screen command box go horizontal instead of vertical so it'll fit my title screen.
E.g.[New Game,  Continue, Quit]

Can anybody help me out

Owner of ChaosDreamz© Productions.
Progress of:
Silent Dynasty©-Death Nightmare       
Storyline:  |||||||||| [62%]
Mapping:    |||||||||| [3%]
Scripting:  |||||||||| [1%]
Database:   |||||||||| [1%]
Audio:      |||||||||| [1%]
Overall:    ||||||||||[3%]
Demo:    ||||||||||[75%]

:)

if you want the screen its self not the options you have to flip it in like photoshop and save.
Watch out for: HaloOfTheSun

Me™

#2
# New script:
class Window_TitleCommand < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #     width    : window width
  #     commands : command text string array
  #--------------------------------------------------------------------------
  def initialize(commands)
    width = commands.size * 130
    super(640 / 2 - width / 2, 288, width, 64)
    @item_max = commands.size
    @commands = commands
    @column_max = 3
    self.contents = Bitmap.new(width - 32, height - 32)
    self.back_opacity = 160
    refresh
    self.index = 0
  end
  #--------------------------------------------------------------------------
  # * Draw Item
  #     index : item number
  #     color : text color
  #--------------------------------------------------------------------------
  def draw_item(index, color)
    self.contents.font.color = color
    rect = Rect.new(4 + 130*index, 0, self.contents.width/@commands.size - 8, 32)
    self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
    self.contents.draw_text(rect, @commands[index])
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    self.contents.clear
    for i in 0...@item_max
      draw_item(i, normal_color)
    end
  end
  #--------------------------------------------------------------------------
  # * Disable Item
  #     index : item number
  #--------------------------------------------------------------------------
  def disable_item(index)
    draw_item(index, disabled_color)
  end
end

# Scene_Title Modification: change this:
@command_window = Window_Command.new(192, [s1, s2, s3])
@command_window.back_opacity = 160
@command_window.x = 320 - @command_window.width / 2
@command_window.y = 288

# to this:
@command_window = Window_TitleCommand.new([s1, s2, s3])

I hope it works, I did not tested it.

ALL HAIL ME™

LiLTreLL1217

@ME: Yea it works except it doesnt show the text.

Owner of ChaosDreamz© Productions.
Progress of:
Silent Dynasty©-Death Nightmare       
Storyline:  |||||||||| [62%]
Mapping:    |||||||||| [3%]
Scripting:  |||||||||| [1%]
Database:   |||||||||| [1%]
Audio:      |||||||||| [1%]
Overall:    ||||||||||[3%]
Demo:    ||||||||||[75%]

Me™

I guess you have the Illigal version?
after this line:
    self.contents = Bitmap.new(width - 32, height - 32)
add:

self.contents.font.name = "Tahoma"
self.contents.font.size = 22
ALL HAIL ME™

Falcon

Quote from: Me™ on December 14, 2006, 10:38:40 AM
I guess you have the Illigal version?
after this line:

Assume everyone has the illegal version when your helping people on these forums :P

Me™

#6
In that case. Go to Main and add after the blue begin word:

Font.default_name = "Tahoma"
Font.default_size = 22


Will solve all problems
ALL HAIL ME™

LiLTreLL1217

Quote from: Me™ on December 14, 2006, 10:38:40 AM
I guess you have the Illigal version?
after this line:
    self.contents = Bitmap.new(width - 32, height - 32)
add:

self.contents.font.name = "Tahoma"
self.contents.font.size = 22

i bought the legal version but my dad said it doesnt help
school and threw it away i wasnt buying it again but again thanks

Owner of ChaosDreamz© Productions.
Progress of:
Silent Dynasty©-Death Nightmare       
Storyline:  |||||||||| [62%]
Mapping:    |||||||||| [3%]
Scripting:  |||||||||| [1%]
Database:   |||||||||| [1%]
Audio:      |||||||||| [1%]
Overall:    ||||||||||[3%]
Demo:    ||||||||||[75%]

Me™

If you really have the legal version, it should work, no matter what. Does it work now?
ALL HAIL ME™