We don't discriminate!! :3
私達は区別しない
Welcome Guest [Log In] [Register]
Add Reply
2 questions
Topic Started: Jan 15 2005, 05:08 AM (379 Views)
Erichermit
Member Avatar
Loathsome Lusca!
1) Enter Hero name, you cant see the characters in the enter hero name box. Why is this?

2) I know this has been asked before, but how do I make the game play fullscreen?
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
montablac
muhahahaha
1)
ill copy the code to fix this in here
just paste it in and it will fix the problim

Code:
 
#==============================================================================
# ■ Window_NameInput
#------------------------------------------------------------------------------
#  名前入力画面で、文字を選択するウィンドウです。
#==============================================================================

class Window_NameInput < Window_Base
CHARACTER_TABLE =
[
"A","B","C","D","E",
"F","G","H","I","J",
"K","L","M","N","O",
"P","Q","R","S","T",
"U","V","W","X","Y",
"Z","","","","",
"","","","","",
"","","","","",
"","","","","",
"a","b","c","d","e",
"f","g","h","i","j",
"k","l","m","n","o",
"p","q","r","s","t",
"u","v","w","x","y",
"z","","","","",
"","","","","",
"","","","","",
"", "" ,"", "" ,"",
"1","2","3","4","5",
"6", "7" ,"8", "9" ,"0",
"+","-","x","÷","=",
"!","@","#","¤","§",
"&", "(" ,")", "<" ,">",
"*","?","/","¡","π",
"¢", "£" ,"¥", "$" ,"%",
"©","®","™","","",
"","","","","",
"Ω","∂","∆","∏","∑",
"◊","≈","∞","♫","♪",
"▲","►","▼","◄","٭",
"♦","♥","♣","♠","☺",
"","","","","",
"","","","","",
"","","","","",
"","","","","",
"","", "" , "" , "" ,
 ]
 #--------------------------------------------------------------------------
 # ● オブジェクト初期化
 #--------------------------------------------------------------------------
def initialize
super(0, 128, 640, 352)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = $fontface
self.contents.font.size = $fontsize
@index = 0
refresh
update_cursor_rect
end
 #--------------------------------------------------------------------------
 # ● 文字の取得
 #--------------------------------------------------------------------------
 def character
   return CHARACTER_TABLE[@index]
 end
 #--------------------------------------------------------------------------
 # ● リフレッシュ
 #--------------------------------------------------------------------------
 def refresh
   self.contents.clear
   for i in 0..179
     x = 4 + i / 5 / 9 * 152 + i % 5 * 28
     y = i / 5 % 9 * 32
     self.contents.draw_text(x, y, 28, 32, CHARACTER_TABLE[i], 1)
   end
   self.contents.draw_text(544, 9 * 32, 64, 32, "Confirm", 1)
 end
 #--------------------------------------------------------------------------
 # ● カーソルの矩形更新
 #--------------------------------------------------------------------------
 def update_cursor_rect
   # カーソル位置が [決定] の場合
   if @index >= 180
     self.cursor_rect.set(544, 9 * 32, 64, 32)
   # カーソル位置が [決定] 以外の場合
   else
     x = 4 + @index / 5 / 9 * 152 + @index % 5 * 28
     y = @index / 5 % 9 * 32
     self.cursor_rect.set(x, y, 28, 32)
   end
 end
 #--------------------------------------------------------------------------
 # ● フレーム更新
 #--------------------------------------------------------------------------
 def update
   super
   # カーソル位置が [決定] の場合
   if @index >= 180
     # カーソル下
     if Input.trigger?(Input::DOWN)
       $game_system.se_play($data_system.cursor_se)
       @index -= 180
     end
     # カーソル上
     if Input.repeat?(Input::UP)
       $game_system.se_play($data_system.cursor_se)
       @index -= 180 - 40
     end
   # カーソル位置が [決定] 以外の場合
   else
     # 方向ボタンの右が押された場合
     if Input.repeat?(Input::RIGHT)
       # 押下状態がリピートでない場合か、
       # カーソル位置が右端ではない場合
       if Input.trigger?(Input::RIGHT) or
          @index / 45 < 3 or @index % 5 < 4
         # カーソルを右に移動
         $game_system.se_play($data_system.cursor_se)
         if @index % 5 < 4
           @index += 1
         else
           @index += 45 - 4
         end
         if @index >= 180
           @index -= 180
         end
       end
     end
     # 方向ボタンの左が押された場合
     if Input.repeat?(Input::LEFT)
       # 押下状態がリピートでない場合か、
       # カーソル位置が左端ではない場合
       if Input.trigger?(Input::LEFT) or
          @index / 45 > 0 or @index % 5 > 0
         # カーソルを左に移動
         $game_system.se_play($data_system.cursor_se)
         if @index % 5 > 0
           @index -= 1
         else
           @index -= 45 - 4
         end
         if @index < 0
           @index += 180
         end
       end
     end
     # 方向ボタンの下が押された場合
     if Input.repeat?(Input::DOWN)
       # カーソルを下に移動
       $game_system.se_play($data_system.cursor_se)
       if @index % 45 < 40
         @index += 5
       else
         @index += 180 - 40
       end
     end
     # 方向ボタンの上が押された場合
     if Input.repeat?(Input::UP)
       # 押下状態がリピートでない場合か、
       # カーソル位置が上端ではない場合
       if Input.trigger?(Input::UP) or @index % 45 >= 5
         # カーソルを上に移動
         $game_system.se_play($data_system.cursor_se)
         if @index % 45 >= 5
           @index -= 5
         else
           @index += 180
         end
       end
     end
     # L ボタンか R ボタンが押された場合
     if Input.repeat?(Input::L) or Input.repeat?(Input::R)
       # ひらがな / カタカナ 移動
       $game_system.se_play($data_system.cursor_se)
       if @index / 45 < 2
         @index += 90
       else
         @index -= 90
       end
     end
   end
   update_cursor_rect
 end
