The Chloe Game

Hi everyone, this is my first post on this site - if you’ve got a couple of minutes to spare please check out my game at:

http://www.geocities.com/chloegame/

Hope you enjoy it, I’d be interested to read any questions or comments you have.

Welcome. :slight_smile:

It’s a surprisingly addictive and funny little game ;D

Yeah, good game. I got to phase nine - how many phases are there? Those swirly chains did me in the end, I moved to swing around below one, but it turned around and cut off my escape route. >:(

It’d be nice to have three lives or something, just so you can occasionally take a chance and not be too annoyed when you get hit. Very nice game! 8)

Simple game thats very well done. :slight_smile:

Proof that addictive games don’t necessarily need millions of polys…

Glad you all liked it, I’ve thought before about having extra lives, powerups etc but have never got round to doing it. If anybody wants the code to have a mess about with or just to have a look then you’re more than welcome.

By the way, there are 15 stages in total, although there’s no real ending as such. When I get a chance I must stick one in.

Refused to work on IE and Opera (JRE1.4.1_01). Ignored space bar. Came back to look at window 5 mins later and there’s a little girl superimposed on what looks like Reading high street and a dot in the corner. 5 mins later and the girl jhas moved a bit on her own. Nothing I do seems to make any difference though!

Cas :slight_smile:

same here

ditto

EDIT: It works on linux with 1.4.1_02.

The time it failed was on WinXP.

I’m sorry to hear it hasn’t worked for everyone, that’s one of the problems with programming in Java I suppose, having to test the programs on lots of systems. Thanks for the feedback, it’s really helpful.

nah, the problem with java is that you think you won’t have to test on a lot of systems while you do, just like any other language.

I’m sure we saw the exact same problem before one some other applet mentioned in these parts, but I can’t remember what it was.

Cas :slight_smile:

By the way, you weren’t far wrong guessing it was Reading high street. It’s from a picture I took in Pinner just a few miles away. Maybe you have a telephoto memory!

Do you sleep() in your game loop?
Some time ago I took out the sleep in my applet but other than I expected it slowed down to a crawl. Slower even ::).
This is just a wild guess (I never experienced this myself anymore after that)…

Last machine I tested it on was WinME, IE5.5. Also tested on XPHome, IE6.0. Both worked fine.

Tip of the day, you seem to go a little faster on diagonals - great for getting out of tight spaces!

Doesn’t work:

java.lang.NullPointerException
at Chloe.loadPics(Chloe.java:153)
at Chloe.init(Chloe.java:114)
at sun.applet.AppletPanel.run(AppletPanel.java:347)
at java.lang.Thread.run(Thread.java:536)

PS, I suggest to everyone who finds an Applet doesn’t seem to work that you check out your “Java Console” (MSIE: Tools/Options “Enable Java Console” and then View -> Java Console) (Mozilla: Tools -> Web Development (sigh, yes, really) -> Java Console) for System.out and System.err.

[quote](Mozilla: Tools -> Web Development (sigh, yes, really) -> Java Console) for System.out and System.err.
[/quote]
Or you could just click on the coffee cup in the System Tray.

i get

Waiting for ID 0
Got ID 0
Waiting for ID 1
Got ID 1
Waiting for ID 0
Got ID 0
Waiting for ID 1
Got ID 1

ignores space here as well.

That’s the console output, what are you using to play it? As for ignoring the space bar, it could just require something as simple as clicking on the applet for it to get focus, but then you’ve no doubt tried that.

ie6.0, Java™ Plug-in: Version 1.4.1_01