M.Karl, I was playing with your procedures this morning in MW2.0 for Macintosh, as I have some students that are doing some similar work. I loaded the same instruction into both turtles in page1 and page2 (t1-seek, t2-drift) And in the procedure that tests when they are touching I sent them to page2 and put a "go" instruction rather than "song1 stopall". This gives the game a recursive like loop. It worked for me. -------------------------- to seek fd 5 wait .5 if touching? "t1 "t2 [announce "gotcha! page2 go] end -------------------------- Good luck :-) Steve >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: IN%"MKPoles@aol.com" 20-NOV-1997 14:46:21.55 To: IN%"KERRB@Magill.Magill.UniSA.edu.au" CC: Subj: ion of MW. I've got the following procedure working to create a game, but the problem is that we want to make more pages that are different levels of our game. When we start a new page, it won't let us use t1 again. It will say that there is more than one t1--which there is!! (I understand that problem) Yet, if we change t1's name, it still seems to think it's there--we get the same message. (We also add this new name to the tto in the "go" procedure.) What we planned on doing was just having a new "if touching" statement in the seek procedure call the "new" next page. Does anyone have any ideas how to make this all work?? to go everyone [clickon] t1, forever [direct readchar] end to direct :key if (ascii :key) = 37 [seth 270] if (ascii :key) = 39 [seth 90] if (ascii :key) = 38 [seth 0] if (ascii :key) = 40 [seth 180] if "key = "s [stopall] end to seek fd 5 wait .5 if touching? "t1 "t2 [announce "gotcha! page2 song1 stopall] end to drift glide 500 1 seth random 360 end I have a feeling I'm not being clear enough--let me know if you need more info to help me. Thanks! M. Karl _______________________________________________________ (-: Stephen Brown :-) Information Technology Coordinator & Computer Science Teacher Inter-American Academy, Guayaquil, Ecuador http://www.acig.k12.ec (Non-El-Niņo days 730-400pm EST Mon-Fri!) "Hoot! hoot!" woods beckon. Clear pool reflects starlit sky. Silence thunders by... _______________________________________________________ --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home