end


Edit by Otyo: Please use the [ CODE][ /CODE] tag when posting codes or scripts like these.
montablac:
linux user
c++ programer
xbox 360 owener
Metroid Prime:hunters player
and still,the cheese stealer
Offline Profile Quote Post Goto Top
 
Erichermit
Member Avatar
Loathsome Lusca!
How do I show the Heros name now?

\[n1] doesnt seem to be working.
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
montablac
muhahahaha
try

\N[0001]

replacing the 0001 with the number of the hero in the database

at least that works for me...
montablac:
linux user
c++ programer
xbox 360 owener
Metroid Prime:hunters player
and still,the cheese stealer
Offline Profile Quote Post Goto Top
 
Erichermit
Member Avatar
Loathsome Lusca!
Does anayone know about playing it fullscreen?
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
montablac
muhahahaha
umm,try editing the ruby code
not shure what one,oh how to do it but its a start
montablac:
linux user
c++ programer
xbox 360 owener
Metroid Prime:hunters player
and still,the cheese stealer
Offline Profile Quote Post Goto Top
 
Erichermit
Member Avatar
Loathsome Lusca!
What is the ruby code?


Also, how do you set X and Y variables into Variables in RPGXP?
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
montablac
muhahahaha
ok,ruby is an object orentated programing language,used by RMXP and other programs as well



as for X,Y coradinates
go to variable options,set,sprite (X or Y) pos
im using that for a mini rock pushing game!
montablac:
linux user
c++ programer
xbox 360 owener
Metroid Prime:hunters player
and still,the cheese stealer
Offline Profile Quote Post Goto Top
 
Erichermit
Member Avatar
Loathsome Lusca!
Yeah I figured that out like 5 minutes after I asked that :P. FUnny how u can never find out something until AFTER you ask it.

Oh Cool, i'm doing a rock pushing game too! :P
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
montablac
muhahahaha
yea,there fun to do :D

any way,if you want to learn more about ruby
PM me and ill give you an adress to go to learn more
montablac:
linux user
c++ programer
xbox 360 owener
Metroid Prime:hunters player
and still,the cheese stealer
Offline Profile Quote Post Goto Top
 
Erichermit
Member Avatar
Loathsome Lusca!
K, thanks!
Posted Image
Posted Image
^Click to be reffered to the Enex2 Topic^

"i like to tell people i have the heart of a young boy, then i tell them its in a jar on my desk" - Steven King
Offline Profile Quote Post Goto Top
 
Aetherian One
Unregistered

Ypu can play in fullscreen by holding down Ctrl and pressing F5.

[size=7] "Ctrl + F5[/size]"
Quote Post Goto Top
 
Guest
Unregistered

One more thing,

\n[1] - Show Hero Name
\v[1] - Show Variable Name
\c[1] - Color Change (0 - white, 1 - blue, 2 - red, 3 - green, 4 - cyan, 6 - purple, 7 - grey)
\g - shows gold
\\ - shows"\" character
Quote Post Goto Top
 
Great Dane
MY BRAIN HURTS!!!
Hey that worked Montablac, thanks!
Kyonyu Suki???


All current projects are frozen in time until I find a reliable computer.

Star Ocean: Prayers of the Silent (Retitle and remake of previous game: Serenia, which was lost to the eternal digital abyss...)
Story: 50%
Everything Else: 0%

The Kayamo Series
Story: 100%
(Development will follow the completion of my practice game,
Prayers of the Silent.)
Offline Profile Quote Post Goto Top
 
Darkness Seraph
Member Avatar
The Crimson Reaver....
Wow i dident even know you could play in full screen without rewriteing the ruby! That makes xp much more appealing to me......Still wish xp had a worldmap chipset tho.....
Posted Image
Offline Profile Quote Post Goto Top
 
Guest
Unregistered

Actually Full Screen is Alt and Enter. Perhaps you're thinking of something else?
Quote Post Goto Top
 
Deleted User
Deleted User

yesyes, i use alt + enter all the time on my projects.
Quote Post Goto Top
 
korgone
Member Avatar
That Korgone Kid
how do you replace the name though like i want to make my character to say "Hi (???)" replace (???) with whatever the ppl changed the name to?
Posted Image
Posted Image
Posted Image
Offline Profile Quote Post Goto Top
 
Alastyr

In the message, use the code: \n[#]

replace # with the id of your character.

So, if you have a message that says:

Hi /n[1], blah blah blah.

It will appear as:

Hi (name here), blah blah blah.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Help · Next Topic »
Add Reply

Theme by tiptopolive of Self Concept