Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  
  The Rules  (Read 5382 times)
0 Members and 1 Guest are viewing this topic.
Offline ShannonSmith
« Posted 2010-04-14 19:33:55 »

1) The game must be 40x30 or 30x40 pixels in size or a nearest neighbour integer scaled up version.
2) The game can only use a maximum of 16 colours for any single frame chosen from the 64 colours of the EGA palette.
3) The game must be deployed as an applet.
4) The game must run in the standard Java applet sandbox without triggering any security exceptions.
5) Must be a playable game not just a demo/video.
6) Target JRE is 1.5+

Not strictly required but in the interest of trying to get all the entries on a single screen it would be nice if:
1) Display a title screen with click to begin followed by requestFocusInWindow().
2) Be able to handle any applet container size with integer pixel scaling to fill the required space.
3) Monitor focus and pause the game and any audio when focus is lost.
4) Have all resources bundled into a single jar file.
5) Instructions if needed should be provided in game.

Contest ends at midnight (GMT) 31 August 2010, no formal judging at this stage but we may have a forum poll or possibly get some judges before the end.

Anything I've left out?
Offline pjt33
« Reply #1 - Posted 2010-04-14 20:19:31 »

Instructions (if needed) should be in-game.
Offline Wyrframe

Senior Newbie





« Reply #2 - Posted 2010-04-14 21:27:46 »

Attached is a Photoshop Swatches file for the EGA palette; handy for those of us drawing any of our graphics. It's an .ACO file in a .JAR archive due to the upload restrictions.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline fruitmaze

Senior Member


Medals: 3
Projects: 2



« Reply #3 - Posted 2010-04-14 21:35:04 »

2) Be able to handle any applet container size with integer pixel scaling to fill the required space.

So a resizable applet is not required? In my game I'm thinking of using png-images, created in a painting program, so the sprites got a fixed size.
Offline ShannonSmith
« Reply #4 - Posted 2010-04-14 21:42:08 »

Quote
Instructions (if needed) should be in-game.
Good idea I'll add that one.

Quote
So a resizable applet is not required? In my game I'm thinking of using png-images, created in a painting program, so the sprites got a fixed size.
You can assume the applet will be a fixed size and a multiple of 40x30 and you can use getWidth()/40 as your fixed pixel scaling. I will post an example Applet template this weekend, and I'm sure many other examples will also be posted. Given the progress some people are making already we will probably have a substantial resources/templates thread before long.

Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #5 - Posted 2010-04-15 00:27:41 »

3) The game must be pure Java.

I hate to be the one that opens a potential can of worms, but what exactly does this mean? I assume you mean "no native libraries" (dll etc.) and not "no JRuby, Jython etc."? Perhaps something along the lines of "Entries must consist solely of bytecode that runs on a 1.5+ JRE"? (although that may have other implications I've not yet figured out).

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline ShannonSmith
« Reply #6 - Posted 2010-04-15 00:48:02 »

Quote
I hate to be the one that opens a potential can of worms, but what exactly does this mean? I assume you mean "no native libraries" (dll etc.) and not "no JRuby, Jython etc."? Perhaps something along the lines of "Entries must consist solely of bytecode that runs on a 1.5+ JRE"? (although that may have other implications I've not yet figured out).

I did intend it to mean no native libraries, but it is really trumped by this requirement anyway:
5) The game must run in the standard Java applet sandbox without triggering any security exceptions.

I have removed the rule. Your free to use anything that works without security exceptions in the 1.5 JRE applet sandbox.

The rules are simply to clarify the theme limitations and provide the best play experience for users. If anything is not 100% clear then common sense and adhering to the spirit of the contest should point you to the right answer.
Online Roquen
« Reply #7 - Posted 2010-04-25 11:45:29 »

What about any in-game mouse cursor?  Limiting the colors is easy, but what about the position when up-scaled?
Offline ShannonSmith
« Reply #8 - Posted 2010-04-25 18:01:21 »

You ask a good question,  my gut feeling is that if you are going to use mouse input the OS cursor should be disabled (set blank) and you are responsible for drawing your own cursor on the 40x30 pixels available. Anyone got any other suggestions on the best way to handle this?
Online Roquen
« Reply #9 - Posted 2010-04-25 19:38:28 »

Oh.  Software rendering!  A novel idea...(I'm off to kick myself now).
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Markus_Persson

JGO Wizard


Medals: 14
Projects: 19


Mojang Specifications


« Reply #10 - Posted 2010-04-26 07:19:35 »

Would sub-pixel mouse input be acceptable, or does that need to be on even pixels only?

My gut feeling would say the latter.

Play Minecraft!
Offline ShannonSmith
« Reply #11 - Posted 2010-04-26 15:37:49 »

It's hard to imagine a game where the mouse resolution being higher than the display resolution would make any difference, plus it would be very difficult to enforce. Perhaps I should add a rule that the game must be playable with no upscaling.
Online Roquen
« Reply #12 - Posted 2010-04-26 16:13:56 »

Something like miniature golf, pool, etc.  Anything that the input depended on mouse motion and/or precise movement.

For what I'm think of doing, requiring it to be playable unscaled could be tricky.  I'll have some hit-boxes that are as small as single pixel.
Offline zammbi

JGO Coder


Medals: 4



« Reply #13 - Posted 2010-05-26 12:37:32 »

Would JavaFX be allowed?

Quote
The game must be 40x30 or 30x40 pixels in size or a nearest neighbour integer scaled up version.
Could you clear this up. Am I allowed to have a larger applet size but still have the game 40x30 pixels? E.g have the applet window of size 800x600 but have the game centred in the middle of 40x30 (then I could have a scale option in game).


Current project - Rename and Sort
Offline zammbi

JGO Coder


Medals: 4



« Reply #14 - Posted 2010-05-30 08:21:26 »

Bump.
I wouldn't mind trying making one in JavaFX so I would like to know if this is allowed.

Current project - Rename and Sort
Offline ShannonSmith
« Reply #15 - Posted 2010-05-30 20:37:10 »

Sorry, have been offline for the last few days.

JavaFX would be ok, as long as it doesn't trigger any popup dialogs. You can do any integer scaling nearest neighbour up-scaling in the applet container provided, so you could do a black-bordered 40x30 in a 800x600 container if you like. I'm not going to be super strict on the rules as long as you stick to the intent of the contest.

The end result we want to head for is a single page with all the entries that should just work for the vast majority of internet users without any popups or exceptions assuming they have the Java plugin installed. I think we will also use a bit of Javascript to display some text instructions for the currently selected game and users should be able to switch back and forth between any of the games without any adverse effects. It may require several iterations to get it right but I think it will be super cool if we get it done.

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.

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

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

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

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

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

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

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

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

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

Riven (56 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!