DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
on:
2004-02-04 15:44:16 » |
|
Ah, I've discovered something very entertaining. Hacking together small games that takes at the most two days from idea to completion. Usually I embark on projects that tends to be quiet big and I often end up losing interest in it a long time before it's even playable. But when hacking together a game in a couple of days losing interest never is an issue  . Hopefully it will be fun to later on add features to the small games and by that be able to make something bigger, thus beating my lack of endurance  Anyway, enough rambling, here's the game I made today. The game-play is pretty simple, you move the character Zog with the mouse and have to avoid being hit by the rocks that flies around. http://www.enormousgames.com/subsites/zogsrockingtrouble/zogsrockingtrouble.jnlpI will probably put some finishing touches on it tomorrow.
|
|
|
|
|
Conzar
Sr. Member   Posts: 317
There is nothing common about common sense
|
 |
«
Reply #1 on:
2004-02-04 20:42:10 » |
|
This is the error I get when it starts -- using linux 2.6.1 kernel and blackdown linux 1.4.2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| java.lang.NullPointerException at com.enormousgames.database.mysql.DatabaseInterface.makeStatement(DatabaseInterface.java:110) at com.enormousgames.database.mysql.DatabaseInterface.<init>(DatabaseInterface.java:64) at com.enormousgames.projects.zogsrockingtrouble.logic.MainLogic.<init>(MainLogic.java:54) at com.enormousgames.projects.zogsrockingtrouble.ZogsRockingTrouble.main(ZogsRockingTrouble.java:21) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sun.javaws.Launcher.executeApplication(Launcher.java:837) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:797) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:675) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:390) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199) at com.sun.javaws.Launcher.run(Launcher.java:167) at java.lang.Thread.run(Thread.java:534) |
|
Ubuntu
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #2 on:
2004-02-04 21:28:31 » |
|
java.lang.NullPointerException
at com.enormousgames.database.mysql.DatabaseInterface.makeStatement(DatabaseInterface.java:110)
at com.enormousgames.database.mysql.DatabaseInterface.<init>(DatabaseInterface.java:64) [...]
Same error. 1.4.2_03 win98se.
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Java Cool Dude
JGO Ninja    Posts: 680
Java forever
|
 |
«
Reply #3 on:
2004-02-04 21:41:08 » |
|
/me is in the same league
|
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #4 on:
2004-02-05 00:15:50 » |
|
Hm ok, must have been trouble with the webhotel, it has been unreliable the last two months. On the otherhand the game shouldn't chrash just because it couldn't connect to the highscoredatabase  . I've made a quick change so it shouldn't chrash, will look into it more seriously later on today.
|
|
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #5 on:
2004-02-05 00:24:51 » |
|
Interesting that you came to this idea, I reached the same conclusion about games a while ago and started doing 40 hour projects ( http://www.newdawnsoftware.com/40hrweb/). Thats where Warlock came from.. Kev
|
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8073 Medals: 91
Eh? Who? What? ... Me?
|
 |
«
Reply #6 on:
2004-02-05 01:59:48 » |
|
AWESOME GAME! It's just... brilliant in concept! And I should hope so too, because it has a fundamentally very similar mechanic to Invasion of the Jellies! (Except you can't shoot...) Cas 
|
|
|
|
Orangy Tang
JGO Kernel      Posts: 2959 Medals: 37
Monkey for a head
|
 |
«
Reply #7 on:
2004-02-05 02:25:40 » |
|
Interesting game, but... didn't I see this exact same game (but with simple coloured squares) in an applet a few days ago? Was that yours as well or did you happen to get the idea from it?
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #8 on:
2004-02-05 05:15:08 » |
|
Orangy Tang: no I stole the idea from a javascript version of the game. Princec: look above  kevglas: nice to see that I'm not the only one with that problem  I'm planning to add features to the game next, so the game won't be a total rip-off and Orangy Tang can sleep well tonight 
|
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #9 on:
2004-02-05 10:11:06 » |
|
Ok, I've uploaded a new version with bonus features. A bonus feature pops up after a while and you pick it up by simply draging Zog over the feature. To activate the picked up feature you press a mouse button. One of the features is evil so if you get that you'll have to decide whatever it is an idea to use it and be able to get a new one or not.  The features will need som tweaking so suggestions is most welcome.
|
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Conzar
Sr. Member   Posts: 317
There is nothing common about common sense
|
 |
