Wednesday, February 25, 2004

Had enough.

Well, I've given up on getting the present map to load, I've made a design decision to flip the map 90 degrees. This means players will play from top to bottom instead of left to right. It does mean ripping out all the display code and starting again with pen and paper but hell, it’s not working now so what’s the point.

Tuesday, February 24, 2004

A week of this, and it's not consistant !!

Now this is the error I'm getting....

java.io.IOException: Stream closed
at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:120)
at java.io.BufferedInputStream.read(BufferedInputStream.java:199)
at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:244)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:254)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

Argh !

Sunday, February 22, 2004

Still stepping through.

But I haven't found the problem. I've also realised that the graphics will overwrite one another, so I'm editing the graphics again !!

It's getting depressing with no real progress to report.

Friday, February 20, 2004

Eh ?

The graphics are still not displaying on screen. I don't know why. JBuilder keeps on making daft noises and it doesn't kill off the process with error messages. Looks like I'm going to have to completly step through the display process, just to find the problem.

I'm going to have to uninstal half of My star wars games. They are too distracting.

Thursday, February 19, 2004

oh dear. More Design Issues.

I think I've made a design Fault. Now that I've got the begginings of a Map on Screen. It doesn't look right. At the moment, players play against each other left to right and vise versa. I think it will look better, top to bottom, with the opponent always playing from the top. I'd better start look at ways to switch it round.

Wednesday, February 18, 2004

Bit of work over lunchtime.

Well it's both the Graphics and the Display. Only the Last graphic seems to be displayed and there seems to a problem with the display mechanism. Ie Half of the draw commands are skipped by the controling logic. Oops.

On Hold

I'll have to put things onto hold until thursday. Real work will have to take presidence.

Tuesday, February 17, 2004

Progress.

Well, kind of. I've got some of the map displaying. Need to have a closer look at mapping display. At present I don't know if it's the reading of the graphics or if it's the displaying graphics that are the problem. Bit more digging and I'm almost there.

Monday, February 16, 2004

Halliluyah

Cracked it. I’ve been held up with a double whammie of a bug for the last two Months. It was just so stupid when I spotted the problem, maybe I should give up this programming lark and flip burgers over at McMurder Burger.

1. I need to use the absoule path to get the right file from the computer.
2. When displaying the graphic, remember that the 1st 34 pixels are hidden by the frame name.

I am severely kicking myself. Still I’m going to apply this over the next few days and see if at last, I can get the virtual map onto the screen.

Friday, February 13, 2004

Java Day.

Decided to download the new SDK. I'm going to make a serious effot on this on Sunday.

Thursday, February 12, 2004

Size does matter (apparently)

I’ve found out that it’s the size of the graphics in the game that are the problem. I’ve got to find out what I need to do in order get the display working again. Might be able to have a read crack at it over the weekend.

Monday, February 09, 2004

Back to basics.

Right. Going to have to try with gif files instead. I'm going to have to check I'm using the right SDK because these routines seem to work for everybody else except me. Just looking at this problem has held me up for almost a month and is the most embaressing knock to my coding self confidence yet.

I guess I'm taking this a little personnally, which on a more positive note means that I will solve this problem. Why ? Because it's peeved me off to such a state that I'm going to fix this if it's the last thing I do.

Back to Formula.

Trying to get a very simple version of the display routines to work. No Luck. I Am beginning to doubt if I can get Interface working, let alone upload.

Wednesday, February 04, 2004

Good News, Bad News.....

Good News, Paint supports PNG formats and I didn't realise. I managed to convert the initial graphics within ten minutes.
Bad News, The program still didn't display the bloody things.....

Goint to pull what little hair I have left out ....

Tuesday, February 03, 2004

Conversion Tools ??

Another little problem. Converting the BMPs which are 16x16 pixels are fine, but the editor I use can't convert the 8x16 bmps that are required all the rest of the way through the game.

BUGGER

Start looking at the png web site to see if there's a better conversion tool.

Monday, February 02, 2004

Whoosh, there goes a deadline....

Well, the 31st of Jan has now gone, and no game or demo has been done. On top of that, I still can't get the damn Graphics to display. I'm going to have to re-reate my notes and find out what I've missed. Pulling that much hair out I'm going bald.