Team Wasabi - Day 7

Today was an incredibly long day, but a rewarding one. The bulk of the day was spend doing networking, which is passable but is not quite 100%, and the balance got a lot better late on, though that's not perfect either.

I also knocked up the quickest menu system I've ever done. Instead of writing careful positioning code I just dumped the menu pages straight out of Inkscape and hard-coded the coordinates of the buttons.

All told, this was a blast. I love PyWeek. I just get so invested I don't know if I could handle doing it twice a year.

(log in to comment)

Comments

Instead of writing careful positioning code I just dumped the menu pages straight out of Inkscape and hard-coded the coordinates of the buttons.

That there is the sensible way to do complex layout in a game :-)
Ha. I do like buttons that can respond to being clicked. On the other hand I think this code is genuinely elegant:

painting_left.leftof(painting_right)
painting_right.above(timelimit_up)
timelimit_up.above(timelimit_down)
timelimit_down.above(start_game)
start_game.above(back)
start_game.rightof(back)