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.
Thanks a lot. :) Started it a couple days ago, and sporadically worked on since then. I did spend a few hours this afternoon fine tuning, and debugging.
Very cool indeed. How long have you worked on this?
Cool, so your Java app can store data in the registry.
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!