Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (711)
Games in Android Showcase (213)
games submitted by our members
Games in WIP (785)
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 2000 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.

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.


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

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"
Highly available platform. Lots of commerical activity  in this space.

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
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.

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

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

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!
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 Devvie

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:
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.

numerical (380 views)
2017-02-21 07:32:16

numerical (381 views)
2017-02-21 07:31:46

theagentd (495 views)
2017-02-18 13:42:33

theagentd (491 views)
2017-02-18 13:35:16

h.pernpeintner (1657 views)
2017-01-24 22:39:11

h.pernpeintner (1642 views)
2017-01-24 22:38:32

Galdo (2212 views)
2017-01-12 13:44:09

Archive (2166 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2705 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2356 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 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‑
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!