Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (491)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  New to Java  (Read 1326 times)
0 Members and 1 Guest are viewing this topic.
Offline msouza

Junior Newbie




Java games rock!


« Posted 2004-01-30 17:46:13 »

I've always been interested on learning Java -- Applets in particular -- so that I could write my own simulations/games in such a way that they're widely distributed. I've programmed using VB (including some single-player gaming, but stopped because I hated VB language), C++ (never got graphical on it), DHTML (errr... if you can call HTML/JS/CSS a "programming language"), and some server-side Web dev. stuff (CGI, ASP, CFM, PHP).

Just today I have finally downloaded and installed the SDK, etc., and wrote my first "Hello World" application and applet. I have a decent background on programming, game programming, including lots of game physics, yet I lack the basic Java knowledge. I thought of getting a book on it, but am not sure which way to go, since my focus is, at least at first, Applet/Games.

Any suggestions? -- This could be books, websites, etc., or any thoughts in general on how I should approach the "next step". Thanks in advance. Wink
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #1 - Posted 2004-01-30 18:25:40 »

Welcome to the bord Smiley

Just get a book. It doesn't really matter wich one you pick (as long as it's kinda recent). Once you've understood the basics of the language, you can move on. Then you can buy another (specialised) book or learn from online resources (like this bord Wink).

弾幕 ☆ @mahonnaiseblog
Offline Jeff

JGO Coder




Got any cats?


« Reply #2 - Posted 2004-01-30 19:41:47 »

Its important to understand the different flavors of java so yo uknow yo uare learning the right stuff. Allthough the basic language syntax remains the same, the facilities available change a lot between all of the following:

Java 1.1 APPLETS

Pros: embed directly in the web page.  All browsers come equipepd to deal with them.

Cons:
Must  be programmed in Java1.1 (a very old dialect).  Applets have seriosu limits  on what they can do for security reasons. These limits can be gotten aroudn with "signed" applets but this takes a certificate from a certificate provider like Verisign and the cost isn't insignificant.

Java 2 APPLETS

Pros:  
Can use a modern dialect of Java (the latest if you want.)

Cons:
The same security restrictions as JDk1.1 Applets.  Requries you deploy with Java PlugIn.  User must either have already installed a mosern JRE or you need to make them download and install one. (JREs are kidna big currently though not as big as the JDK.)

Cell Phone CLDC/MIDP1.0 "Midlets"
Pros:  
Highly available platform. Lots of commerical activity  in this space.

Cons:  
CLDC/MIDP1.0 is even more limited and primative then JDk1.1  Some cell phones have very serious size  limitations on Midlets.  Distribution is 100% controlled by the cell phone dialtone providers.  They generally will only talk to major publishers so you will need to go through one of them.

Java Webstart Applications
Pros:
Can use the latest version of Java. Can be launched either from a web page or outside of the browser.  Caches code on the suer's side and manages updates for you reducing or eliminating subsequent download times after the first use.  Much less limited security model then Applets.  Can gain full system on user approval access without an expensive certificate.

Cons:
Can't embed  in the HTML page (they klaunch in their own frame.)  Requries user have insatlled a recent JRE or that you make the user download and install one. JNLP files (what describes your program to Webstart) are not the most obviosu things in the world to figure out.  To make really easy for all users requires that you have control over the web server or that someone who does installs the JNLP mine-type.

Full Applications on CD-ROM

Pros:
Can chose any  JDK version you want and install it. Can use any extensions you want and install them as well.  

Cons:
Cant web deploy except the way you deploy traditional apps (web installers and the like.)


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline msouza

Junior Newbie




Java games rock!


« Reply #3 - Posted 2004-01-30 20:12:25 »

Thanks for all the input so far. I've bought a book online and will wait for it to get here.

For now I'm shooting for learning the language syntax, etc., which will probably be done through something other than applets (a "regular" application), and then I'll move into applets to work on the simulations and simple games I have in mind.

Once done with these, I might go deep into applications (non-applets), but for now I believe the applets will suffice, as I believe its security limits aren't going to be an issue while developing my projects.

Once again, thanks! If anyone has anything else to add, please feel free to do so.
Offline nonnus29

Senior Member




Giving Java a second chance after ludumdare fiasco


« Reply #4 - Posted 2004-01-31 00:02:41 »

Using Java2 you can get really fast frame rates even in applets if the user has the latest jre in stalled.  

Check out Adam Kings tutes here:

http://www.gamedev.net/reference/list.asp?categoryid=20#119
Offline msouza

Junior Newbie




Java games rock!


« Reply #5 - Posted 2004-02-02 01:50:42 »

Thanks nonnus! Those tutorials have been a really good start before I get the book. It seems like they're for Java 1.1 though, as some things on it are deprecated, such as size(), which is now getSize(). Everything else seems to work so far. Thanks a lot!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (29 views)
2014-08-22 19:31:30

atombrot (41 views)
2014-08-19 09:29:53

Tekkerue (39 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (25 views)
2014-08-16 06:20:21

Tekkerue (36 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!