Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  Print  
  Applet templates  (Read 8420 times)
0 Members and 2 Guests are viewing this topic.
Offline Groboclown

Jr. Member
**

Posts: 95
Medals: 2



« Reply #30 on: 2010-12-20 11:57:23 »

Which method calls fail if we do not do this?
I don't know about what failure your code is encountering, but I'm guessing it's a NullPointerException when trying to access the applet Graphics.  For me, it looked like my code was stopping when it encountered the applet not being ready, so nothing was rendered other than the default update() routine.

Offline h3ckboy

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #31 on: 2011-01-02 16:48:45 »

hey, I know this is an old thread, but it might be a good idea to copy the agreed upon best template to the OP for ease of access.
Offline luisoft

Sr. Member
**

Posts: 286


Java games rock!


« Reply #32 on: 2011-01-03 06:43:40 »

I agree with that. There were lots of discussions of what is the best template and I couldn't realise which was the final product.

Also, we have several 4k resources spread in different sites, like programming tips, compressor tools, it'd be great if we have everything in the same place. I'd suggest to have everything in java4k.com site. Not sure if it'd be too much work to set a wiki section where we could contribute with documentation.

We could have sections like: Templates (both applets and app (last competitions)), Programming tips, Compressor, Tutorial (could add stuff from http://www.ahristov.com/tutorial/java4k-tips/Visual-effects-index.html), Games (this one we already have) - also in this section we can have a link of the source code of the games whose authors allowed it to be published)

Any other thoughts?
Games published by our own members! Go get 'em!
Offline pjt33

JGO Strike Force
***

Posts: 913
Medals: 17



« Reply #33 on: 2011-01-03 08:26:12 »

I think it would be good to have a template shoot-out - not just putting up code, but putting up a basic applet using them too - so that we can get a handle on which templates work for OS X, and on other possible issues.

Mine is at http://www.cheddarmonk.org/java4k/skeleton/
It seems to have an inconsistent bug with IcedTea / Firefox / Linux, but there doesn't seem to be a way to get a console and see whether there's a stack trace. Grr.
Offline Eli Delventhal
« League of Dukes »

JGO Kernel
*****

Posts: 3573
Medals: 44


Game Engineer


« Reply #34 on: 2011-01-03 18:05:49 »

I think it would be good to have a template shoot-out - not just putting up code, but putting up a basic applet using them too - so that we can get a handle on which templates work for OS X, and on other possible issues.

Note to self: put up a demo with http://www.java-gaming.org/topics/preliminaries-tentative/21403/msg/175207/view.html#msg175207 when I get home.
Very good point. I think the templates on this page aren't even Mac OS X -  compatible, so 90% of the games are unplayable. It would be good to get these tested and figure out what actually works for everyone.

See my work:
OTC Software
<br />
Currently Working On:
Secret project...
Quote from: _Riven
I edit JGO in production, because I simply don't waste time writing bugs
Pages: 1 [2]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.081 seconds with 21 queries.