woogley
JGO Neuromancer     Posts: 1098 Medals: 5
|
 |
«
on:
2005-12-02 13:05:01 » |
|
|
|
|
|
|
Morre
JGO Ninja    Posts: 507
I'm Dragonene on IRC.
|
 |
«
Reply #1 on:
2005-12-02 13:28:09 » |
|
Perhaps you should add the submission link here as well, just to be on the safe side. The submission process and rules were so confusing last year that I reckon it's worth it 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #2 on:
2005-12-02 15:44:18 » |
|
From what I understand from those rules, applets are allowed? Sweet! =D I've changed my mind about not joining the competition. I just can't stay away. 
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Alan_W
JGO Ninja    Posts: 734 Medals: 8
Java tames rock!
|
 |
«
Reply #3 on:
2005-12-02 16:06:47 » |
|
From what I understand from those rules, applets are allowed? Sweet! =D I've changed my mind about not joining the competition. I just can't stay away.  Great news. I really liked Hunters4k and Dungeon4k last year and look forward to shouting "how the **** did he do that" again this year 
|
Time flies like a bird. Fruit flies like a banana.
|
|
|
Morre
JGO Ninja    Posts: 507
I'm Dragonene on IRC.
|
 |
«
Reply #4 on:
2005-12-02 16:27:38 » |
|
Yay, Markus is back in! The good news: Markus is back in. Better games, thus twice the fun! The bad news: There goes the chance for the rest of us 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #5 on:
2005-12-02 16:43:21 » |
|
Quick question about the rules;
Does the application have to quit gracefully under "normal" conditions, or is it ok to kill it by, say, throwing an uncaught exception?
|
|
|
|
woogley
JGO Neuromancer     Posts: 1098 Medals: 5
|
 |
«
Reply #6 on:
2005-12-02 16:50:08 » |
|
markus: first off, yes, applets are allowed (the submit page hints at them even). second, I don't see a problem with throwing the exception... what's the worst that could happen? 
|
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #7 on:
2005-12-02 17:12:37 » |
|
second, I don't see a problem with throwing the exception... what's the worst that could happen?  The worst that could happen is that the game doesn't quit. Keep in mind that the Java APIs create threads all over creation, some of which will stop the application from exiting. Besides, creating and throwing an exception won't save much at all over "System.exit(0)". Depending on the design of your game, System.exit() may actually compress better. 
|
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #8 on:
2005-12-02 17:15:51 » |
|
Ah, but you can let IOExceptions from reading data files just fall out of main this way. They shouldn't happen if the data file is present so you don't really want to catch them anyway  Its definitely cheaper than try, catch, exception, exit. Kev
|
|
|
|
Anon666
Sr. Member   Posts: 256
aka Abuse/AbU5e/TehJumpingJawa
|
 |
«
Reply #9 on:
2005-12-02 17:19:40 » |
|
Or *accidentally* generate a NullPointerException..... or an ArrayIndexOutOfBoundsException or a.... or a..... 
|
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #10 on:
2005-12-02 17:20:06 » |
|
Yeah.. "oops". 
|
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #11 on:
2005-12-02 17:21:31 » |
|
pah, you're going to write a 4k game so complicated that you haven't already tested all paths of execution by this point. And hell, even if you did, at least you'd get the stack trace  Kev
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #12 on:
2005-12-02 18:26:21 » |
|
Ah, but you can let IOExceptions from reading data files just fall out of main this way. They shouldn't happen if the data file is present so you don't really want to catch them anyway  Its definitely cheaper than try, catch, exception, exit. True. As I remember, I actually introduced that little trick of adding "throws Exception" to the main method. (Primarily because I didn't like Abuse's method of hacking the initializer thread to run his game.) Getting an unexpected exception seems unlikely if you've properly tested your code. I think what Markus was getting at was exiting the game using a trick like this: "String blah = null; blah.toString();" That just smacks as bad programming practice to me. He may save himself all of 10 bytes, but I'm going to be staying away from that one with a ten foot pole. 
|
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #13 on:
2005-12-02 18:28:20 » |
|
God I hope not! Thats so disgusting it didn' t even occur to me.... *Kev goes to change his code 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #14 on:
2005-12-02 18:50:55 » |
|
Yeah, because writing a game in 4k is all about "good programming". 
|
|
|
|
nonnus29
JGO Ninja    Posts: 687
Giving Java a second chance after ludumdare fiasco
|
 |
«
Reply #15 on:
2005-12-02 19:04:01 » |
|
Yeah, because writing a game in 4k is all about "good programming".  Yeah, but if your coding an applet, does it matter? 
|
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #16 on:
2005-12-02 20:36:35 » |
|
Yeah, because writing a game in 4k is all about "good programming".  I've said it before and I'll say it again: The entire point of contests like this is not to break the rules. The point of contests like this is to show your mastery by knowing when to break the rules. IMHO, using creative algorithms, sophisticated toolkits, and space saving programming practices of ways of breaking the rules in a "good" way. I draw the line at anything that smells like a hack, as it's bound to get you in trouble. (As oNyx learned the hard way with the sound bank.) 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #17 on:
2005-12-03 06:46:34 » |
|
Writing a game in 4k _is_ a hack. There's no way around that.
Nothing about this contest is about good programming in any way, it's about hacking.
|
|
|
|
Morre
JGO Ninja    Posts: 507
I'm Dragonene on IRC.
|
 |
