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

Comments for Water Works

Return to Water Works

Green-FootGreen-Foot

2009/11/30

This is ridiculously good. Very well put together.
MTKMTK

2009/11/30

And it's probably the only scenario in the Greenfoot Gallery whose text isn't all messed up in a non-Windows system!
Builderboy2005Builderboy2005

2009/11/30

Hehe, that final level took a while to design :) Glad you guys like it! I believe the font still works because i am using Greenfoots default font, not others that can only be found on linux/windows ect...
MTKMTK

2009/11/30

I didn't know that Greenfoot can draw outlined text. Are you actually using images, or is the text really drawn in code? Also, Greenfoot doesn't have a default font; Java does. And Java's default font in Windows is not the same as the one in Linux. I am also using the open source openJDK instead of the standard JRE.
kenshinakhkenshinakh

2009/11/30

Btw, it's not greenfoot that draws outlined text, the java.awt.Font class has all the methods needed for your fonts. I think the font isn't messed up on this scenario because builderboy used drawString normally. Now, if he were to use drawString on a single individual letter, it would become messed up if the font isn't monospaced. (The problem my scenario had until I told the font to default to the system's default monospaced font).
Builderboy2005Builderboy2005

2009/11/30

Ah, i see where the problems would arise. I did the outlined text in kind of a roundabout manner. I have an overlay actor that handles effects like the highlight ring, transitions, and text. The text actor writes its text onto the overlay image, but instead of writinig it once in one color, it first writes it 4 times in white, and then once more in black. Using small offsets, it gives the outline effect that i intended.
MTKMTK

2009/11/30

Many scenarios use drawString "correctly" too, but there actors are too small so the text is clipped, usually the important part, such as a score.
kenshinakhkenshinakh

2009/11/30

True xD. That's why I just have my text boxes calculate the size based on text amount lol.
mjrb4mjrb4

2009/12/1

Can't find much to fault with this - good graphics, good physics and great gameplay! Nice job :-)
AndresAndres

2009/12/4

You had me sitting here for like an hour playing this game! This is awesome
A new version of this scenario was uploaded on Fri Dec 04 04:24:45 UTC 2009
MTKMTK

2009/12/4

I see there is a slight annoyance that the pieces reset just when i'm moving or rotating them small amounts. Maybe make it so that either the piece resets when double-clicked while selected, or make it so that pieces cannot be reset and count the piece as a bonus if a water droplet has not hit it lately.
Hmmm, how exactly are you getting the piece to reset? I can't for the life of me reset a piece without double clicking it.
MTKMTK

2009/12/4

When I just click on a selected piece without moving the mouse.
Hmmm, are you only clicking once? I am trying this myself on all different objects and across all different levels, fast clicks, slow clicks, and i cant get it to reset the object. Is anybody else having this problem? Perhaps the game is running really slow and getting low framerate?
MTKMTK

2009/12/4

Yes, because of graphics problems my framerate is very slow.
Ah, that must be the problem. Since there is so much time between frames, the counter is counting down very slow, so when you click on it twice, even though you might have clicked on it within an interval of 2 seconds, only 3-6 frames, and it counts that as a double click. Perhapse i will change it to use actual system time...
MTKMTK

2009/12/4

So a double click is actually a short click? I thought that a double click is press-release-press-release.
MTKMTK

2009/12/4

Does it detect the interval between the selecting click and the next click?
No, what i mean is that if you click twice within a certain number of frames, it counts that as a double click. Since your framerate is so low, it is very easy to click twice within the required number of clicks.
A new version of this scenario was uploaded on Fri Dec 04 22:51:09 UTC 2009
MTKMTK

2009/12/4

OK, it must be fine then when I get my graphics driver working.
gie2910gie2910

2009/12/5

How can you play that game???!!! I have been trying for that last 5 mins!!
Did you follow the on screen instructions? The controls are all mouse based. Click and drag on an object to move it (objects start out at the left side of the screen). If an object is highlighted, click and drag inside the highlight ring to rotate it. Using the objects given, try to direct the stream of water into the filter.
bluedgbluedg

2009/12/17

not bad and not easy XD .... very good!!
bluedgbluedg

2009/12/17

party,party i managed it XD
im_a_cat_irlim_a_cat_irl

2010/3/9

DIS GAYM IS TO HARD I DONT EVEN WAWTAR DRIP ON WAWL
MathManiacMathManiac

2010/3/13

I'm stuck on lvl 3.
MathManiacMathManiac

2010/3/13

I'm stuck on lvl 3.
carlsch123carlsch123

2010/3/13

were did you learn how to make this game
zulhamferdyzulhamferdy

2010/3/25

can you tell me to make this game step by step? please. thx
trollathontrollathon

2010/3/27

this is hard... stuck on level four
GershiBelshiGershiBelshi

2010/5/30

Whoa! How much time did it take you to do this game?
GershiBelshiGershiBelshi

2010/5/30

And also, how did you make those graphics?
terapahtterapaht

2010/10/24

I was tired when I saw level 11 = =" Can you pass all 12 levels? I stuck on level 11 ~ ~
DonaldDuckDonaldDuck

2010/10/28

You know, if you started writing pay-for apps for Apple, you could make a decent profit. Well, that is if Apple used java... I'm just sayin ;)
Builderboy2005Builderboy2005

2010/10/28

Heh thanks :) Although this specific game actually *was* inspired by a game on the App Store called Enigmo.
DonaldDuckDonaldDuck

2010/10/28

Haha yeah, I know the one :)
heyyaa1324heyyaa1324

2011/5/25

Marvelous. This is a wonderful game. The only complaint I have about it is that when you click the "load" title of the game intro screen and do not remember your level code, there is no way to begin the game from level 1. I recommend that you make it possible to play level one when the user enters nothing for the level code.
Well you could always press enter and then press play :P
JhonSmithJhonSmith

2011/9/27

Hello! Actually your trabjo is very good. I am a student of Systems Engineering, and I need to make a game in Greenfoot, I would like to know if you can help. I like to have your email or a contact can advise me please. It is very important and urgent for me. I thank you for that. I hope to answer. Jhon Smith
drhorriblejrdrhorriblejr

2011/10/7

awesome, this game is fun I got to the end of it!
finsent63finsent63

2011/11/18

How had you integrate levelcodes in the game?
finsent63finsent63

2011/12/21

I know it now. I saw the methode in "overlay".
MatheMagicianMatheMagician

2012/6/28

Now that user info is out, you could use that instead of level codes. The program could save your level like a highscore.
MatheMagicianMatheMagician

2012/6/28

Now that user info is out, you could use that instead of level codes. The program could save your level like a highscore.
MatheMagicianMatheMagician

2012/12/24

I won!
ChrisMendezChrisMendez

2013/3/19

..can you help me..? Please correct my codes or even the game.. thanks "Trick the Mario" http://www.greenfoot.org/scenarios/7758
TomazVDSNTomazVDSN

2016/1/31

This is a great game !!! congratulations !!! I enjoyed playing it ....
felagundfelagund

2016/2/4

nice idea & well done.