Is better programming a 2D game like aplet or like aplication? Could you write advantages and disadvantages of these choices. Thanks
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32765
posted
0
That depends on how you want to deliver it to the players.
Applets can be delivered via a browser (no download or installation involved), but depends on the Java Plugin being installed and configured correctly (which is not always the case). Applets have security restrictions (e.g. you can't access the local disk), which can be worked around, but that again complicates matters.
An application needs to downloaded and stored somewhere on the local hard disk, making it accessible even if no internet connection is available.
A good middle road might be to deliver an application by Java Web Start, thus reaping the benefits of an easy download and install, and the flexibility of an application.
For the actual game code there should be no difference no matter which method of delivery is chosen. [ November 27, 2006: Message edited by: Ulf Dittmer ]