Day 4 - time is moving fast
It's allready day 4 and we haven't made much progress and it is getting late so let me sum up what has happened the last 2 days.
Day 3:
I thought it would be a nice idea having a scrolling landscape (bad idea)
I realised I didn't know arse about implementing a scrolling landscape
After 3 hours of fruitless attempts at implementing a scrolling landscape I give up and save it for the next day (bad idea again)
Day 4:
I start by thinking of my different alternatives of how to get a scrolling landscape up
I start by trying with phil's pygame utilities (pgu)
After another 2-3 hours of fruitless attempts I give up the idea and realise I've just wasted 2 days on nothing while I could have been working on more essential parts of the game (eg. like the dwarf class)
So now we're going for a big map and many levels. So far I've got the map part up and it's working nicely.
Hopefully the remaining 2-3 days (depending on how you see it and where you live) will be better spent.
ohh, and I've uploaded a screenshot of the game (it's not great, but heeey, I did it in the middle of the night and I was tired and should probably have sleept!). I wonder how you guys take such good screen shots..
Anywas enough with my ramblings, it's time to go to bed...
(log in to comment)
Comments
Regarding scrolling, you could check out my Scroll, Jump and Beguile! game on the gamelets page. Basically just use a ScrollingGroup instead of RenderUpdates, and add a displayRect attribute and a NotifyDirtyScreen method to your sprites
http://www.pygame.org/gamelets/
I did that. I spent a whole day trying to get the menu system working (it was frozen). It turns out the reason the menu wasn't working was because I had copied some code from a game (to use as an example). I was using tabs, and the other game's code used spaces. Python freaked out when it saw 2 spaces and then my 4 space-width tabs, so stopped interpreting code.
Boy do I feel stupid...