Main Menu
  • Welcome to The RPG Maker Resource Kit.

Can anyone make a script that.....

Started by fadark, January 30, 2007, 02:16:26 AM

0 Members and 1 Guest are viewing this topic.

fadark

#25
My main looks like this:

#==============================================================================
# ? Main
#------------------------------------------------------------------------------
# ???????????????????????????????
#==============================================================================

begin

# This variable determines the default font type
  $defaultfonttype = "Tahoma"
  # This variable determines the default font size
  $defaultfontsize = 22

  # ?????????
  Graphics.freeze
  # ????????? (??????) ???
  $scene = Scene_Title.new
  # $scene ?????? main ?????????
  while $scene != nil
    $scene.main
  end
  # ???????
  Graphics.transition(20)
rescue Errno::ENOENT
  # ?? Errno::ENOENT ???
  # ????????????????????????????????
  filename = $!.message.sub("No such file or directory - ", "")
  print("File #{filename} not found.")
end


what do you want me to replace?
(in other words: whats the format?)


(btw, i'm glad your here bliz :) )

just so everyone knows, im 15 years old.

Blizzard

#26
No problem. :) Replace these lines:

# This variable determines the default font type
  $defaultfonttype = "Tahoma"
  # This variable determines the default font size
  $defaultfontsize = 22


with these here:

Font.default_name = $defaultfonttype = $fontface = "Tahoma"
Font.default_size = $defaultfontsize = $fontsize = 22

Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

fadark

#27
Holy crap! Thanks a ton to bliz and modern algebra! Thanks guys! now that my game is done, do you two want it? It's my first game so it's only like 5 hours long. :(

Do you guys want to try it out?

just so everyone knows, im 15 years old.

Blizzard

Wow, 5 hours, that's actually not little.
You should post a topic in the Projects/Games section.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

modern algebra

Yeah, post it. I'd love to try it out. 5 hours is probably the perfect length for a game. I'm running into the problem that my game is far, far too long and nobody will ever want to play it. Yeah, and thanks Blizz for the troubleshooting - it was my first script.

fadark


just so everyone knows, im 15 years old.

fadark


just so everyone knows, im 15 years old.

kathis

Chapters.... well you could use a varible and then in the cms you could add a window section where it will have the current title of the chaper

self.contents.draw_text(2,0,120,32,  "Chapter",  0)
self.contents.draw_text(90,0,120,32,  $game_variables[1].to_s, 0)


Of course youw will have to inport the correct numbers such as the loction of the text to display and the varible.  (sorry didn't even realise there was 3 other pages when I posted this XD sorry ))
Project
New project. The other dimention DND
RPG makers challenge http://rmrk.net/index.php/topic,13503.0.html

fadark


just so everyone knows, im 15 years old.

Me™

Nice site...

<img src="file:///C:%5CDOCUME%7E1%5COwner%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_image002.jpg"

yeah.. that will work -_-
ALL HAIL ME™

fadark

#35
Quote<img src="file:///C:%5CDOCUME%7E1%5COwner%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_image002.jpg"


what is the code you just posted?

just so everyone knows, im 15 years old.

fadark


just so everyone knows, im 15 years old.