What is the best way to make commands? in a new class or just keep it all in one?
how to display "game over" in this code?
I'm not sure everybody know what you're talking about here. Maybe you should say "Minecraft" instead of MC. This site isn't necessarily intended for questions, so this is probably better posted as a Thread.
Lmfao, java looks so complicated. And even when you call it easy...
I wonder how easily this could be adapted into a Flappy Bird clone. It's pretty much all right there.
Would be neat if this accessed an online dictionary API for words so they don't need to be input.
The UI design looks good for not implementing any sort of static placement code, or structured design classes. UI design is probably the number one thing I absolutely hate about Java. You either have to use some shoddy design class (GridBag, and such), or painstakingly place each component statically in the code. For the most part.
Nice little game.
Can you please tell me how to run it?
just thought i would put this out there that i am in 10th grade basic java making the same game for y final project and it is a lot easier then you are making it i am like half way done in 2 hours and and i am doing it alone, so just because you are in ap does not mean that it has to be this hard and complicated. and BTW to the ones that copied it i hope you fail because if you want to make it anywhere in life do your own work!
What is it supposed to do? I see some GUI components, but nothing to clue me in. Also, I find it to be better to instantiate JLabels (since they provide no real functionality) within the add statement. Unless you plan on adding events to it, it's quicker this way, and saves you a bit of memory. Nice seeing some Java.
@supercapacitor Looks like part of it is still compiled for 1.7: mywindowgui/WindowGUI
@supercapacitor Or rather, Java 6 is Java 1.6. But yes, that is correct.
For some reason the demo doesn't work so you have to download and open in order to run the application.
Java 1.6 is Java 6 right?
I have switched the link to the Java 1.6 version one. https://sites.google.com/site/bouncethegame/downloads/BOUNCE_LW%28J6%29.jar?attredirects=0&d=1
Apps aren't really meant to contain code. They're mainly for linking to a completed project.
Hi. I believe you can use [ code]
tags on your code to keep it clean and indented.
Looks like you compiled it for Java 1.7, but I only have 1.6 available on this machine. It is always best to compile Java apps to work with 1.6 unless it is absolutely necessary to use 1.7.
Check out version 1.4!
I'm going to be changing that soon to make it easier to post multiple code blocks within a single snippet post.
Oh, I didn't know. Thanks for the info!
You can enclose your example in
blocks to make it look nicer.
yep, I'll post some more soon as long the company agrees
Always great to see more Java code on the site.
Since you didn't write the MP3 bit its probably best just to exclude it.
Updated. It now uses the official metric prefixes specified by SI.
Good luck with that!
Yeah, that's just the connection. You've inspired me to do a rebuild of an IRC client I made almost a year ago from the ground up. :)
Just got done rebuilding the Socket architecture to fully support multiple server connections as the bottom layer. Just working on the UI now, which has to change since it's current UI can't support multiple servers very well, if at all. If I can manage to finish that up, all that'll need to be done is the tying up of a few loose ends.
I thought this was normal: whenever I get to "Found your hostname", it seems to freeze for about 10 seconds and then proceeds. It also happens on mIRC. I believed it was caused by the server trying to find my identd so I disabled it, but this was in vain.
Seems a little long winded to just initiate, read, and write. I do suppose some of that is parsing the strings and processing of data though. May be able to hard code in some catch algorithms to automatically reply to Ping calls so the connection doesn't have to rely on outside support to maintain the connection.