Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / Miscellaneous Topics / Re: Statistics project: Please take a few seconds to answer! :) on: 2012-03-13 00:47:35
Age? Race? Gender?What is your favorite genre of music?
48, Caucasian, MaleHeavy/Death/Black/Speed metal
2  Game Development / Game Play & Game Design / Re: Asteroids Like Game Ideas? on: 2012-02-09 18:15:49
Atom Smasher

Instead of asteroids, make them atoms. As you fire electrons at them, they split when the # of electrons exceed a certain value. Based on number of protons and number of electrons each atom can have a 'charge' which effects how it interacts with other atoms. So, the whole system is based on a 2D gravity physics. Just like the original asteroids, you can have an enemy ship that comes out and shoots protons, which would destroy your 'Atom Smasher' ship and effect the paths of the atoms. Or, you could just have rogue protons that drift through from time to time. You could have enemy ships/particles that come out, hover for a few seconds, then emit a gravity wave. Maybe when the atom get's small enough and you hit it for the last time, it leaves an 'energy particle' behind that you must collect before another atom 'consumes' it. After you have collected enough energy particles, use them to create a black hole and 'warp' to the next level.

Hmmmm, maybe I'll write my own version.
3  Discussions / General Discussions / Re: Raspberry Pi ultra-low-cost ARM based computer (about the size of an USB key) on: 2012-02-06 16:30:56
RCA composite video out !?!? Wow, haven't seen that since my first computer, a Sinclair ZX81 from 1979.
I'll have to keep an eye on this one, it looks so cool.
4  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-21 17:24:46
yes, the same version that Riven confirmed here is also at Java4K.

I've noticed there is a download count at Java4K, but I can't find
a download button anywhere so I can verify the jar file is correct.

This has me baffled, I've only got one copy of the jar file on my computer,
so the two files should be identical.
5  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java real-time raytracing (?) on: 2012-01-21 01:21:32
If that is truely raytracing each frame, bravo !!!
As a math geek I've always been interested in raytracing.

I didn't see any FPS printed, but it was choppy and appeared to be about 3-4 FPS, whether shadows or reflections were on or not.
I have an old Dell Dimension @ 2.1GHz, WinXP Home Edition 2002 SP3.
I'll run at work (newer faster computer) on Monday and let you know.

Ed
6  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 16:38:03
If you mean how did I make it compile for 1.6 when all I have is JDK 1.7 ...

I'm using Eclipse Indigo as my IDE.
Under Project->Properties->Java Compiler I checked the "Enable project specific settings".
There is a drop list for "compiler compliance level", which I changed to 1.6
This also changes the "generated .class files compatibility" to 1.6

Then I clicked "Apply" and OK.
I have auto-build enabled so after the dialog closes the project is re-built.

For command line people, the option for javac is -target [release]
7  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 16:24:38
Sorry for all the confusion, and thank you for verifying this for me.
It is greatly appreciated.
8  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 16:11:38
I appreciate your help Riven.

The file I have on my computer has the CAFEBABE followed by 00 00 00 32.

I tried to delete the file from MyFiles, and then upload the new one.
Apparently, it's keeping the old one.
9  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 15:52:12
OK, thank you Riven. I don't how you did that, but I'll have to research eclipse and find out why when I set the target to 1.6, it still generates 1.7.
10  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 15:36:37
OK, just recompiled and ran it with JRE6.
I've uploaded the new file, please tell me if it works with 1.6 plugins.
11  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 15:16:31
Yes, but I set the compiler target to 1.6.
12  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 14:57:55
Working now, thank you Riven
13  Games Center / Archived Projects / Re: My first game - Digits on: 2012-01-20 14:50:25
For some reason, it doesn't load. Decline the permission and click on the link to Java4K.
14  Game Development / Newbie & Debugging Questions / Re: putting applets in a post on: 2012-01-20 14:48:38
I tried posting in the showcase, but it didn't work. I have uploaded my file and I qualified the class correctly with package.classname

