[AutoCreate]
// *** Initialize variables ***
CDNUMBER="GSPCD2139A"
LAUNCHERID=""
LAUNCHERTITLE="Big and Small - House of Fun"
TEMPHEIGHT=768
TEMPWIDTH=1024
SetTitle LauncherTitle
// *** Prepare windows and graphics ***
//Prepare WINDOW1 and all it's graphics
NewWindow WINDOW1
WINDOW1.StayOnTop=1
WINDOW1.Top=-90
WINDOW1.Left=-223
WINDOW1.Width=1680
WINDOW1.Height=1080
WINDOW1.Color=0
WINDOW1.CloseAfter=0
WINDOW1.Enabled=1
//Prepare MAIN graphic
NewGraphic MAIN,WINDOW1
MAIN.Top=156
MAIN.Left=328
MAIN.Width=1024
MAIN.Height=768
MAIN.FrameWidth=1024
MAIN.FrameHeight=768
MAIN.CurrentFrame=1
MAIN.Visible=1
MAIN.Color=16777215
MAIN.SingleMask=0
MAIN.SingleHotSpot=0
MAIN.Transparent=0
MAIN.Stretch=0
MAIN.ClickRepeatTime=0
//Prepare MEET graphic
NewGraphic MEET,MAIN
MEET.Top=7
MEET.Left=5
MEET.Width=193
MEET.Height=193
MEET.FrameWidth=193
MEET.FrameHeight=193
MEET.CurrentFrame=1
MEET.Visible=1
MEET.Color=16777215
MEET.SingleMask=0
MEET.SingleHotSpot=0
MEET.Transparent=1
MEET.Stretch=0
MEET.ClickRepeatTime=0
//Prepare TILES graphic
NewGraphic TILES,MAIN
TILES.Top=549
TILES.Left=160
TILES.Width=180
TILES.Height=194
TILES.FrameWidth=180
TILES.FrameHeight=194
TILES.CurrentFrame=1
TILES.Visible=1
TILES.Color=16777215
TILES.SingleMask=0
TILES.SingleHotSpot=0
TILES.Transparent=1
TILES.Stretch=0
TILES.ClickRepeatTime=0
//Prepare WORDSEARCH graphic
NewGraphic WORDSEARCH,MAIN
WORDSEARCH.Top=3
WORDSEARCH.Left=827
WORDSEARCH.Width=186
WORDSEARCH.Height=187
WORDSEARCH.FrameWidth=186
WORDSEARCH.FrameHeight=187
WORDSEARCH.CurrentFrame=1
WORDSEARCH.Visible=1
WORDSEARCH.Color=16777215
WORDSEARCH.SingleMask=0
WORDSEARCH.SingleHotSpot=0
WORDSEARCH.Transparent=1
WORDSEARCH.Stretch=0
WORDSEARCH.ClickRepeatTime=0
//Prepare SPOT graphic
NewGraphic SPOT,MAIN
SPOT.Top=204
SPOT.Left=719
SPOT.Width=189
SPOT.Height=195
SPOT.FrameWidth=189
SPOT.FrameHeight=195
SPOT.CurrentFrame=1
SPOT.Visible=1
SPOT.Color=16777215
SPOT.SingleMask=0
SPOT.SingleHotSpot=0
SPOT.Transparent=1
SPOT.Stretch=0
SPOT.ClickRepeatTime=0
//Prepare PAIRS1 graphic
NewGraphic PAIRS1,MAIN
PAIRS1.Top=543
PAIRS1.Left=698
PAIRS1.Width=190
PAIRS1.Height=201
PAIRS1.FrameWidth=190
PAIRS1.FrameHeight=201
PAIRS1.CurrentFrame=1
PAIRS1.Visible=1
PAIRS1.Color=16777215
PAIRS1.SingleMask=0
PAIRS1.SingleHotSpot=0
PAIRS1.Transparent=1
PAIRS1.Stretch=0
PAIRS1.ClickRepeatTime=0
//Prepare PRINT graphic
NewGraphic PRINT,WINDOW1
PRINT.Top=341
PRINT.Left=457
PRINT.Width=194
PRINT.Height=205
PRINT.FrameWidth=194
PRINT.FrameHeight=205
PRINT.CurrentFrame=1
PRINT.Visible=1
PRINT.Color=16777215
PRINT.SingleMask=0
PRINT.SingleHotSpot=0
PRINT.Transparent=1
PRINT.Stretch=0
PRINT.ClickRepeatTime=0
//Prepare SNAP graphic
NewGraphic SNAP,WINDOW1
SNAP.Top=541
SNAP.Left=331
SNAP.Width=199
SNAP.Height=186
SNAP.FrameWidth=199
SNAP.FrameHeight=186
SNAP.CurrentFrame=1
SNAP.Visible=1
SNAP.Color=16777215
SNAP.SingleMask=0
SNAP.SingleHotSpot=0
SNAP.Transparent=1
SNAP.Stretch=0
SNAP.ClickRepeatTime=0
//Prepare JIGSAW graphic
NewGraphic JIGSAW,WINDOW1
JIGSAW.Top=546
JIGSAW.Left=1167
JIGSAW.Width=185
JIGSAW.Height=196
JIGSAW.FrameWidth=185
JIGSAW.FrameHeight=196
JIGSAW.CurrentFrame=1
JIGSAW.Visible=1
JIGSAW.Color=16777215
JIGSAW.SingleMask=0
JIGSAW.SingleHotSpot=0
JIGSAW.Transparent=1
JIGSAW.Stretch=0
JIGSAW.ClickRepeatTime=0
//Prepare EXIT graphic
NewGraphic EXIT,WINDOW1
EXIT.Top=866
EXIT.Left=328
EXIT.Width=115
EXIT.Height=58
EXIT.FrameWidth=115
EXIT.FrameHeight=58
EXIT.CurrentFrame=1
EXIT.Visible=1
EXIT.Color=16777215
EXIT.SingleMask=0
EXIT.SingleHotSpot=0
EXIT.Transparent=1
EXIT.Stretch=0
EXIT.ClickRepeatTime=0
//Prepare SOUNDGRAPHIC graphic
NewGraphic SOUNDGRAPHIC,WINDOW1
SOUNDGRAPHIC.Top=879
SOUNDGRAPHIC.Left=443
SOUNDGRAPHIC.Width=53
SOUNDGRAPHIC.Height=45
SOUNDGRAPHIC.FrameWidth=53
SOUNDGRAPHIC.FrameHeight=45
SOUNDGRAPHIC.CurrentFrame=1
SOUNDGRAPHIC.Visible=1
SOUNDGRAPHIC.Color=16777215
SOUNDGRAPHIC.SingleMask=0
SOUNDGRAPHIC.SingleHotSpot=0
SOUNDGRAPHIC.Transparent=0
SOUNDGRAPHIC.Stretch=0
SOUNDGRAPHIC.ClickRepeatTime=0
// *** Load up some images and stuff ***
TempWidth=MEET.Width //Preserve the sprite's width and height
TempHeight=MEET.Height // As the next statement may try to change them
MEET.LoadFrame 1,"Big.dat:Image92.bmp"
MEET.Width=TempWidth //Now restore the sprite's width and height
MEET.Height=TempHeight
TempWidth=MEET.Width //Preserve the sprite's width and height
TempHeight=MEET.Height // As the next statement may try to change them
MEET.LoadFrame 2,"Big.dat:Image23.bmp"
MEET.Width=TempWidth //Now restore the sprite's width and height
MEET.Height=TempHeight
TempWidth=PRINT.Width //Preserve the sprite's width and height
TempHeight=PRINT.Height // As the next statement may try to change them
PRINT.LoadFrame 1,"Big.dat:Image10.bmp"
PRINT.Width=TempWidth //Now restore the sprite's width and height
PRINT.Height=TempHeight
TempWidth=PRINT.Width //Preserve the sprite's width and height
TempHeight=PRINT.Height // As the next statement may try to change them
PRINT.LoadFrame 2,"Big.dat:Image32.bmp"
PRINT.Width=TempWidth //Now restore the sprite's width and height
PRINT.Height=TempHeight
TempWidth=SNAP.Width //Preserve the sprite's width and height
TempHeight=SNAP.Height // As the next statement may try to change them
SNAP.LoadFrame 1,"Big.dat:Image11.bmp"
SNAP.Width=TempWidth //Now restore the sprite's width and height
SNAP.Height=TempHeight
TempWidth=SNAP.Width //Preserve the sprite's width and height
TempHeight=SNAP.Height // As the next statement may try to change them
SNAP.LoadFrame 2,"Big.dat:Image4.bmp"
SNAP.Width=TempWidth //Now restore the sprite's width and height
SNAP.Height=TempHeight
TempWidth=TILES.Width //Preserve the sprite's width and height
TempHeight=TILES.Height // As the next statement may try to change them
TILES.LoadFrame 1,"Big.dat:Image12.bmp"
TILES.Width=TempWidth //Now restore the sprite's width and height
TILES.Height=TempHeight
TempWidth=TILES.Width //Preserve the sprite's width and height
TempHeight=TILES.Height // As the next statement may try to change them
TILES.LoadFrame 2,"Big.dat:Image5.bmp"
TILES.Width=TempWidth //Now restore the sprite's width and height
TILES.Height=TempHeight
TempWidth=SPOT.Width //Preserve the sprite's width and height
TempHeight=SPOT.Height // As the next statement may try to change them
SPOT.LoadFrame 1,"Big.dat:Image14.bmp"
SPOT.Width=TempWidth //Now restore the sprite's width and height
SPOT.Height=TempHeight
TempWidth=SPOT.Width //Preserve the sprite's width and height
TempHeight=SPOT.Height // As the next statement may try to change them
SPOT.LoadFrame 2,"Big.dat:Image172.bmp"
SPOT.Width=TempWidth //Now restore the sprite's width and height
SPOT.Height=TempHeight
TempWidth=JIGSAW.Width //Preserve the sprite's width and height
TempHeight=JIGSAW.Height // As the next statement may try to change them
JIGSAW.LoadFrame 1,"Big.dat:Image15.bmp"
JIGSAW.Width=TempWidth //Now restore the sprite's width and height
JIGSAW.Height=TempHeight
TempWidth=JIGSAW.Width //Preserve the sprite's width and height
TempHeight=JIGSAW.Height // As the next statement may try to change them
JIGSAW.LoadFrame 2,"Big.dat:Image7.bmp"
JIGSAW.Width=TempWidth //Now restore the sprite's width and height
JIGSAW.Height=TempHeight
TempWidth=PAIRS1.Width //Preserve the sprite's width and height
TempHeight=PAIRS1.Height // As the next statement may try to change them
PAIRS1.LoadFrame 1,"Big.dat:Image16.bmp"
PAIRS1.Width=TempWidth //Now restore the sprite's width and height
PAIRS1.Height=TempHeight
TempWidth=PAIRS1.Width //Preserve the sprite's width and height
TempHeight=PAIRS1.Height // As the next statement may try to change them
PAIRS1.LoadFrame 2,"Big.dat:Image8.bmp"
PAIRS1.Width=TempWidth //Now restore the sprite's width and height
PAIRS1.Height=TempHeight
TempWidth=WORDSEARCH.Width //Preserve the sprite's width and height
TempHeight=WORDSEARCH.Height // As the next statement may try to change them
WORDSEARCH.LoadFrame 1,"Big.dat:Image13.bmp"
WORDSEARCH.Width=TempWidth //Now restore the sprite's width and height
WORDSEARCH.Height=TempHeight
TempWidth=WORDSEARCH.Width //Preserve the sprite's width and height
TempHeight=WORDSEARCH.Height // As the next statement may try to change them
WORDSEARCH.LoadFrame 2,"Big.dat:Image6.bmp"
WORDSEARCH.Width=TempWidth //Now restore the sprite's width and height
WORDSEARCH.Height=TempHeight
TempWidth=SOUNDGRAPHIC.Width //Preserve the sprite's width and height
TempHeight=SOUNDGRAPHIC.Height // As the next statement may try to change them
SOUNDGRAPHIC.LoadFrame 1,"Big.dat:speakeron.bmp"
SOUNDGRAPHIC.Width=TempWidth //Now restore the sprite's width and height
SOUNDGRAPHIC.Height=TempHeight
TempWidth=SOUNDGRAPHIC.Width //Preserve the sprite's width and height
TempHeight=SOUNDGRAPHIC.Height // As the next statement may try to change them
SOUNDGRAPHIC.LoadFrame 2,"Big.dat:Sound off.bmp"
SOUNDGRAPHIC.Width=TempWidth //Now restore the sprite's width and height
SOUNDGRAPHIC.Height=TempHeight
TempWidth=EXIT.Width //Preserve the sprite's width and height
TempHeight=EXIT.Height // As the next statement may try to change them
EXIT.LoadFrame 1,"Big.dat:exit.bmp"
EXIT.Width=TempWidth //Now restore the sprite's width and height
EXIT.Height=TempHeight
TempWidth=EXIT.Width //Preserve the sprite's width and height
TempHeight=EXIT.Height // As the next statement may try to change them
EXIT.LoadFrame 2,"Big.dat:Exit (2).bmp"
EXIT.Width=TempWidth //Now restore the sprite's width and height
EXIT.Height=TempHeight
NewSound SOUND1
SOUND1.Load "Big.dat:Theme long version mix.wav"
TempWidth=MAIN.Width //Preserve the sprite's width and height
TempHeight=MAIN.Height // As the next statement may try to change them
MAIN.LoadFrame 1,"Big.dat:Launcher (1).bmp"
MAIN.Width=TempWidth //Now restore the sprite's width and height
MAIN.Height=TempHeight
// *** Hotspots, animations, scroll to lists and applications defined here ***

