hvor2
Junior Member  
Beyond mind, there is an awareness...
|
 |
«
Reply #30 - Posted
2005-12-05 11:56:48 » |
|
Markus, maybe this will sounfd familiar to you, but I have to say it - awesome! No time to write, i have to play some more!
|
|
|
|
Markus_Persson
|
 |
«
Reply #31 - Posted
2005-12-05 12:01:10 » |
|
haha, woo
Thanks for your kind comments, all. =D markus.ego++;
|
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
f.l.x
|
 |
«
Reply #33 - Posted
2005-12-05 13:49:04 » |
|
have just scrapped my to-be entry, too heavy for a newbie 
|
|
|
|
nonnus29
Senior Member   
Giving Java a second chance after ludumdare fiasco
|
 |
«
Reply #34 - Posted
2005-12-05 14:07:16 » |
|
The bar truly is much higher this time around. There are some really great games in the contest and I'm almost ashamed to continue with my own entry  Of course that's not the point, you should finish your game, or start another....  It is clear the gameplay is at a much higher level this year though. The more the merrier! I'm have trouble getting past level 3, curse this game, I need to do other things  .
|
|
|
|
|
DzzD
|
 |
«
Reply #35 - Posted
2005-12-05 14:50:24 » |
|
Yes, awesome! great idea and great game. I did not win level two  , but I will  !!! This game remember to me Lemmings, maybe you could add creatures abilities, limited and applicable by clicking creatures? climber... Bruno
|
|
|
|
kul_th_las
Guest
|
 |
«
Reply #36 - Posted
2005-12-05 17:35:50 » |
|
Hey, this game doesn't work on my Mac at work. With a single-button mouse, normally you Crtl+Click to get the equivalent of a right mouse button, and there's a way to check for that in Java. Are you not using the "KeyEvent.isPopupTrigger()" method to detect right-mouse button clicks? 'Course I'm assuming you're using AWT/Swing, but maybe not.
|
|
|
|
|
|
|
Morre
|
 |
«
Reply #38 - Posted
2005-12-05 19:02:56 » |
|
I'm done with that exam, I think I passed (yay), and now I have time for 4k.
Again: Great addition to this year's contest, truly, and also loads of fun. You've changed your tactics, obviously, from high-tech to gameplay, and it works just as well. I'm as impressed with this one as I was with your games from last year, and I find myself wondering what you will come up with next. Good work!
|
|
|
|
swpalmer
|
 |
«
Reply #39 - Posted
2005-12-05 19:40:51 » |
|
ah.. mac..
it gets worse... I just fired it up on my powerbook - with a USB 3 button mouse. It is unplayably slow. The levels time out well before it is possible to complete because everything is moving so slowly. What image format are you using?
|
|
|
|
Games published by our own members! Check 'em out!
|
|
tom
|
 |
«
Reply #40 - Posted
2005-12-05 19:42:35 » |
|
Defenetly needs a reset button. Ran out of gold on level 6. Some workers are stuck in the gold pyramid. So all I can do is wait 30 min so that I can start over. A pause button would also be nice.
Fantastic game. My favorite so far.
|
|
|
|
|
|
Markus_Persson
|
 |
«
Reply #42 - Posted
2005-12-05 20:41:56 » |
|
1 2 3
| BufferedImage img = new BufferedImage(640, 480, BufferedImage.TYPE_INT_RGB); Graphics gr2 = img.getGraphics(); int[] pixels = ((DataBufferInt)img.getRaster().getDataBuffer()).getData(); |
Runs insane-o fast for me.
|
|
|
|
Alan_W
|
 |
«
Reply #43 - Posted
2005-12-05 21:04:56 » |
|
I use getRaster too. However I found that all awt operations with the BufferedImage as the destination go really really slow on OS X (I think it keeps doing format conversions on the whole image), so look out for any of those.
|
Time flies like a bird. Fruit flies like a banana.
|
|
|
Rick
Junior Member   Projects: 1
Java games rock!
|
 |
«
Reply #44 - Posted
2005-12-05 21:24:28 » |
|
Try using
g.getDeviceConfiguration().createCompatibleImage(...);
to create the bufferedImage It takes a few more bytes but for me in doubled my frame rate.
|
|
|
|
|
Markus_Persson
|
 |
