This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Discussions
You need to login to take part
Current Discussions
you see the blacks?..well,thats hitboxes ;D i will finish the game this week,exciting!
By StarterCreator, with 7 replies.
Last reply by danpost, almost 10 years ago:
Here is the image: <Image Omitted>
My game keeps freezing
By CharlesStiles, with 4 replies.
Last reply by CharlesStiles, almost 10 years ago:
thank you danpost it's working a lot better now!
reflection
By divinity, with 36 replies.
Last reply by divinity, almost 10 years ago:
ok ah see what yuh mean,
Help with strings?
By Astralman, with 4 replies.
Last reply by Astralman, almost 10 years ago:
Thanks. I was missing that parameter part
How make it display text in reverse?
By Astralman, with 6 replies.
Last reply by Astralman, almost 10 years ago:
It worked. I wrote things wrong. Thanks
Global Variable?
By Corvus, with 5 replies.
Last reply by danpost, almost 10 years ago:
Corvus wrote...
There's diagonal grey lines on all of the World boxes and some of the actors.
And what happens when you press Ctrl-K? do the diagonal lines remain?
MouseInfo.getButton() only displays the button being held if the cursor is moving?
By TypoKign, with 3 replies.
Last reply by danpost, almost 10 years ago:
Super_Hippo wrote...
I just tried a bit and ended up with this code: < Code Omitted >
Line 11 needs to be placed down one line, to outside the main 'if' block or you will not know if a button is pressed when there is no mouse action.
Stride, auto complete doesnt working...
By jhonatan.morais, with no replies.
Hello guys. im using greenfoot ver 3.0.4 on windows. i dont know why but the code complete isnt working (crtl + space) has anything chenged?
Help drawing a line
By wlau1010, with 2 replies.
Last reply by wlau1010, almost 10 years ago:
Thanks so much, I am new to coding but this makes sense with the rgb values.
Movement and Direction
By Laurence, with 27 replies.
Last reply by danpost, almost 10 years ago:
Corvus wrote...
Say, would there be a way in which movement code (like the one presented by you two) could be toggled on and off by a boolean variable from another object? Such as one actor makes a boolean 'true' which enables some other movement code on another actor?
Yes. If you need help with this, please start a new discussion thread for it. Give details as to what you want to accomplish and show some attempted code.
Scrolling Map - Large Image
By Kazee, with 16 replies.
Last reply by danpost, almost 10 years ago:
Kazee wrote...
I know but, how i can know what exactly is the X and Y for that? Because when I move to the right X and Y "restart" to 0 and increases to 800. So. If I add a wall in x 400 and y 40, those walls will not be later on the map.
You can determine the amount of x and y to add by the 'getScrolledX' and 'getScrolledY' methods (just add their values to the 'getX' and 'getY' values). Except that since those methods are part of the Scroller object and not part of the World or any Actor object, executing those methods while the scenario is stopped would be impossible. Add the fol
Isn't starting up (again)
By LakeOtis, with 31 replies.
Last reply by Nosson1459, almost 10 years ago:
The name of the discussion is "Isn't starting up (again)", that would be because of a syntax error. The You class should have had red lines going through it in the side bar of the Greenfoot program, so you see to open the editor of the You class and there should be a red squiggly line under the line of code that says <Code Omitted> then when you hover the mouse over the line, a black box will appear that says "cannot find symbol- variable forSale", it would probably have taken faster to solve if you would have mentioned this.
Differ reflection angles in PONG
By rn42v1r, with 7 replies.
Last reply by rn42v1r, almost 10 years ago:
The ball doesn't mind the collision with one of the paddles and goes right through:(
Newton's Lab-2
By georgette, with 3 replies.
Last reply by georgette, almost 10 years ago:
Thanks guys! You're right, it'll never work this way. The bulk of this code belongs in my Body class not the Ship class.
How to stop a playing song?
By jhonatan.morais, with 2 replies.
Last reply by jhonatan.morais, almost 10 years ago:
i see... thank you for confirm this information. See you.
417
418
419
420
421
422
423
X