Solved

Is javax.swing good enough for pro quality RTS?

Posted on 2014-07-26
4
178 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
  • 2
  • 2
4 Comments
 
LVL 26

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 26

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
factorial example challenge 10 62
noX challenge 17 76
JAVA part two 5 41
maven example error 3 36
Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

758 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now