Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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 19811 times)
0 Members and 1 Guest are viewing this topic.
Offline Groboclown
« 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

JGO Coder


Medals: 5



« 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!
Legends of Yore - The Casual Retro Roguelike
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

JGO Kernel


Medals: 42
Projects: 11


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.

 

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

The first screenshot will be displayed as a thumbnail.

pw (12 views)
2014-07-24 01:59:36

Riven (10 views)
2014-07-23 21:16:32

Riven (11 views)
2014-07-23 21:07:15

Riven (12 views)
2014-07-23 20:56:16

ctomni231 (42 views)
2014-07-18 06:55:21

Zero Volt (38 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (34 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!