LoneStranger

LD11

Games, Java, Baseball and Tomatoes

I’m going to give the LD48 a shot this time around.  It’s been years since I have actually attempted any kind of game coding, and I yanked out my old Killer Game Programming in Java book this week and started going through the chapters again.  The personal challenge with this compo is that there is a baseball game (KC at Oakland) on Saturday that I’m going to attend.  That’s a huge chunk of hours out of the 48.  Perhaps I can come up with a way to make them useful.  Design? Sketches? We’ll see.

At least I don’t have to plant my tomatoes this weekend.  I did that yesterday.  I turned some half-barrels into self-watering planters.  If anyone cares, I’ll have pictures on my home blog, www.lonestranger.net, later this week. 

So I’ll probably use the design patterns from the aforementioned coding book and code in Java.  I’m using Eclipse as an IDE.  I have used Eclipse for some of my work coding in J2EE, but I didn’t know about it the last time I was messing around with game coding.  It’s nice to be able to get the method completion and object browsing that you can do in VS, only not using VS. 

The last LD48 that I did enter was way back in late ’01 or so, for LD48_2: Construction/Deconstruction with a minor in Sheep.  I’ll have to dig out that old fossil if a game that I submitted.  It sucked.  In short, all you did was huck sheep from one side of the screen to the other, knocking over bales of wool.  But I guess the real success was that I completed something in 48 hours.  It’s a challenge in itself.

Anyway.  Good luck to all!

Tags: baseball, java, ld48_11, ld48_2, tomatoes

Comments

21. Jul 2008 · 07:46 UTC
How often do you yourself play basball and what position, or do you just write about it?

Under 23 hours to go….base code

Like I said in my entry earlier this week, I’ll be using code from the book Killer Game Programming in Java. I took the example from Chapter 12 and stripped out all the game logic, graphics and sounds, leaving the game loop and the classes related to images and sounds, etc. 

LD48_11_LoneStranger.zip

I’m really looking forward to this compo.  I am going to try to get out of work a little early so I can head on over to the grocery store and pick up a take-and-bake pizza for dinner.  I’m not totally set on the toppings yet, but I may go with some fancy mushrooms and maybe some sausage or something. 

Tags: basecode, ld48_11

(T-00:03) Friday Dinner – Pizza

Sausage and Portabella Mushroom Pizza

Sausage and Portabella Mushroom.  We got the sausage pizza from the Supermarket and added the mushrooms.  Yum!  Now, only moments away from the theme….

Tags: foodphoto, ld48_11

Comments

PoV
18. Apr 2008 · 22:58 UTC
Phony anchovies. 😀

Minimalllslslsleleslslslslssssssssst

I made a list of the probable theme winners yesterday and I pretty much had ideas for all of them.

Except Minimalist.

So I’ll probably just take one of my other ideas…. and minimize it.

Oh well.  Time to get crackin’.

Tags: game, ideas, ld48_11, minimalist

(T+42:55) Update – New Screen shot, homestretch?

I’m behind where I want to be, but I’m still chugging along.

LoneStranger LD48_11 Screenshot 2

So, it’s not really obvious from the screen shot, but this is not your usual Breakout game.  The idea is the same; the ball bounces and removes the bricks.  The catch is that you aren’t controlling the paddle.  The computer is.  Your job is to build up the wall and protect the goal at the top of the screen.  You do so by buying different types of bricks and deciding where to place those bricks for the best protection.

I’m not sure if I want to ‘scale back’ the graphics to make it look more minimalist, more in line with the hollow ball and paddle.  I think I’ll be able to get at least a basic game ready to play before the deadline.  I can see myself adding more things into post-LD revision later on.

Tags: breakout, ld48_11, screenshot

(T+48:48) Final Entry: BlockOut v0.LD48_11

LD48_11 Screen Shot #3

BlockOut v0.LD48_11
LoneStranger – 04/20/2008

This is by far not what I wanted it to be. There are only two brick types implemented, but I think its enough to get the idea of the game I wanted to do.

I wrote it using the Sun JVM version 1.6.0, however, it should work with version 1.5.0. It will not work with 1.4.2, because it needs the System.nanoTime() method.

My game is like Breakout… only in reverse.  The object of the game is to protect the goal from the bouncing ball by placing bricks on the field of play.  Bricks cost money, which you earn by playing and the computer’s misfortune.

The ball will bounce around and the computer will attempt to keep it in play. The player gets points/money for each couple seconds the game is going. If the ball leaves the field of play through the bottom, the player gets bonus money.

If the ball leaves the field of play through the top goal, the game is over and the score is reported.

I know the collision on the bricks from the side isn’t the best. I have some solutions in mind but not time to implement them.

You can download the game from my website and the code as well.

[Update] I used Eclipse as my IDE, and Photoshop to do the graphics.  That’s all the tools I used.  Oh, except for this pen and scratch paper.

[Update 2] I changed the above link to the zip version of the download.  The jar just wasn’t handling some pathing stuff right.  I’ll check into it for the eventual post-LD release.

Tags: , BlockOut, breakout, final, ld48_11

Comments

21. Apr 2008 · 09:51 UTC
I had trouble running this (on Linux, Java 1.6) with the command: java -jar BlockOut.jar .
21. Apr 2008 · 10:32 UTC
Ok, I think I see the same problem on my machine too. In the last minute scramble to get it packaged, I neglected to try it outside of my bin folder. I’ll try to work on this tonight. In the meantime, everyone just extract it and then run the jar.
21. Apr 2008 · 15:15 UTC
I updated the link to the zip version of the package. I couldn’t get it to grab the class files in their package folder from inside the jar, even if it launched using the Game.class from that same folder. Instead of spending more time to fight it, I’m just going to let people download the zip and unpack it to their file system to run.

