RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Splash Screens/Default Text

0 Members and 1 Guest are viewing this topic.

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
I guess my search skills are lacking, as I'm sure this MUST have been asked before...

What I want to do is (A) Make a splash screen appear before the title (or more preferably, a small video clip), and I want to change the default text in the game. I.E: New Game would become Beginning or something of that nature.

Sorry if this is a dumb question, as I'm sure it is.

***
~Banned~
Rep:
Level 88
~Banned~
Alright I know how to do the last part.
Though the first part your going to have to work with me to get it done.

I'll post a tutorial on how to do it.
~Banned~

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Thanks, amigo. Kind of embaressing I can't figure it out on my own. Does it involve editing the script for Scene_Title?

***
~Banned~
Rep:
Level 88
~Banned~
MAJOR BREAK THROUGH!

I found out how to do the video, *was playing with FF7*, but one thing, the player must go through the whole movie before being able to play. Could someone make me a small insertable script like the following:

If Esc key is pressed
Jump To Title Scene
Else Do Nothing
~Banned~

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Actually, I don't want them to be able to skip, as it's a very short intro to the title screen. Could I have the non-skippy version?

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
If you want an intro scene before the Title, I suggest two scripts: My credits script can easily be used as an intro script OR get an .avi player script.
But if you need a real splash screen, I suggest you find a program that implements a splash screen into your .exe.
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!

****
MONOCLE MAN
Rep:
Level 89
-::Gone::-
Hey, I need a splash screen, too >_>

***
~Banned~
Rep:
Level 88
~Banned~
MAJOR BREAK THROUGH!

I found out how to do the video, *was playing with FF7*, but one thing, the player must go through the whole movie before being able to play. Could someone make me a small insertable script like the following:

If Esc key is pressed
Jump To Title Scene
Else Do Nothing

Blizzard can you do this for me?
~Banned~

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
In the main method of the scene should be somewhere this part:

Code: [Select]
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
    end

Replace if with:

Code: [Select]
    loop do
      Graphics.update
      Input.update
      update
      if $scene != self
        break
      end
      if Input.trigger?(Input::B)
        $scene = Scene_Title.new
        break
      end
    end

Note that I assume the next scene is the Scene_Title so I put there $scene = Scene_Title.new . Of course you can change that if you like.
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!

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
What I did was I took the movie script (see the AVI insert topic on the first page of this section) and named it Scene_Movie.

I replaced Scene_Title (in the Main script) with Scene_Movie.

I got this message:



It puts me at this line when I open the script editor back up (in bold for easier viewing):

Code: [Select]

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

begin

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

  # ?????????
  Graphics.freeze
  # ????????? (??????) ???
  $scene = Scene_Movie.new <----THIS ONE
  # $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


So what do I do now?

****
Rep: +0/-0Level 91
im pretty sure i remember seeing this posted int the fourms a long hwile back. ill see if i can dig it up

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Thank you man.

****
Rep: +0/-0Level 91

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Post the movie script. I need to see what argument he is missing when calling main.
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!

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
###########################################################
class Scene_Movie
###########################################################
#Created by SoundSpawn
###########################################################
#Fixed by Popper
###########################################################
#Instruction
#  1) Movies must in in a new folder called Movies in your directory
#  2)If you call this script from and event (EG:    Call Script: $scene = Scene_Movie.new("INTRO") )
#  3) Have fun playin movies with this script!!!
###########################################################
###########################################################
###########################################################

def initialize(movie)
@readini = Win32API.new 'kernel32', 'GetPrivateProfileStringA', %w(p p p p l p), 'l'
@movie_name = Dir.getwd()+"\\Movies\\"+movie+".avi"
main
end

def main
game_name = "\0" * 256
@readini.call('Game','Title','',game_name,255,".\\Game.ini")
game_name.delete!("\0")
@wnd = Win32API.new('user32','FindWindowEx','%w(l,l,p,p)','L')
@temp = @wnd.call(0,0,nil,game_name).to_s
movie = Win32API.new('winmm','mciSendString','%w(p,p,l,l)','V')
movie.call("open \""+@movie_name+"\" alias FILE style 1073741824 parent " + @temp.to_s,0,0,0)
@message = Win32API.new('user32','SendMessage','%w(l,l,l,l)','V')

@detector = Win32API.new('user32','GetSystemMetrics','%w(l)','L')
@width = @detector.call(0)
if @width == 640
fullscreen
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
Graphics.update
sleep(0.1)
fullscreen
end


status = " " * 255
movie.call("play FILE",0,0,0)
loop do 
sleep(0.1)
@message.call(@temp.to_i,11,0,0)
Graphics.update
@message.call(@temp.to_i,11,1,0)
Input.update
movie.call("status FILE mode",status,255,0)
true_status = status.unpack("aaaa")
if true_status.to_s != "play"
break
end
if Input.trigger?(Input::B)
$scene = Scene_Map.new
break
end
end
$scene = Scene_Map.new
end

end

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Ok, in main it shouldn't be

Code: [Select]
$scene = Scene_Movie.new

but

Code: [Select]
$scene = Scene_Movie.new("NAME_OF_YOUR_MOVIE")

where NAME_OF_YOUR_MOVIE is the name of your movie without the extension .avi .
« Last Edit: October 12, 2006, 11:20:47 AM by Blizzard »
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!

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero

**
Rep: +0/-0Level 88
I'm getting an error:

????? 'Spriteset_Map' ? 21 ??? NoMethodError ????????
undefined method 'tileset_name' for nil:NilClass

*
Shooting for the "MEMBER MODERATOR OF THE YEAR 2007" Award
Rep:
Level 89
Hi, there.
lol, you bumped something from 6 months ago. Well if you havent noticed, Naphe has been banned and Blizzard has gone on a break. Im not sure but I think there is already a better script in the Script Database.

Please try not to bump something this old.
Sig by MacGravel

**
Rep: +0/-0Level 88
Sorry, I didn't realize how old it was. I was just searching and this thread seemed to meet my needs.

**
Rep:
Level 86
BEEEEESH!!!
to change your font.... add this code to your Game_Temp script (the first one)

Font.default_name = 'YOUR FONT HERE!!!'
 
I do not take credit for this. Anyway, make sure everyone that plays your game has the font!!
 (I put the font sydnie cuz it's an rpg font..all pixely...)

 ;)
O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---< O<---<
ALL HAIL THE BUBLET!!!!  ALL HAIL THE BUBLET!!!!  ALL HAIL THE BUBLET!!
                                            ~My army pplz :P~

*
Rep:
Level 102
2014 Biggest Narcissist Award2014 Biggest Forum Potato2014 Best Non-RM Creator2013 Best Game Creator (Non-RM)2013 Best IRC ChatterboxParticipant - GIAW 112012 Most Successful Troll2012 Funniest Member2012 Best Use Of Avatar and Signature space2012 Best IRC ChatterboxSecret Santa 2012 ParticipantProject of the Month winner for November 2009For being a noted contributor to the RMRK Wiki2010 Most Successful Troll2010 Biggest Forum Couch Potato2010 Best IRC Chatterbox
You posted in a really old thread...don't do that again.