Solved

Is javax.swing good enough for pro quality RTS?

Posted on 2014-07-26
4
200 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 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 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

622 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