«
Reply #10 on:
2004-02-05 14:07:48 » |
|
Cool. Nice game. Did you use java2d or jogl or what??? Just wondering. Oh yea, the guy yelling kinda gets on your nervs  And by the way --- I've got the high score -- hur ra!!!!!
|
Ubuntu
|
|
|
Mojomonkey
JGO Ninja    Posts: 540 Medals: 3
ooh ooh eee eeee
|
 |
«
Reply #11 on:
2004-02-05 15:05:11 » |
|
Wow! I found myself playing repeatedly. It's amazing how fun something so simple can be. Good job!
|
Don't send a man to do a monkey's work.
|
|
|
ChrisM
JGO Neuromancer     Posts: 1181 Medals: 17
END OF LINE.
|
 |
«
Reply #12 on:
2004-02-05 17:46:37 » |
|
Love this kind of game. Simple, quick and addictive.  -ChrisM
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #13 on:
2004-02-06 00:18:12 » |
|
Conzar: It's plain java2d. And damn you for stealing the firts place!  I'll have to beat your score later today.
|
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #14 on:
2004-02-06 01:36:22 » |
|
84.64 Hm. The collision detection isn't perfect. It's just simple bounding box stuff right? Well, it seems to be a bit "off". However, it's a nice game 
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #15 on:
2004-02-06 01:45:52 » |
|
Jupp simple bounding box. The rocks can go into the character a little bit, which is intentional to give more of a "I'm the king of the world" felling while playing. What exactly felt off?
|
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #16 on:
2004-02-06 03:25:58 » |
|
Hm... if you look at the character and asumes that the bounding box is just a box wich exactly encloses the character (image size heh)... it's exactly that way in the upper area but it isnt that way in the lower area. E.g. the rocks can flow through your legs but if they just came near your head you die  Also the bounding box should not be able to leave the screen ... I mean it should be always completly on the screen.
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #17 on:
2004-02-06 03:52:46 » |
|
Yeah I took a look at it, right now the boundingbox looks like this.  So the head is indeed pretty exposed.  Maybe I'll add some more advanced collision detection later on, it'll have to do for now though 
|
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #18 on:
2004-02-06 04:00:20 » |
|
 Ah yea... that looks better... it's as expected plus a little buffer zone 
|
|
|
|
moonpxi
JGO n00b  Posts: 38
Java games rock indeed!!!
|
 |
«
Reply #19 on:
2004-02-08 06:54:12 » |
|
Oh....how I hate you for doing such an addictive game!!!
Argh...I..must...keep..playing!!!
|
Moon Pxi, a NerdCorper
|
|
|
princec
« League of Dukes » JGO Kernel      Posts: 8073 Medals: 91
Eh? Who? What? ... Me?
|
 |
«
Reply #20 on:
2004-02-08 08:25:08 » |
|
*cough* found serious bug... hold down left mouse button whilst playing  (Hence you find me mysteriously at the top of the hiscores list! Hehe) Cas 
|
|
|
|
oNyx
JGO Kernel      Posts: 2943 Medals: 5
pixels! :x
|
 |
«
Reply #21 on:
2004-02-08 09:23:05 » |
|
*cough* found serious bug... hold down left mouse button whilst playing  (Hence you find me mysteriously at the top of the hiscores list! Hehe) Doh... dragging out of the screen 
|
|
|
|
moonpxi
JGO n00b  Posts: 38
Java games rock indeed!!!
|
 |
«
Reply #22 on:
2004-02-08 14:38:38 » |
|
*cough* found serious bug... hold down left mouse button whilst playing  (Hence you find me mysteriously at the top of the hiscores list! Hehe) Cheater!!!  You know, cheaters never win!!! Wait....hmmm...they DO win...and rather quickly.... 
|
Moon Pxi, a NerdCorper
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #23 on:
2004-02-09 06:17:49 » |
|
lol! Convenient bug, just hide Zog and go for coffe and when you come back you'll have a nice highscore  The bug is fixed now anyway and I have deleted the highscores that seemed to be cheats. So moonpxi it seems like in the end cheaters don't win 
|
|
|
|
|
Jens
JGO Ninja    Posts: 575
Java for games!
|
 |
