Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (416)
games submitted by our members
Games in WIP (306)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Applet templates  (Read 13554 times)
0 Members and 1 Guest are viewing this topic.
Offline Groboclown

Senior Member


Medals: 3
Projects: 1



« Reply #30 - Posted 2010-12-20 17: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
« Reply #31 - Posted 2011-01-02 22: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

JGO Coder


Projects: 6


Java games rock!


« Reply #32 - Posted 2011-01-03 12: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! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline pjt33
« Reply #33 - Posted 2011-01-03 14: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


Medals: 39
Projects: 12


Game Engineer


« Reply #34 - Posted 2011-01-04 00: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
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
BrassApparatus (6 views)
2013-06-19 08:52:37

NegativeZero (10 views)
2013-06-19 03:31:52

NegativeZero (12 views)
2013-06-19 03:24:09

Jesse_Attard (17 views)
2013-06-18 22:03:02

HeroesGraveDev (59 views)
2013-06-15 23:35:23

Vermeer (59 views)
2013-06-14 20:08:06

davedes (58 views)
2013-06-14 16:03:55

alaslipknot (52 views)
2013-06-13 07:56:31

Roquen (73 views)
2013-06-12 04:12:32

alaslipknot (58 views)
2013-06-10 19:30:18
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38
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!