It's not a secret anymore!*
The moose likes Applets and the fly likes Gaming in Java applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Gaming in Java applets" Watch "Gaming in Java applets" New topic
Author

Gaming in Java applets

Jayesh Doolani
Greenhorn

Joined: Aug 07, 2011
Posts: 10
Hello guys,
I am planning to make a simple Alienshooter game in java applets. Can you guys guide me how to make it. I am not new to programming world.
I just need you to help me out with resources from where I can learn java gaming and how to play flash and sound files in java applets.
Looking forward for your help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
"Play flash" - you mean as in "Adobe Flash"? That's not going to happen.

You can play sound using the javax.sound API.

For a very simple example applet game to get you started: Tetris


Ping & DNS - my free Android networking tools app
Jayesh Doolani
Greenhorn

Joined: Aug 07, 2011
Posts: 10
"Play flash" means I want to import swf files in java applets. Is it possible??
Secondly, are there any 3rd party software tools to help me build games in java??
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
SWF: Not in the general sense. You can use the JMF library to play Flash 2 files, but I think that's from about 10 years ago - not sure it's useful today.

Tools: Depends. What should that tool do? Various graphics and animation libraries are available, if that's what you're asking about.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Gaming in Java applets