Solved

Is javax.swing good enough for pro quality RTS?

Posted on 2014-07-26
4
187 Views
Last Modified: 2014-08-06
Hi
Many of you know I am working on an RTS

All current RTS games are in 3D.

In my senior year, I made a 2D RTS, which was no problem in java.awt. But, I didn't have units on top of scenery graphics, just on a white Frame, as it was a networking exercise, really.

Even tho I am on the indy RTS trajectory, is javax.swing powerful enough to handle full screen 3D animated game graphics? I'm sure I don't even anticipate how amazingly complicated it is, but is it doable? for all platforms the same quality, Windows, Mac?
Thanks
0
Comment
Question by:beavoid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
dpearson earned 500 total points
ID: 40221756
The simple answer is "no".

The only professional grade game I know of that uses a Java front end client is Runescape (http://www.runescape.com/).
They initially did it as a Java applet - not sure what tech the front end is today.  But it's definitely the exception, not the rule and it's an RPG not an RTS (so much lower processing requirements).

Doug
0
 

Author Comment

by:beavoid
ID: 40227816
Really.
Thanks
What would your instinct say?
RTS unit mpeg and jpeg tile handling scenery is doable in a JFrame?
Maybe if I personally flip through the animation frames in code?
0
 
LVL 27

Expert Comment

by:dpearson
ID: 40233405
You can certainly build it and make it run using Swing.  But will it be high quality?  I would think not - at least you'll need to work very very hard to make the frame rates reasonable.

Doug
0
 

Author Comment

by:beavoid
ID: 40237860
Hi Doug. Thanks for the sobering truth!

Also, :) read this..
I have been reexamining this cunning plan to do state on the server (safe server). I have all the build-up pre-game parts working.

Does a safe server need to run on its own machine? My safe servers always explode if I mix server and client on one machine. Will I have enough machines to run servers on for all my players globally?
Let's say, unlikely, but even so, if I got 1,000 simultaneous games in play. I'd need 1,000 server machines? That sucks, what about millions of games? I guess that's why Blizzard and Microsoft do server on one of the client machines, for a packet distributing server gameplay - which is how my first RTS worked, btw, and it was relatively uncomplicated. What if my game created, in web-start, from my own code in a certain server.class file on my web-server-directory , the client's play-window? - So that that player had to play from my code?

Is there any way to stifle hackable play? without needing thousands of server machines!
If I create my SAFE server on a client machine, it explodes with so much networking. So, that's no good.
This is hopeless.
:)
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question