Hey guys, I'm pretty far into making a networked top-down shooter but I feel that my code has begun to suffer from crude code done by myself to keep the code working together on different threads. In simple terms, here's the main concern: I have a thread (clientListener) that receives messages from the server and that will thus have to interpret those messages. I have a main class called Main (clever eh?) that contains the main game loop and the menu system for connecting to the desired server. My problem is that I need to find out on the main thread if the client was accepted by the server which would be on the main thread to figure if it should then prepare the screen for running the game. What is a good way to do so?

if(clientListener.acceptedByServer) {// Removes all of the connect components// Will load map instructed to by server and display thatthis.removeAll();} else {statusLabel.setText("Rejected from Server: "+clientListener.reason);}

I think that I will change the enter and r keys to mouse buttons instead. It would be nice not to have to use the keyboard. All that's left now is to finish making the levels I guess and fixing any more bugs I find.

Runs too fast to really see what's going. You should probably limit updates per second Also my balls(squares?) sometime flew outside the window and I couldn't finish the level. Otherwise promising looking game

Really? It does have a frame limiter, not sure why it's doing that to you. Oh and I probably should have included that R resets the level.

I slowed it down a bit more and added in a result screen (I think that's what you mean by too fast). I also tested it on a different computer and it ran fine. Might have been a bug in my frame limiter first time around

Alright, after coding into the night (and having school tomorrow ) I was finally able to put together a working demo of the game in its current state with 6 levels to play with that sample most of the concepts.

Alright, so I haven't been too active around here but I have been working on a submission to Javak4k. I originally found this forum and competition last year but I was too late to join so here I am this year.

This whole game is basically using physics to get your box to bounce the orange box into the circular goal. You must do this while staying under or at a certain par.

Alright, so in my engine there is a texture 512x512 that is being used on a map of points 512x512. The problem lies when the heights of the points are changed, the texture seems to not stetch to fit the change in height. The texture then appears see through and you can see the rest of the map. Is there a specific property I need to set for the texture?

Hey all, this is my first real posting so I hope that this is in the right section (typical newbie remark).

So I've been thinking about how to do this and could not really figure out how. What I want to do is allow people to have the option of playing an applet game on their desktop and not just online. Is this possible? If so, what kind of class would I need to create to properly launch it?

Im sorry but why I am being referred to so much? Did I do something wrong?

I've been visiting these forums for a few months now just because I think they're interesting and have been trying to get into Java game development. I'm not sure if I came off wrong by the 2 posts I've made but they were simply just to give a little feedback on other people's games. I don't believe they were negative or insulting and I'm sorry if they came off that why because I did not mean it that way.

[size=12pt]EDIT:[/size] After doing some more reading in this thread, found out it was a placeholder tag. For a minute there, I thought everyone hated me for some reason

Not sure if you know but in practice mode once you reach the other planet it doesn't do anything except keep spinning you around it. Just thought it was supposed to reset itself or send you to a new level.

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