Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Kiah

#1
Hey i got it to work! ;D  I put

function repeatedly_execute() {
 
  if (Jigsaw.GetPuzzleComplete() == true) {
      Jigsaw.RemovePuzzle();
      player.ChangeRoom(1);
      }
   }

In the global script and it works... these both worked so i don't think that it was that

int jigsaw_won;
bool jigsaw_won;

   Still curious why it did'nt work when the repeatedly execute was in the room script
But anyway... thanks for the help and quick responses mate(cheers)' 
#2
It's still doing the same thing everything stays there and nothin happens the message says completed! and stuff...i dont have any sound in it or anything... would that change things?... i feel dumb  :-\ it seems like it would work grrrr
#3
Hey i used your module to make a puzzle just to see if i could do it... so i worked it all out and made one like this.... but the only thing i cant figure out is how to make things happen when its completed.
Like change Room or remove puzzle or give inventory upon completion. I tried tonz of stuff if you could help it'd be much appreciated... i'm a nub... haha

function oCup_AnyClick()
{
  Jigsaw.CreatePuzzleFromSprites(4,  0,  0,  640,  480, false);
  Jigsaw.CreatePuzzlePiece(9, 0, 0);
  Jigsaw.CreatePuzzlePiece(10, 160, 0);
  Jigsaw.CreatePuzzlePiece(11, 0, 120);
  Jigsaw.CreatePuzzlePiece(12, 160, 120);
  Jigsaw.SetupPuzzleTray(10, 10, 300, 200);
  Jigsaw.SetupPuzzleMovement(10, 8, true, -1, 2);
  Jigsaw.SetupPuzzleObjects(object[1], object[2]);
  Jigsaw.SetupScoreLabel(lblPuzzleScore, "@SCORE@% complete.", "Congratulations, you completed the puzzle!");
  Jigsaw.SetupGraphics(14, 13);
  Jigsaw.StartPuzzle(); 
}
SMF spam blocked by CleanTalk