LD12

Ludum Dare 48 Hour Challenge #12

[this is a crosspost from my own blog that is in /planet as well, but I think it needs to be here to declare my intent to enter… and because it’s compo related. :) ]

It’s time again.  Seems like just a short bit ago I was working on LD48 #11, and maybe it was.  The contests are on a much better schedule now which should help in participation. 

I’ve been keeping myself busy working on a reborn and re-imagined project from back in ’03.  I’ll probably release more info on that when I have something good to show off.  If we get a compatible theme, perhaps some of the work on LD48_12 can be reassigned afterward to my other project.  Honestly, working on that project the past week has kept my skills and mind frame in the perfect place for the LD48.

Last time around I had to take time out from the alotted 48 hours to attend a baseball game.  I won’t have that problem this year, though I am in the mood for a good egg and bacon breakfast at a local joint Saturday morning.  I hope to remember to take a picture of that for the food compo.

This time around isn’t going to be much different than last time.  I’m going to use mostly the same tools as before:

  • Java 6 SDK
  • Eclipse 3.3.2 IDE
  • Photoshop CS2
  • HP OfficeJet 6450 All-In-One for scanning doodles
  • No Fear Energy Drink (Go Boris Said #60!)
  • Everlasting Gobstoppers
  • mIRC for chattery
  • Killer Game Programming in Java and the base code I used from last compo.

The only thing we need now is a theme!

Good luck, and see you in 1 day, 9 hours and 48 minutes! 

Update: I can add my Rock Band microphone to the list above.  Maybe sound effects this time!  See you in 1 day and 30 minutes!

Tags: ld48_12

Friday Dinner – Polish Sausages

Friday dinner for LD48_12

Friday dinner waiting for for LD48_12.  Polish sausages with peppers, onions, kraut and a little mustard.  Peas, salad and criss-cut fries as well.

Tags: foodphoto

First Sketch

My first sketch of a tower game

Here’s my first sketch of a tower game.  You’re the dude on the tower.  The baddies are on the left.  They’ll be working their way to the right to attack your tower.  Not totally original, but it’s something I think I can make fun.  That’s always been the biggest hurdle in any “out there” game idea I come up with.

Now I just need to start working on the Java objects to represent these game objects.

Tags: ld48_12, sketch

Saturday Breakfast

LD48_12 Saturday BreakfastSure, it’s almost lunch time, but I thought I’d post what I ate this morning.

Bacon, Eggs, Hashbrowns, Toast and Biscuits and Gravy.  My wife had blueberry pancakes and helped me eat the B&G.  You can see baby Hunter in the upper corner.

 

Tags: foodphoto, ld48_12

Comments

09. Aug 2008 · 16:19 UTC
Food for 20 (hungry) people! O__O
09. Aug 2008 · 16:43 UTC
Yea, this place always give you tons of food. I had been craving this breakfast for a couple weeks now, and I was not going to wait any longer, LD be dammed!

Saturday Dinner – Chinese

cheap chinese food

Here’s my dinner for today.  Cheap chinese food; barbeque pork and orange chicken with chowmein noodles.  Oh, and my wife stopped at another chinese food place to get wonton soup because the first place didn’t have any.  She’s such a wonderful woman. 

If you are wondering, my fortune for the evening is “DISCOVER THE TALENTS WITHIN YOURSELF.”

Yea.

Tags: foodphoto, ld48_12

Saturday Night Begins…

No Fear

So it’s time to bust out the big guns.

I’m behind, I’m not sure if I have something fun, and we’re down to the last 23 hours.

Tags: crunchtime, ld48_12

Saturday Night Checkup

LD48_12 Screenshot, Saturday night

I’m not done for the night, but it seemed like a good time to post a screenshot.  There isn’t much gameplay to it right now.  The idea is that monsters will progress from the left to the right towards the tower, where you are the person defending.  At your disposal is arrows that you shoot from one of three places on the tower.  Ok, so the arrows don’t do anything yet, since I didn’t implement the collision routines.  I have spent most of the past couple hours making the game look better than the black and white sketches that I’ve been using.  Now it looks like colored versions of my sketches.  I like the style, so I am going to keep it.  I think they look better than anything pixel pushed. 

Next up is probably the HUD display for the top of the screen to display the game info.

Oh, and the screenshot capturing is done from built-in code that dumps the frame before it displays it.  I think its neat. :)

Tags: ld48_12, screenshot

Calling it a night

End of Saturday work

I’m calling it a night.  Those energy drinks aren’t doing anything, though I’m sure once my head hits the pillow they’ll kick in. 😉

Things to do tomorrow:

  • Waves of monsters from the MonsterManager
  • Display upcoming monsters in the current wave
  • Add melee weapons
  • Add scoring
  • finish HUD
  • boiling oil?
  • number font object?
  • and a number of other things, I’m sure.

Well, we’ll see how it goes.  See you in the morning!

 

Tags: ld48_12

Counting down the minutes….

I haven’t had any chances to really post anything today, so I thought I would do so as I begin my final push.

Here’s a screenshot.  So far, you can fire arrows at wave after wave of baddies.  I haven’t figured out how to give you more arrows, so I’ll probably just make them infinite and limit you to a couple.

Anyway, back to the salt mines.

Tags: ld48_12