Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Gaming in Java applets

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Jayesh Doolani
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic