This site requires JavaScript, please enable it in your browser!
Greenfoot back
moiraxlaband
moiraxlaband wrote ...

2011/5/27

Setting paths for the actor to follow and switching between them

1
2
davmac davmac

2011/6/3

#
What do you mean by "doesn't work"? Do you still get a compiler error? You still have both a method and a variable called "isPathA". I suggest (again) that you change the method name to something that describes what the method does (such as "checkPathChange"). Then you need to be sure you are actually calling the method from somewhere (from act(), probably).
danpost danpost

2011/6/4

#
moiraxlaband, please download the scenario JungleWorld that I published with source code to look at. I think you are trying to make it more difficult than it needs to be.
danpost danpost

2011/6/4

#
Once you download JungleWorld, post a note saying so. I will upload another version of it. Changes will consist of: 1) Elimination of the boolean variable 'isPathA' 2) Elimination of dual images for climber (only one image needed) 3) Addition of the method 'changeSides()'
moiraxlaband moiraxlaband

2011/6/5

#
danpost, I have downloaded JungleWorld!
danpost danpost

2011/6/5

#
moiraxlaband, the newer version is now uploaded -- check it out. Again, let me know you downloaded it, so I can remove it. (Once you download it, it will have served its purpose, and therefore can be removed)
danpost danpost

2011/6/11

#
moiraxlaband, It has been 5 business days since I uploaded the newer version of JungleWorld, but I have not heard from you to let me know you got the newer version. It has now been removed. If you have not got it, and you still want it, post a reply.
You need to login to post a reply.
1
2