It's entered at Java4K, and working there, so maybe I'll just post a link in the showcase.
15  Games Center / Archived Projects / My first game - Digits on: 2012-01-20 14:44:12
[applet archive=digits4k.jar class=KidAgainGames.Digits4K width=600 height=600]

My favorite electronic game as a kid. Let's see if I posted this correctly.

Click the game to focus.

Enter a 3, 4, or 5 digit number and press enter.
The game will remember how many digits you entered and show you how many digits are correct and how many digits are in the correct sequence.
Enter your next guess, same number of digits, but don't hit enter.
Keep guessing, using deductive reasoning, until you guess the number.
When you guess the correct number, the display will start flashing.
Hit 'R' to reset the game at any time.

Have Fun

Posted in the Java4K contest http://java4k.com/index.php?action=games&method=view&gid=381
16  Game Development / Newbie & Debugging Questions / putting applets in a post on: 2012-01-20 01:15:07
Is it possible? I've uploaded my jar file, and tried the applet button, but I'm not seeing anything in the preview.
17  Game Development / Newbie & Debugging Questions / Re: JFrames and JPanels on: 2012-01-14 01:58:21
You have 3 different JPanels, and none have been added to the JFrame.

backGroundPanel is created and never added to a JFrame, so it will never appear.

newField is created inside your drawPracticeField constructor, but never added to anything. Therfore, when the constructor exits, new field gets destroyed.

addField gets created, but never gets added to a JFrame, so it will never appear.

Could you describe what you think each panel is supposed to do ?
18  Discussions / General Discussions / Re: Programming language decisions on: 2012-01-13 01:15:17
Is there something in java that you personally don't like, or hate, for that matter? Something I should be vary of, invest learning in the beginning, and so on?

I wish Java had delegates like C#. But, you can implement that with Interfaces in Java and it doesn't really apply to games.

Java doesn't have a preprocesser ( as far as I know ), so it's difficult to have conditional compiles.

Java also doesn't have an alias for namespaces ( whoops, I meant packages ), not a big deal, but I use it in C#.

Working all day writing C#, come home and write JAVA, I mix up the keywords ( bool <> boolean, lock <> syncronize, package <> namespace, etc).

For any language, learn everything you can about multi-threading. Learn about every trap you can and how to avoid them.

If you get to the point where memory becomes an issue ( or if your bored and have some free time ) learn how the garbage collector works, especially for value types ( primitives and structs ) as opposed to objects.
19  Game Development / Game Play & Game Design / Re: your turn / my turn logic on: 2012-01-04 16:45:52
I think I finally have my "head around it" now. That is the type of solution I was looking for.
I'll have to add some thread sync, but I think I'm off and running again.

Thank you everyone for your quick answers.

Ed
20  Game Development / Game Play & Game Design / Re: your turn / my turn logic on: 2012-01-04 14:22:44
I'm new to java too. I feel weird being the one giving advice for once x:

Don't feel weird, it's good advice, and appreciated.

I had considered a simple boolean flag to notify the computer player thread to actually make it's move.
For some reason that seems "amateur" to me, and I thought there might be some other, more elegant
solution that I had never seen before. But, sometimes the simplest solution is the best.
21  Game Development / Game Play & Game Design / your turn / my turn logic on: 2012-01-04 13:58:03
Hello everyone,

I am writing a simple abstract game in an attempt to learn java programming, and eventually Android apps. I have been a windows/C++/C# programmer for over 20 years, but I am new to java. I have a solid understanding of the language, threads, GUI, etc.

My question is, how do I implement the state machine logic for a game where there is an initial welcome screen, which switches to the game screen, and allows the user to make a move, then the computer, then the user, etc.

I'm looking for a tutorial that goes beyond "Hello World" or "How to start a background thread". I just can't seem to get my head around the state machine logic for a simple game like tic-tac-toe.

I'm hoping someone has a link to a tutorial for a "your turn/my turn" type of game.

Ed
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (21 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (68 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!