brunoribeiro / burriswarehouse

Automatically exported from code.google.com/p/burriswarehouse
0 stars 0 forks source link

Implement Autonomous Characters #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Design bot movement logic

Original issue reported on code.google.com by cjbus...@gmail.com on 20 Jan 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Finish by 2/7

Original comment by cjbus...@gmail.com on 20 Jan 2011 at 6:30

GoogleCodeExporter commented 9 years ago

Original comment by cjbus...@gmail.com on 20 Jan 2011 at 7:33

GoogleCodeExporter commented 9 years ago
I, Caleb Mays, want to take this task. Sweet.

Original comment by calebmay...@gmail.com on 20 Jan 2011 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by cjbus...@gmail.com on 21 Jan 2011 at 12:34

GoogleCodeExporter commented 9 years ago
Made changes to the Npc class and VirtualWarehouse class (specifically, the 
initGame function). 

Probably about 30% done, because I still need to figure out where to actually 
put the NPCs and how to figure out the path. 

Original comment by calebmay...@gmail.com on 21 Jan 2011 at 2:01

GoogleCodeExporter commented 9 years ago
The Npc class now extends AnimatedModel. However, now I'm getting into somewhat 
un-charted territory as far as actually loading an object and such. I know that 
you're pretty much an expert at this stuff, so...would you like me to update to 
see where I am, and then continue the progress?? 

Original comment by calebmay...@gmail.com on 21 Jan 2011 at 8:29

GoogleCodeExporter commented 9 years ago
Check it Mr. Mays.  I got it working... with some issues ;).

Original comment by DanielTJ...@gmail.com on 21 Jan 2011 at 9:34

Attachments:

GoogleCodeExporter commented 9 years ago
Um...the Character class...perhaps it didn't get uploaded, but I don't believe 
I have it. Any reference to the Character object isn't working...

Original comment by calebmay...@gmail.com on 22 Jan 2011 at 3:28

GoogleCodeExporter commented 9 years ago
My bad.  It should be up there now.

Original comment by DanielTJ...@gmail.com on 22 Jan 2011 at 3:52

GoogleCodeExporter commented 9 years ago
Will begin doing some database design and setting up of the way point method. 
The characters will be given a pre-defined list of points they need to walk to, 
in the correct order they need to go. 

I have the map from Shomper, and know how to get the coordinates, therefore, I 
will begin to do a brief design/start to implement this beast.

Original comment by calebmay...@gmail.com on 24 Jan 2011 at 9:37

GoogleCodeExporter commented 9 years ago
So basically, what needs to happen is that I need to be able to do this

for each id in the AutoPickJobs table
 - for each set of coords in the AutoPickJobCoords that relate to this id
 -- put the Coordinate information in a temporary LinkedList/ArrayList
 - make a new character, placing it at the first spot in that array list, and giving it the rest of the array list after that (because that information will be the path)

Original comment by calebmay...@gmail.com on 26 Jan 2011 at 3:50

GoogleCodeExporter commented 9 years ago
Alright. The characters are moving/rotating and are animated.
The final step will to get all of the way points into the db. At least, that's 
what I think...

Original comment by calebmay...@gmail.com on 27 Jan 2011 at 1:56

GoogleCodeExporter commented 9 years ago
I'm gonna say this is done. There still need to be a few more characters simply 
added to the db, but other then that, these guys are totally working and 
walking.

Original comment by calebmay...@gmail.com on 1 Feb 2011 at 12:30