Sheep Herder code broken?
Posted: Thu Apr 11, 2013 3:46 pm
As a starting point to transition myself into LiveCode, I attempted the Sheep Herder academies. Everything worked perfectly up until I had to use the custom name and intersect functions, and beyond. The code and steps I have typed down are exactly like what was presented in the video and html files, but for whatever reason, my game and the game in the video function very differently despite having the exact same code, which is puzzling to me.
For example, I have an intersect function set up, but my sheep still go inside the pen and the control bar despite none appearing inside the video. When I drag a button sheep over the pen graphic, it stays blue and when I let go, it still stays there. In the video? the pen graphic turns red when a button sheep is over it, and the sheep is deleted when the mouse click is released. I have scrutinized the code over 10 times, and know that the code is verbatim, yet behavior is not verbatim.
If anyone else has gotten the sheep herder academies to work, could you please tell me if the code in the lessons worked, or if you had to tweak it to make it work?
Windows 7 Home Premium
Thanks.
For example, I have an intersect function set up, but my sheep still go inside the pen and the control bar despite none appearing inside the video. When I drag a button sheep over the pen graphic, it stays blue and when I let go, it still stays there. In the video? the pen graphic turns red when a button sheep is over it, and the sheep is deleted when the mouse click is released. I have scrutinized the code over 10 times, and know that the code is verbatim, yet behavior is not verbatim.
If anyone else has gotten the sheep herder academies to work, could you please tell me if the code in the lessons worked, or if you had to tweak it to make it work?
Windows 7 Home Premium
Thanks.