Thursday, 13 April 2017

to sleep perchance to dream

Massive massive amounts of work done this week and last, but this week in particular, huge amount of writing and coding, but still not able to nail the coffin lid down on 2 projects...but the big project, the book, has been given another small extentions, so tonight I don't see the need to work til 4/5am though I probably will

Got a nice long weekend to come up now for Easter, thank you jeebuz.. and hopefully I can finally finish the Coleco game and complete the last 3 projects on the book. they have all been written and work fine, but I need to condense the descriptions into 1 section. I compressed 3 2d examples into one and it saves a load of pages, though it did take a while to code..

Anway....aside from a trip to Amsterdam tomorrow, I don' t need to set any alarms when I finally collapse in bed.


Wednesday, 12 April 2017

abra cadburys

Been working on converting a single screen plaforrm game

into a multi screen scrolling game...these were originally 2 separate projects but space has become critical in the book so I needed to put the two projects together and show how to turn the 1st into the 2nd with the aid of a couple of simple concepts.

Saved quite a few pages and I think it makes the experience a lot more fun.


Tuesday, 11 April 2017

no Brian 4 hours is not a nap

so the cycles of 20 hours work, 6-8 hours sleep and yesterdays 4 hours to come back to nomral time for work purposes, had me crashing to noddy land with a bang.

I did a huge amount of work today, but felt myself running out of steam around dinner time, and realised I was about to fall asleep whether I wanted to or not.

anyway yes I dropped right off, and sleep through the 1 hour timer I se up and 4 hours later I'm up.

so yes, back to work, and probably end up back in bed for 8am, just in time to get to work at 10 ish

silly sleep/work cycle Im faaaar too old for this shit.


Saturday, 8 April 2017

Just like busses

So after spending over a grand on dental treatment with as it turned out, 250 euros worth of cover, you'd think my troubles would be over. toothache on the other side of my mouth....wonderful. I can't really afford to do anything about it as I have shed loads of other things to pay for at the moment, going to have to wait till we get our May bonus to sort it...

I wonder whats next on the horizon to drain my already strained wallet?

Better go buy a months worth of ramen noodles from the local Asian supermarket, that's 5euros I wanted to save!!!


Friday, 7 April 2017

Just keep coding, just keep coding

And take the odd break now and again to post nonsense on here while I try to remember if I already explained virtual functions in a previous chapter, oh  I did, ok better move that part.

I'm very tired, trying to work round the clock, only stopping to eat and drink, and then sleep.
its working out at 20hours or so work, 6-8 hours sleep, so I am rotating through nocturnal and diurnal (I looked that up), Progress is good though, but not sure its good enough. Still got a couple of big bits of code to write up, and the page count is not dropping much.

I did get it down as low as 850, but now I'm doing the bigger 3D games which need a lot of chatter to explain its crept back to 900+.. I've chopped things I don't really need to talk about too but so far its all still quite a lot of words..

who's idea was it to write a book!!!

oh shit yeah!


Friday, 31 March 2017

Oh fuck me....I thought I was good at this shit.

20 hours, 20 bloody hours hunting for a strange weird bug, 20 hours, no matter what I did I could not find it, I was certain I'd put the right things in the right order, and comparing them with another project doing more or less the same thing.... it should have didn't

in the end it was a typo, noting major but it stopped all my rendering from working..
see if you can spot it.

    dst_rect.x = 16;
    dst_rect.y = 16;
    dst_rect.width = p_state->width;
    dst_rect.height = p_state->height;

    src_rect.x = 16;
    src_rect.y = 16;
    src_rect.width = p_state->width << 16;
    src_rect.height = p_state->height << !6;      

    dispman_display = vc_dispmanx_display_open(0);
    dispman_update = vc_dispmanx_update_start(0);

yup.....I'm well pissed off.


Wednesday, 29 March 2017

Renouncing my British citizenship, step 1

Well, today's the day, the Letter has arrived and the UK has pushed a self destruct button it can't unpush.
I am too depressed to even comment, I'm going to withdraw from political debate now. I no longer consider myself a Brtish citizen, even though I'm hesitating on pulling the Dutch trigger, I will start the move to regain my European citizenship as soon as I can, I feel its time to leave the UK behind me and let it get on with its self immolation
a sad sad day indeed.