«
Reply #45 - Posted
2005-12-05 22:59:13 » |
|
New version!
* Control + left mouse button acts as right mouse button * Stopped drawing to the raster, had to add double buffering (ate a lot of bytes, but might be faster on mac now.. let me know) * Added another level after the last one as a "reward". It's twice as deep as the biggest level so far, and is meant as a sandbox playaround level * Pressing "k" will kill all le^H^Hminers so you can restart the current level * Exactly 4096 bytes!
|
|
|
|
swpalmer
|
 |
«
Reply #46 - Posted
2005-12-07 06:07:48 » |
|
1 2 3
| BufferedImage img = new BufferedImage(640, 480, BufferedImage.TYPE_INT_RGB); Graphics gr2 = img.getGraphics(); int[] pixels = ((DataBufferInt)img.getRaster().getDataBuffer()).getData(); |
Runs insane-o fast for me. It is much faster now on Mac, but still seems harder than when I play on Windows. btw, I think Mac prefers TYPE_INT_ARGB_PRE
|
|
|
|
Markus_Persson
|
 |
«
Reply #47 - Posted
2005-12-07 11:26:24 » |
|
I really should work in some kind of proper timing instead of just a Thread.sleep(10)
|
|
|
|
jojoh
|
 |
«
Reply #48 - Posted
2005-12-07 12:31:49 » |
|
I am sure you must be really tired of hearing this, but: Great Game!!! It feels really complete. Feels quite nice to controll hords of "le^H^Hminers"  I noticed that it is quite important to have a good mouse to play this. I had pluged in my USB mouse via a converter to the ps2 port a while ago because I had run out of usb ports. Don't know if it was the mouse or the plug, but it made the game completley impossible to handle. Plugged in another mouse to a USB port and made it much better. I think it would be a nice feature to be able to alt-mouseclick to something to smoothe the surface/make it straight. Miners count is slightly hidden by the frame on my webstart window (anything possibly above it completly hidden). Maybe just move down the info text a few pixels. Best gameplay so far!
|
|
|
|
Anon666
Junior Member  
aka Abuse/AbU5e/TehJumpingJawa
|
 |
«
Reply #49 - Posted
2005-12-07 12:50:06 » |
|
I really should work in some kind of proper timing instead of just a Thread.sleep(10)
yeah, the speed makes it bloody hard on my home PC &_&
|
|
|
|
|
hvor2
Junior Member  
Beyond mind, there is an awareness...
|
 |
«
Reply #50 - Posted
2005-12-08 16:33:07 » |
|
Hmm.. now game is almost unplayable... After lets say 1 min of playing miners started to move approx. 3 - 5 times slower (and time remaining to complete level pass at same rate). Then, 1 min later, they regain original speed, but only for few secs, and so on... I simply can beat the level with SLOW miners 
|
|
|
|
|
|
hvor2
Junior Member  
Beyond mind, there is an awareness...
|
 |
«
Reply #52 - Posted
2005-12-09 13:43:15 » |
|
Markus, i am not complining on how bad gamer i am... I really think that there is bug of some soft. These miners have never had slowdowns before (2-3 days before). Or they are supposed to change their running speed (to crawling  )?
|
|
|
|
hvor2
Junior Member  
Beyond mind, there is an awareness...
|
 |
«
Reply #53 - Posted
2005-12-09 14:09:30 » |
|
Either you changed something or it was false alarm... Now things look as they should and i filnally passed lvl 3 
|
|
|
|
Markus_Persson
|
 |
«
Reply #54 - Posted
2005-12-09 21:02:35 » |
|
I'm working on a version with fixed speed (I have no idea why I didn't do that from the start..). Should be done tomorrow.
|
|
|
|
Serph
Junior Newbie
|
 |
