Sign in to follow this  
johnnyMakesGames

Are Java applets bad for browser games?

Recommended Posts

brandonman    102
I wouldn't see why. I have nothing against applets, and in fact, kind of like them. If you mean people would prefer flash, I still wouldn't see why a player would care.

Share this post


Link to post
Share on other sites
Quote:
Original post by brandonman
I wouldn't see why. I have nothing against applets, and in fact, kind of like them. If you mean people would prefer flash, I still wouldn't see why a player would care.


My own thought is the game is the main thing. As long as the technology is not too obtrusive (and I don't think applets are), then maybe it doesn't matter. Thanks.

Share this post


Link to post
Share on other sites
Promit    13246
Quote:
Original post by brandonman
I wouldn't see why. I have nothing against applets, and in fact, kind of like them. If you mean people would prefer flash, I still wouldn't see why a player would care.
Maybe because Flash pops right up, which Java slows down the machine loading, displays an idiotic tray icon to explain to you that you're using Java, and decides that it wants to update itself whenever?

Just a guess.

Share this post


Link to post
Share on other sites
Tenac    124
Well, there is one game I know of that is a java applet and is very popular, RuneScape http://www.runescape.com/
I don't like the game personally, but it has made millions of dollars. The reason people play is is pretty obvious to me: It's easily accessible from any computer, portable on all OS, and it's an MMO game.

Share this post


Link to post
Share on other sites
Quote:
Original post by Promit
Quote:
Original post by brandonman
I wouldn't see why. I have nothing against applets, and in fact, kind of like them. If you mean people would prefer flash, I still wouldn't see why a player would care.
Maybe because Flash pops right up, which Java slows down the machine loading, displays an idiotic tray icon to explain to you that you're using Java, and decides that it wants to update itself whenever?

Just a guess.


Cute, but most people have the icon hidden by default. You can also use Ajax to load the applet in another thread so it doesn't lock up your browser.

OP: Why don't you look into Webstart? Applets do suck in the fact that they use the browser to do the graphics rendering.

Share this post


Link to post
Share on other sites
Hodgman    51220
Quote:
Original post by johnnyMakesGames
Are they any kind of automatic turn off to folks?

Yeah. Java Applets are a pet-hate of mine, for pretty much the reasons promit listed. I'd much prefer people to just use javascript if it's possible.

I guess I'd get over it if some tech that was suited to Java (i.e. less suited to JS/Flash) was being used, like 3D graphics ;)

Share this post


Link to post
Share on other sites
Quote:
Original post by Karan Bhangui
Quote:
Original post by Promit
Quote:
Original post by brandonman
I wouldn't see why. I have nothing against applets, and in fact, kind of like them. If you mean people would prefer flash, I still wouldn't see why a player would care.
Maybe because Flash pops right up, which Java slows down the machine loading, displays an idiotic tray icon to explain to you that you're using Java, and decides that it wants to update itself whenever?

Just a guess.


Cute, but most people have the icon hidden by default. You can also use Ajax to load the applet in another thread so it doesn't lock up your browser.

OP: Why don't you look into Webstart? Applets do suck in the fact that they use the browser to do the graphics rendering.



What does webstart do that applets do not? Sorry. I've never used webstart. Main thing is I need to access a database.

Share this post


Link to post
Share on other sites
Aldacron    4544
FYI, Sun has finally undertaken major improvements to applet support in their JRE with a completely new architecture. For starters, each applet gets its own VM external to the browser. This eliminates the infamous browser-freeze. It also allows developers to pass VM options on the command line, something not possible under the old model. Another feature that is currently branded 'experimental' is the ability to drag an applet out of the browser window to the desktop. And Webstart now works seamlessly with applets and applications. You also get hardware acceleration via OpenGL or DirectX for Java2D and Swing. All of this (and more) is coming in Java 6 update 10, which is currently available for download as an early access release.

Additionally, both JOGL and LWJGL have support for applets, allowing you to use OpenGL directly. The latest beta of LWJGL eliminates the need to go through an AWT component by embedding a native window in the applet, which makes it easy to toggle fullscreen mode.

All of these applet improvements are great, but they should have come long ago. Sun is also addressing JRE deployment issues in 6u10 with some nice new features, making it easier to get website visitors updated in a painless fashion. I've no idea how all of this will play out on the Mac, though, which is a big consideration for indies.

Share this post


Link to post
Share on other sites
Aldacron    4544
Quote:
Original post by johnnyMakesGames
What does webstart do that applets do not? Sorry. I've never used webstart. Main thing is I need to access a database.


Applets run in a security sandbox, applications do not. And up to now, Applets also run in a shared VM instance inside the browser. Webstart allows you to deploy a normal desktop application from web page without the same restrictions that applets have. It also will automatically check for updates every time the application is launched.

One of the applet restrictions is that network connections can only be opened to the IP which served the applet. So if your database is on a server separate from your web server, then you'd likely be better off with Webstart.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this