[Start]
Window1.KeepCentered=1
Window1.Center
Window1.Visible=1
sound1.play

PlayMusicIfSoundIsCurrentlyEnabled

[PlayMusicIfSoundIsCurrentlyEnabled]
If SoundGraphic.CurrentFrame=1 then
  Sound1.Play
EndIf

[JIGSAW_mouseenter]
JIGSAW.currentframe=2

[JIGSAW_mouseexit]
JIGSAW.currentframe=1

[JIGSAW_click]
stopsounds
RunExecutableReady "TheExecutableIsReady","Jigsaw\Jigsaw.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled


[TheExecutableIsReady]
window1.visible=0

[MEET_mouseenter]
MEET.currentframe=2


[MEET_mouseexit]
meet.currentframe=1

[MEET_click]
Stopsounds
RunExecutableReady "TheExecutableIsReady","Meet the Cast\MeetTheCast.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[PAIRS1_mouseenter]
PAIRS1.currentframe=2

[PAIRS1_mouseexit]
PAIRS1.currentframe=1

[PAIRS1_click]
Stopsounds
RunExecutableReady "TheExecutableIsReady","pairs\Pairsofcards.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[PRINT_mouseenter]
PRINT.currentframe=2

[PRINT_mouseexit]
PRINT.currentframe=1