«
Reply #55 - Posted
2005-12-13 22:30:45 » |
|
Well I won http://img199.imageshack.us/img199/194/screenshot0105na.jpgOn level 7 can't win  because of this problem http://img199.imageshack.us/img199/9806/screenshot0113pk.jpg(The problem is I can't mine deeper) Notch please allow us to miner deeper so I can stop suiciding my miners in boredom  I noticed once you have several thousand gold, your pile of gold goes past the concrete floor. Making it difficult to get back up. Its pretty hard to play with a touchpad on a laptop. Could you make it a bit more user friendly for us laptop users in 4k? Finally please can we have a nicotine free version? I've been wearing the patch trying to quit (too addictive) Or you could fullfil our cravings by making the levels endless and harder each time? As each new level I need an increased difficulty to satisfy my cravings.
|
|
|
|
|
Markus_Persson
|
 |
«
Reply #56 - Posted
2005-12-14 11:09:42 » |
|
I noticed that bug myself.. sloppy coding, I'm afraid.
I haven't had time to work down the latest version under 4kb, and I'm going on a two week vacation after today
|
|
|
|
nva225
|
 |
«
Reply #57 - Posted
2005-12-15 07:25:29 » |
|
Wow, this game is really cool; I would have no idea even how to begin making this (well maybe beginning, but not far past that) under the 4k limit. It's a unique game too, and with simple, fun controls.
But as much as I hate to say it, there are speed problems. On an 850 mhz computer I can just barely beat level one (last time I had 1 second left), but if I go over to my 2 ghz computer I can win with 30-40 seconds left easily. It's a significant difference.
There's two options I can think to work around this: 1. Separate processing and graphics - I'm assuming the graphics are holding it back because it's pure Java2D. The framerate would be lower in some cases but it would be more playable. Also, are you using BufferStrategy? From what I saw of your code it didn't look like it, though that method has always worked well for me. 2. Slow the game clock down. If you need to, approximate the timer to seconds during a "normal" computer speed, and work based on that. Every tick of the clock should be when a frame updates, that way you'll know an exact number of frames will have passed over the course of the level, and everyone will have had effectually the same time.
|
|
|
|
|
Malohkan
|
 |
«
Reply #58 - Posted
2005-12-17 20:45:37 » |
|
Wow I have just spent a LOT of time playing this game  Levels 1-3 were very very good. I really felt like I was learning strategy and skill for the game. Then I got to the level with slime, and I tried the idea of sending 1-3 guys in to suicide near the start and take out nearby slime balls, and then I just essentially made a bigger and bigger U shape to get to all the gold. In the previous levels I made tunnels and worked out strategy to convince my guys when to go down and went to go up. In this level I just made a big U and tried to go as fast as I could since I had sooo many guys. I was racing against the clock essentially to keep up with the rising slime. So I beat that level and felt lucky and also felt like I didn't use as much skill. I can't remember if the slime level is 3 or 4... but when I got to 6 and it said I wouldn't beat it.. yeah... it was right  I just could move fast enough really. Wow, fun stuff. I didn't experience any fluctuations in speed, it was all very constant for me with no spikes surprisingly. In the first few levels I could manage to keep up and with enough tries beat the levels, however past that there was just too much motion too fast to organize. I think making the whole game just a LITTLE bit slower would be nice. Or a button to change the speed even. All in all, great game! Amazing for 4k for sure. Good job  Dec 18 12:02am EDIT: I keep playing the first few levels over and over  I get to the level with slime and close the game. Dead miners make me sad so I don't want to deal with the slime haha. Dec 18 11:33pm EDIT 2: I think I have an idea that I would enjoy! Perhaps instead of explode on slime, you could make it impassable and instead you have to take rock to the slime and deposit it to build a wall around it to contain it? Or perhaps exclude the rock part but every time a miner runs into slime, he changes one pixel of it to metal and turns around like he hit a wall... or just like it works with gold deposits, but instead of taking a pixel you simply "change" a pixel. That way you'd have to get a lot of miners on slime to stop it from spreading and keep it from covering up more gold and getting more in the way. I think that could be doable. The general code I have in my head suggests that you could take the bytes you have for the exploding on slime action and code in the "deposit metal" action instead. Hopefully that wouldn't take too much space. Either way of course you don't actually have to do this, but I much prefer "handling" the slime to killing poor little miners 
|
|
|
|
[ERROR]
Senior Newbie  Projects: 1
|
 |
«
Reply #59 - Posted
2005-12-20 12:52:21 » |
|
this game rox. cool game play
|
|
|
|
|
|