«
Reply #18 on:
2005-12-03 07:05:50 » |
|
Why do you guys turn this into such a big deal? Let everyone do as they want, and then we'll see what works. It's 4k, the rules should obviously allow this kind of hack, although not everyone may like it. I myself use System.exit(0) 
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #19 on:
2005-12-03 11:17:55 » |
|
Why do you guys turn this into such a big deal? Who's making it into a big deal? We're just having an intelligent dicussion about the best way to create 4K games.  There's nothing in the rules that says you can't pull every hack you can possibly come up with. It's just that if the judges have difficulty running your entry, it'll seriously hurt your score. 
|
|
|
|
Morre
JGO Ninja    Posts: 507
I'm Dragonene on IRC.
|
 |
«
Reply #20 on:
2005-12-03 11:19:02 » |
|
Agreed, thus, let him have his hacks. If they work, it's fine, if they don't it's not your problem anyway 
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #21 on:
2005-12-03 17:47:09 » |
|
It didn't kill the awt thread(s) anyway, so I'm back to System.exit(0).  Talk about pointless argument. 
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #22 on:
2005-12-03 22:23:00 » |
|
[...]I draw the line at anything that smells like a hack, as it's bound to get you in trouble. (As oNyx learned the hard way with the sound bank.)  Hey. It was a gray area, because that bit was completely left open. Since the contest was from devs for devs I assumed it would be fine to rely on the soundbank (which is there by default with the sdk/jdk). This year I certainly wont use any sound (only ~90 bytes left anyways) 
|
|
|
|
arne
JGO Strike Force    Posts: 956 Medals: 1
money is the worst drug- we should not let it rule
|
 |
«
Reply #23 on:
2005-12-05 05:52:10 » |
|
There's this issue with a Java Application box, when the app isn't signed. see http://www.java-gaming.org/forums/index.php?topic=11654.0I think it should be one of the points the games should get judged at, because it's much less fun to play a game, where you don't (or might not) see important information. Examples are LadyBug and Speed. Arne
|
|
|
|
Rick
Full Member   Posts: 106
Java games rock!
|
 |
«
Reply #24 on:
2005-12-05 15:18:40 » |
|
I did not realize this was an issue. I had compensated in the LadyBug game on windows as the box appears at the bottom. So I left some blank spacew at the bottom that could be safely covered up. I guess you screen shot is from a Mac or linux platform. I could always add some blank sace at the top as well. I hate to have to sign my game not only does it waste space it also makes me grant permission for the game to run. Who knows what the game will do. I much prefer to see a game that needs no protected calls so will run with out the need to be signed.
|
|
|
|
|
mlk
Full Member   Posts: 123
Muppet!
|
 |
«
Reply #25 on:
2005-12-08 12:12:31 » |
|
Woohoo, yummy games to play. Boo, so little time at the moment! 
|
|
|
|
Morre
JGO Ninja    Posts: 507
I'm Dragonene on IRC.
|
 |
«
Reply #26 on:
2005-12-08 12:25:23 » |
|
Agreed, lack of time is a problem, although this is the last day with lots to do in school  After today, I might find the time to create a few more games, perhaps better ones at that (better than my old games that is, they still won't be anywhere near comparable with some of the other games in this contest).
|
|
|
|
DonaldEKnuth
Full Member   Posts: 127
|
 |
«
Reply #27 on:
2005-12-08 21:43:57 » |
|
I have a question about the rules. It doesn't say which the minimum resolution used by the judges will be. I am creating an applet and thought that I would make it 768px wide so that I would have some game space. I thought that "everyone" used at least 800*600 now days. Is that all right or should I go for something smaller?
Everyone seems to be designing really small things, which made me think that it's an implicit rule which you have agreed on during earlier years? (This is my first time in the competition.)
|
|
|
|
jbanes
JGO Neuromancer     Posts: 1178
"Java Games? Incredible! Mr. Incredible, that is!"
|
 |
«
Reply #28 on:
2005-12-09 01:08:11 » |
|
There's no rule about resolution. These young wipper-snappers seem to think that we're all still 15 and can read the tiniest screen without eye strain. God forbid that anyone should figure out how to scale images! </grumpy-old-man>  1024x768 or greater is a pretty safe assumption these days. Any developer running at less than that needs his head checked. (Especially his eyeglass perscription.) Any user running at less than that is WAAAAAAYYY behind the curve.
|
|
|
|
Markus_Persson
JGO Kernel      Posts: 2092 Medals: 10
Mojang Specifications
|
 |
«
Reply #29 on:
2005-12-09 03:26:26 » |
|
it'd suck to make a 1024x768 game and get rated down because "didn't fit the screen on my <obscure laptop>", so I'd also like to hear an official ruling on this.
|
|
|
|
|