Hey, thanks for this! I hope you don't mind, but I rewrote the code from the ground up how I would write it because this is my final project, but this helped me understand this much better! I think the arrowKey handler was the way to go on this. Thank you!richmond62 wrote:Have fun!
Search found 7 matches
- Mon Jun 27, 2016 7:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
- Mon Jun 27, 2016 5:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
Execute the "rrepeat" loop? With that extra "R"? (typo). That was only to show you what you might have to go through if you did not make the maze from a single graphic polyLine. It was "pseudo" after all, though a little sloppy, I admit. I think the compiler would have been justified in throwing an...
- Mon Jun 27, 2016 4:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
You are among the only people who have ever taken be at my word and actually examined the code as I asked. So can you see your way to making your maze with a single, though admittedly complex polyline? It will take just a little patience. But the advantage is enormous, in that only a single control...
- Mon Jun 27, 2016 3:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
Hmmm. you need to learn the basics of LC. That said, do this. Make a button and a field on a new card. Now make a freehand graphic that mimics a maze. Please practice and learn how to draw such a thing. You can make it simpler than your current maze, just as long as it contains just a few twists an...
- Mon Jun 27, 2016 12:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
Hi. Maybe think of this the other way. If the ball is not within the rect of any of your rectangle graphics, you detect that and destroy the computer. Trap the "mouseMove" message and loop through the several graphics, testing for "within". Craig Newman Additionally, what do you mean by "trapping" ...
- Sun Jun 26, 2016 10:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Re: Help with a Maze
Hi. Maybe think of this the other way. If the ball is not within the rect of any of your rectangle graphics, you detect that and destroy the computer. Trap the "mouseMove" message and loop through the several graphics, testing for "within". Craig Newman What would some example code for this look li...
- Sun Jun 26, 2016 7:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Help with a Maze
- Replies: 12
- Views: 5769
Help with a Maze
Hello, I'm currently trying to create a maze where you drag a ball to the finish line to go to the next card. I have a series of rectangles on top of one another for the path, and an image called "theBlue.png" in the background where I want an intersection of the ball being dragged and "theBlue.png"...