Jump to content

Photo

Disable the Subscreen


  • Please log in to reply
5 replies to this topic

#1 Christian

Christian

    Summoner

  • Members
  • Real Name:Chris
  • Location:New Jersey

Posted 28 July 2010 - 05:14 AM

I made an FFC script to disable the subscreen and play a sound effect (As seen in the GB zeldas) so that the player won't see the subscreen until he/she gets the sword in my game The Legend of Zelda: Mystical Seed of Courage.

Problem is, The player can still see the subscreen!

CODE

ffc script NoSubscreen{
     void run(int sfx){
          while(true){
               if(Link->InputStart){
                 Link->InputStart = false;
                 Game->PlaySound(sfx);
               }
           }
       }
}



#2 lucas92

lucas92

    Defender

  • Members

Posted 28 July 2010 - 12:11 PM

There's no way to hide the subscreen via scripting. You should do some screens that has the flag no subscreen, then wrap Link when he gets the sword to a normal screen with an item pickup script.

#3 Joe123

Joe123

    Retired

  • Members

Posted 28 July 2010 - 12:38 PM

There should be, Link->InputStart = false always used to work but it won't now; it's a bug.
I'm going to look into it some point soon.

#4 Christian

Christian

    Summoner

  • Members
  • Real Name:Chris
  • Location:New Jersey

Posted 28 July 2010 - 02:32 PM

Oh, That sucks =(

#5 Master Maniac

Master Maniac

    Earth, Wind, Fire, and Water.

  • Members
  • Real Name:kris

Posted 28 July 2010 - 03:26 PM

QUOTE(Joe123 @ Jul 28 2010, 09:38 AM) View Post

There should be, Link->InputStart = false always used to work but it won't now; it's a bug.
I'm going to look into it some point soon.

I haven't had any problems with it yet, but I use build 1266.

#6 Joe123

Joe123

    Retired

  • Members

Posted 28 July 2010 - 03:45 PM

Interestingly now I test this in 1261 it appears to be working properly as MM says. I'll try it in a newer build in a minute or two.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users