| ||||||||||||||||||||||||||||||||||||||||
Saturday 05 April, 2008[ PrintStar @ 16:29 ] Almost there!I finally got loading and saving to work. I have the most inefficient but foolproof saving system. The game is stored in an SQLite database, and the database is modified during play. For example, if you pick up an item, it creates an entry in the Inventory table and deletes the entry from RoomContents. So to save the game, the system creates a complete copy of the working game database wherever the user wants. The system essentially copies the entire game to a new location. This is obviously inefficient, but the game db measures less than 100kB and the trouble of saving the states of multiple objects is completely eliminated. Thursday 03 April, 2008[ PrintStar @ 03:02 ] Game Editor is Functional (enough...)Today I finally got the game editor (and game, actually) functional enough to start entering rooms into the text adventure. The editor actually is the same as the text adventure game, but adds a few commands, like name and desc, to allow the entering of rooms into the game database. Also, if you move in a direction where a room wasn't already present, a new room is whipped up for editing. Wednesday 02 April, 2008[ PrintStar @ 03:00 ] A New Text AdventureI wanted to try to make a point-and-click adventure for this pyweek, but I think I found out by the end of the first 24 hours that the graphics necessary were just too difficult for me to even attempt. But I decided I could put together a nice text adventure that would be just as fun (maybe more fun). And besides, I've really been into using Python's cmd module lately (command lines are hot!). |
Current...
September 2008 [entries, ratings] Previous > March 2008 [entries, ratings] September 2007 [entries, ratings] April 2007 [entries, ratings] September 2006 [entries, ratings] March 2006 [entries, ratings] (June 2006) August 2005 [entries, ratings] Not logged in Login Register | |||||||||||||||||||||||||||||||||||||||