[PRINT_click]
stopsounds
RunExecutableReady "TheExecutableIsReady","Colouring Book\ColouringBook.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[SNAP_mouseenter]
SNAP.currentframe=2

[SNAP_mouseexit]
SNAP.currentframe=1

[SNAP_click]
stopsounds
RunExecutableReady "TheExecutableIsReady","Snap\Snap.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[SPOT_mouseenter]
SPOT.currentframe=2

[SPOT_mouseexit]
SPOT.currentframe=1

[SPOT_click]
stopsounds
RunExecutableReady "TheExecutableIsReady","Spot the Difference\SpotTheDifference.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[TILES_mouseenter]
TILES.currentframe=2

[TILES_mouseexit]
TILES.currentframe=1

[TILES_click]
stopsounds
RunExecutableReady "TheExecutableIsReady","Sliding Tiles\Sliding Tiles.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled

[WORDSEARCH_mouseenter]
WORDSEARCH.currentframe=2

[WORDSEARCH_mouseexit]
WORDSEARCH.currentframe=1

[WORDSEARCH_click]
stopsounds
window1.visible=0
RunExecutableReady "TheExecutableIsReady","Wordsearch\Wordsearch.exe"
window1.visible=1
PlayMusicIfSoundIsCurrentlyEnabled


[EXIT_mouseenter]
EXIT.currentframe=2

[EXIT_mouseexit]
EXIT.currentframe=1

[EXIT_click]
closelauncher


[SOUNDGRAPHIC_Click]

//Toggle between the two frames indicate sound enabled or disabled status
InitialFrame=SoundGraphic.CurrentFrame
if InitialFrame=1 then
  SoundGraphic.CurrentFrame=2
endif

if InitialFrame=2 then
  SoundGraphic.CurrentFrame=1
endif

//The sound enabled or disabled status has just changed - we need to either stop all sounds playing or restart them
PlayMusicIfSoundIsCurrentlyEnabled
if SoundGraphic.CurrentFrame=2 then
  StopSounds
endif




