Page 2 of 2

Re: Count up timer over multiple cards

Posted: Sun Jan 04, 2015 2:34 pm
by WaltBrown
Check the Dictionary by sorting on Operating System - scan through the functions which are Windows only and see if you are using any of them. Also check the Dictionary for any functions, commands, or messages that have parameters or parameter values which are different for each OS.
Walt

Re: Count up timer over multiple cards

Posted: Sun Jan 04, 2015 3:50 pm
by Newbie4
Simple mazes should work on any platform.
What is not working with it? Moving the player, collisions with the walls, ending it?
Can you post the associated code for the parts that are not working?

Re: Count up timer over multiple cards

Posted: Sun Jan 04, 2015 7:22 pm
by CammyGray21
Hey, the dictionary does not specify that it is incompatible, it is the intersect between the movable object and the maze itself that does not work

Code: Select all

on movePlayer pMove, pDirection
   if pDirection is "up" then
      if the top of the graphic pMove <5 then
         set the top of the graphic pMove to 0
      else 
         set the top of the graphic pMove to the top of graphic pMove -5
      end if
   else if pDirection is "down" then
      set the bottom of the graphic pMove to the bottom of the graphic pMove + 5
   else if pDirection is "right" then
      set the right of the graphic pMove to the right of the graphic pMove + 5
   else if pDirection is "left" then
      set the left of the graphic pMove to the left of the graphic pMove - 5
   end if
   if intersect (graphic "Rectangle" , image "Maze.png","opaque pixels") then
      set loc of graphic "Rectangle" to 249,493
   end if
   if intersect (graphic "Rectangle" , graphic "Rectangle2","opaque pixels") then
      answer "You have escaped the maze!"
      put true into Puzzle2_Complete
      go to card "Main Game"
      end if
end movePlayer

Re: Count up timer over multiple cards

Posted: Sun Jan 04, 2015 8:59 pm
by CammyGray21
https://mega.co.nz/#!JgxgVaiC!CRvk5-Yak ... JnfNLfbbGw You can now download my program from here so that you can try to spot the problem first hand rather than me attempting to tell you when I am pretty unsure.

Cheers guys!

Re: Count up timer over multiple cards

Posted: Mon Jan 05, 2015 5:55 pm
by CammyGray21
Guessing nobody is having any luck? :?: :?: