Bridge4k [done~ish]

Found a bug, if you rerun the simulation after you have been given the “level passed” message, the level counter is incremented again.

I have two issues. Firstly, the grey stuff looks solid but if I place nodes against it they go through - pretty much forces you to build a suspension bridge because if you undergird it your girders are unanchored.

Secondly, the mouse and key handling is dodgy. The impression I get is that in the event handling method you’re storing whether the button/key is down or not in an array, and in a separate thread you’re reading that array. I don’t think you really care about drags, so I suggest only setting the boolean to true in the event thread and then clearing it in the logic loop.

Abuse: Thanks. I’ll fix the level counter bug. About very late levels (11 and the like): Yeah, you’re right. I didn’t think anybody would bother playing that far, but I’ve been meaning to put a cap on the gap width and instead decrease the amount of money available.

pjt33:

  1. It’s not meant to be solid ground; it’s only decoration. I understand how it may feel odd if you haven’t played a similar game before, though. The game mechanics are more or less taken from Pontifex II, in which you can only use a few “support nodes” as a base for your bridge.

  2. I’m not sure what you mean about the input handling. I know it was previously buggy, but it really shouldn’t be right now. What you suggested as a solution is how it’s already being handled. :slight_smile: Could you give me some specs for your machine, please? It may be that it’s due to the program running slowly (although even that shouldn’t really cause any troubles with the input handling).

Odd. I have a 1.7 Ghz box with Debian testing and some version of Sun 1.6 Java - I think it was using 1.6u10, but I’m not certain and I’d probably have to write an app to print system properties and run it with Webstart from the browser to be completely certain. As I’m just about to go to bed, that won’t happen tonight.

The symptom I found was that I had to hold the button to get it to recognise the click.

Sounds fast enough. :slight_smile:

I’ll look into it some more.

I’m really impressed by this, the physics is much better than I would’ve expected in 4k. I also like your user interface - the circle showing how far an edge can reach is much more intuitive than most games, where you have to click and drag and hope you have room. Having the ball go across twice is a good design decision as well, since it prevents you from using a cheap bridge that falls apart as soon as the ball is through.

Have you considered having levels where there’s more than one ball going across at once?

I’ve uploaded a new version. The physics simulation is still dodgy - I won’t have time to fix that. However, I have fixed a few arbitrary bugs, improved level progression a bit (I hope), and improved UI usability some.

I’ve also submitted the game to java4k.com, so it’ll probably be there shortly.

I might work on this some more, but it’s unlikely that I’ll make any major changes since I’ve started exchange studies in Australia.

Thanks for all the feedback folks! :slight_smile:

Very cool game.
Works great here.

Another bridge game. Kinda fun: http://www.buzzfeed.com/scott/cargo-bridge-game-battle

That’s pretty cool; though after about 20 odd levels it caused the browser to unexpectedly quit :-X

Typical Flash! :slight_smile:

Darn heavy elephants:

http://www.java-gaming.org/index.php?action=dlattach;topic=19622.0;attach=1383;image

20? No, more like straight away when starting the first level… :confused: