?
Solved

Is javax.swing good enough for pro quality RTS?

Posted on 2014-07-26
4
Medium Priority
?
211 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 28

Accepted Solution

by:
dpearson earned 2000 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 28

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

719 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