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
Count up timer over multiple cards
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Count up timer over multiple cards
Walt Brown
Omnis traductor traditor
Omnis traductor traditor
-
- VIP Livecode Opensource Backer
- Posts: 327
- Joined: Sun Apr 15, 2012 1:17 am
- Location: USA
- Contact:
Re: Count up timer over multiple cards
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?
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?
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
-
- Posts: 17
- Joined: Thu Jan 01, 2015 1:12 pm
Re: Count up timer over multiple cards
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
-
- Posts: 17
- Joined: Thu Jan 01, 2015 1:12 pm
Re: Count up timer over multiple cards
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!
Cheers guys!
-
- Posts: 17
- Joined: Thu Jan 01, 2015 1:12 pm
Re: Count up timer over multiple cards
Guessing nobody is having any luck?