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

2012/4/9

Help with programming basics

mfiala5 mfiala5

2012/4/9

#
I cant figure this out and have already put in way to much time. My College instructor just flew in from india and she cant speak a lick of english. so help from her is impossible. can anyone explain how to do this, as i only get errors even when i copy out of the greenfoot programming book 1. Create a new scenario with sea as background. Name it chasing. 2. Place two actors in the scenario fish and seal. (As soon as you compile fish and seal must be seen in the sea) 3. When run button is pressed, 3.1 Fish must move with arrow keys (left, right, up, down). 3.2 Seal must chase fish. 3.3 If seal reaches fish, fish should disappear with a pop sound seal should turn fat and scenario must stop. 4. Compress your chasing folder and attach it.
SPower SPower

2012/4/9

#
I'm busy working on it. I'll send you a link where you can download it, but only if you promise: LEARN FROM THIS CODE AND ASK ME IF YOU HAVE SOME QUESTIONS!!!! If you don't learn from it, it wouldn't help let me do this.
SPower SPower

2012/4/9

#
I think I know what you did wrong. In the greenfoot book, there are APIs already defined for you. In a new scenario, those APIs aren't there. You just have to copy those APIs into your scenario. Next time, you have to think about it yourself. You are doing this for school, so you have to understand it, or you'll get bad grades. I'm not going to create a scenario for you anymore, I realized you really have to do it yourself. Success!
You need to login to post a reply.