«
Reply #24 on:
2004-02-11 12:17:50 » |
|
I didn't even cheat, when I made the highscore. I think the stones were too slow.
|
|
|
|
DrBizzar0
Full Member   Posts: 175
Raj raj!
|
 |
«
Reply #25 on:
2004-02-11 13:58:41 » |
|
ok, so slow that you could have gone on forever? And you didn't by any chance get alot of snail rock features?
|
|
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #26 on:
2004-02-12 07:05:16 » |
|
A boring game, I thought, although I was grateful for a game I could play for just a minute, since I'm usually too busy to play any normal games. (...5 minutes later, having found the highscore table and the powerups...) Grr. Must. Beat. Score! I'm now forcing myself not to try again (or I'll never get backto work  ), but here are a few simple suggestions for improvements you might like:
- Don't center the initial positions of the rocks AND the "start game" dialog! I die three times every time I try to start a new game
.
- Make the counter move faster when zog's not moving - kill two birds with one stone: takes too long to get going for some people, and also staying still is a skill.
- ...or even: Make the counter accelerate when zog's not moving, then reset to normal speed when he stops - this rewards anyone who can predict (or thinks they can) where all the rocks are going to move. Adds the spice of playing "chicken" with the rocks ( can I get away with this pending collision? Dare I stay still, and preserve the fast counter, or move and live to fight another day?)
- perhaps hard-limit the rocks speed to a slightly lower max speed, if you introduce new features, so that people have more time to compete on the new features rather than raw speed / luck.
- Display a countdown timer showing how much longer you need to survive to get one tick higher on the high scores table. Cruel, but..
. Obviously, this needn't be 100% correct, just correct as of the last synch to the highscore table. Also show your current position on the highscores table...
Oh, and rocks bouncing off each other as well as the walls would be nice, increasing the difficulty. Perhaps, after say 100 seconds, it switches to this mode (makes it much harder to predict where rocks will go, AND means the amount of "safe" screen space is constant; at the moment there are times when there is more safe space because of overlap)
|
malloc will be first against the wall when the revolution comes...
|
|
|
blahblahblahh
JGO Kernel      Posts: 4575
http://t-machine.org
|
 |
«
Reply #27 on:
2004-02-12 07:10:54 » |
|
Interesting that you came to this idea, I reached the same conclusion about games a while ago and started doing 40 hour projects ( http://www.newdawnsoftware.com/40hrweb/). Thats where Warlock came from.. Kev Nooooooo! ZIP'd JAR! You *sinner*! (is there a need for these ZIP's? What?) To be honest, I would happily click a jar on a webpage (opens automatically because I've set up the association), but I can't be bothered to:
- Click on link
- Wait for mozilla (slow app) to display save as dialog
- Find somewhere sensible to save to
- Save the ZIP
- Open up a new terminal window
- Navigate to relevant directory
- type "unzip blah"
- (possibly move to a new subdirectory, happens often
)
- Find filename of jar file
- type java -jar blah.jar
PS Please continue developing the 1942 clone; my addiction to that game is so strong that even though I haven't played your version, I'm sure you're onto a good thing here 
|
malloc will be first against the wall when the revolution comes...
|
|
|
kevglass
« League of Dukes » JGO Kernel      Posts: 5214 Medals: 49
Mentally unstable, best avoided.
|
 |
«
Reply #28 on:
2004-02-12 07:47:43 » |
|
<THREAD JACK> Fraid it's all be left behind like so many other my projects, filled my 40 hr quota tho  Zipped Jars, I know know! I have been converted honest, this was before WebStart was really available properly and before I realised the error of my ways.. However, my other sin is laziness, and hence no updates shall ever get done  </THREAD JACK> Kev
|
|
|
|
Jens
JGO Ninja    Posts: 575
Java for games!
|
 |
«
Reply #29 on:
2004-02-12 08:29:48 » |
|
ok, so slow that you could have gone on forever? And you didn't by any chance get alot of snail rock features? I created the highscore (I think it was 32x.xxx) before there were features. For the last couple of times I played, it was OK. Is the snail rock feature supposed to make the stones slightly slower? At least I don't see any visible effect. Time freeze and the immaterial thing works fine.
|
|
|
|
|