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

2011/12/18

Totally inept beginner

jdemshki jdemshki

2011/12/18

#
I just started Greenfoot and I have already gone through the tutorials. The only problem is, now I only know how to move, turn, and make things disappear. How do I do other things? I know this is a really vague questions but I don't know what I'm doing. Like what are other commands that exist? I'd really appreciate any help anyone could lend or somewhere I can just get raw information that I can learn from and with.
AwesomeNameGuy AwesomeNameGuy

2011/12/19

#
Moving, turning, and making things disappear is 90% of what you need know to write something! Ok maybe I'm exageratting, but take a look at the API's, find other useful methods like adding stuff to the world, setting the background, using the mouse, etc.
danpost danpost

2011/12/19

#
Click on the 'Documentation' link near the top of almost any Greenfoot page (including this one) and just to the right, in the area with the label 'Reference', you will find the Greenfoot API. I usually just access it 'online', but you can download it, if you prefer. Look over the methods of each of the six classes listed. There is much more than just moving, turning and making things disappear!
jdemshki jdemshki

2011/12/19

#
thank you guys so much! I have another question/problem. I've started a scenario just to test stuff and i have a background and an actor. There is a separate editor for each one. Is there any way to put all the source codes into one editor? Or will each thing have its own editor?
danpost danpost

2011/12/19

#
In Greenfoot, there is no way to put ALL of your code in one 'editor'. Well, you could probably come close to it, but it would almost assuredly have to be the world class and it would have quite a job trying to keep track of everything that would be happening within the scenario (and you would have quite a job trying to keep track of all the code within the class).
danpost danpost

2011/12/19

#
You say you have gone through the tutorials, but have you checked out any of the on-line videos? They might give you a better understanding of much about Greenfoot and coding in it.
AwesomeNameGuy AwesomeNameGuy

2011/12/19

#
You definately want to keep different classes in different windows! Unless it's an inner class I suppose...
danpost danpost

2011/12/19

#
AwesomeNameGuy wrote...
You definately want to keep different classes in different windows! Unless it's an inner class I suppose...
AMEN to that!!!
jdemshki jdemshki

2011/12/19

#
thanks for the video tip, ill check them out
jdemshki jdemshki

2011/12/19

#
so I've been going pretty good for a while. i now have an actor shooting something at another thing. how do i get the projectile to disappear? both on contact and if it hits the edge of the world. i used the code the tutorial provides to make the object disappear when my projectile hits it. i tried using this same thing to get the projectile to disappear when it hit the object but it isn't happening. i could really use some help.
danpost danpost

2011/12/20

#
What does your code look like so far?
You need to login to post a reply.