maximinus
Programmer dude
Community member
Posts: 694
|
 |
« on: June 10, 2009, 04:53:40 AM » |
|
Hi dudes, latest update from your friendly programming team here. What with some new attention from programmers and some advancement in the code recently, I'd thought I'd put together what we should work towards in our first tech demo. This should go in the wiki really but I feel the wiki needs a major overhaul, ah well I might have a go in the next few days or so at work, but for now I'll leave it right here. I relied partly on this: http://wiki.parpg.net/Feature_list in constructing this. Tech demo #1: - Add more objects to the game, and make them work with the inventory
- Add a right-click menu with options that depend on what you click
- Enable loading and saving of the game (probably via Python pickle)
- Have a map with buildings that can be entered
- Enable dialog with NPC's
Only the last part could be tough, I don't feel that we are really that far away from the rest. I think we should have a push and aim to have this done by the end of July  Note to bretzel: we need to chat about to link up your inventory code with my object code so that the 2 are reasonably independant. Since we rarely meet on IRC, let me know what you think here.
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #1 on: June 15, 2009, 01:18:41 PM » |
|
Part 4 of the above task, the ability to enter and leave buildings, has been completed. Also, as part of a general code spruce-up, I've slowly going through all of the code to make sure it is fully epydoc complete, something we've been a little lazy with so far 
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
|
Dave Matney
|
 |
« Reply #2 on: June 15, 2009, 02:38:02 PM » |
|
Seriously good job guys. 
|
|
|
|
|
Logged
|
|
|
|
trained circus idiot
Community member
Posts: 7
|
 |
« Reply #3 on: June 16, 2009, 08:46:33 AM » |
|
Tech demo #1: - Add more objects to the game, and make them work with the inventory
- Add a right-click menu with options that depend on what you click
- Enable loading and saving of the game (probably via Python pickle)
- Have a map with buildings that can be entered
- Enable dialog with NPC's
Only the last part could be tough, I don't feel that we are really that far away from the rest. Hello, First: I'm new here so I apologize if I bring up something that has been properly answered elsewhere on the forum or wiki. I have been reading the PARPG development blog for a while, but haven't delved into the forums or wiki before today. Second: what features are necessary for the dialog system in tech demo 1 (given that certain other engine features may be unimplemented, all the features listed here might not apply)? Is anyone currently working on the dialog system? Are there particular forum posts or wiki entries I should be aware of before implementing a dialog system?
|
|
|
|
|
Logged
|
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #4 on: June 16, 2009, 03:12:19 PM » |
|
what features are necessary for the dialog system in tech demo 1 (given that certain other engine features may be unimplemented, all the features listed here might not apply)? Is anyone currently working on the dialog system? Are there particular forum posts or wiki entries I should be aware of before implementing a dialog system? From top to bottom: The minimum feature set, as listed in the forums, but you can start by implementing a sub-set of that. No one is currently working on the dialog system. Maybe look at http://forums.parpg.net/index.php?topic=135.0 and http://forums.parpg.net/index.php?topic=122.0. Whatever you do, please submit a patch early on. I'd rather read a small amount of semi-completed code rather than having to check a huge patch. 
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
tZee
Community member
Posts: 190
|
 |
« Reply #5 on: June 16, 2009, 04:04:22 PM » |
|
What do you intend to do with techdemo1? Or is it just a different name for a milestone? 
|
|
|
|
|
Logged
|
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #6 on: June 16, 2009, 04:15:53 PM » |
|
To implement no actual game, but to show we have the technology in place - map loading and saving, game saving, the inventory, the map format etc etc...
I suppose you could call it a milestone. It's just a statement that says 'here we are, and here is what we have done so far.' Also it may focus development in the short term.
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
tZee
Community member
Posts: 190
|
 |
« Reply #7 on: June 16, 2009, 04:20:32 PM » |
|
So then what will happen with it? Is it the "get it working" application and then there will be the "get it right" one?  Or will it be used as the base for further development? I mean, are there any plans for when demo1 is finished yet? (Because this thread is like the closest to a roadmap I found to far. Though I noticed that there are many other things pending, like deciding on mechanics/features.)
|
|
|
|
|
Logged
|
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #8 on: June 16, 2009, 04:40:15 PM » |
|
I suppose we are heading towards milestone demo from this: http://wiki.parpg.net/Roadmap. Naturally, it will be used as the basis to work from. I suppose I'm looking for two things from it: 1: A way of focusing the minds of developers and having a short term goal. 2: As 'base camp #1'. "Right, is everyone good so far? Is this the right direction? Are we all happy? Then let's take a deep breath and continue on up the mountain (of code)"
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #9 on: June 18, 2009, 04:35:56 PM » |
|
An update: thanks to meggie, we now have map loading and saving.
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
meggie
Community member
Posts: 30
Python programming looking for some C++ experience
|
 |
« Reply #10 on: June 19, 2009, 08:00:21 PM » |
|
Saving/Loading is broken, presumably until the gameState/gameData stuff gets straightened out. I left a message on IRC for you or tZee. I read in the logs you were looking for a hash of maps and their objects, which is what the Saver class is (/was?). Anyway, I would also love to participate in the data storage discussions (^_^)...but right now it all seems a little poorly defined (no offense to anyone, I expect it's a byproduct of three people working on it separately).
|
|
|
|
|
Logged
|
-Meggie
|
|
|
tZee
Community member
Posts: 190
|
 |
« Reply #11 on: June 20, 2009, 12:07:55 AM » |
|
It worked perfectly with the object oriented solution I implemented. I still await Maximinus' reason for merging it with the engine class. I removed the saver class because it was redundant to my gameState class and because I changed the object's structure to be object oriented.
|
|
|
|
« Last Edit: June 20, 2009, 12:12:13 AM by tZee »
|
Logged
|
|
|
|
mvBarracuda
Admin
Community member
Posts: 1116
|
 |
« Reply #12 on: June 20, 2009, 10:17:34 AM » |
|
As already proposed in the other thread in the programming forums: it might be needed to sit down at this point and try to shift the focus from pure implementation with incremental changes / refactoring to more a "structured" approach. We could use the wiki to draft code design articles and start to implement these ones after they have been reviewed by the others. The old process worked fine with two programmers involved but as we're having an influx of new programmers lately, there is a need for more planning and design before implementation IMO.
|
|
|
|
|
Logged
|
|
|
|
maximinus
Programmer dude
Community member
Posts: 694
|
 |
« Reply #13 on: June 20, 2009, 03:20:25 PM » |
|
As already proposed in the other thread in the programming forums: it might be needed to sit down at this point and try to shift the focus from pure implementation with incremental changes / refactoring to more a "structured" approach. We could use the wiki to draft code design articles and start to implement these ones after they have been reviewed by the others. The old process worked fine with two programmers involved but as we're having an influx of new programmers lately, there is a need for more planning and design before implementation IMO.
It was and always has been structured. Whether good or bad, that's another discussion 
|
|
|
|
|
Logged
|
Science is open-source religion
|
|
|
shevegen
Admin
Community member
Posts: 635
|
 |
« Reply #14 on: June 26, 2009, 07:20:31 PM » |
|
Another question - should the first Tech Demo have a mini quest? Something simple, just to show that the actor can move around and achieve "objectives". No combat related stuff. It could be tied to the dialog of the NPC and could consist of moving objects already available in-game around solely from place a to place b.
|
|
|
|
« Last Edit: June 26, 2009, 07:22:30 PM by shevegen »
|
Logged
|
|
|
|
|