I finally have things connected and can now get my first idea of how everything is working together.
Many of the views are done. The view for moving and getting the map, the view for getting the messages, for getting info on a mappable item when the user clicks it, and for getting the abilities when a user clicks a mappable.
Clicking an ability almost works. You can attack monsters and kill them, but what if the ability needs more things from the user? What if it is a message, we need to get the message. What if you want to cast a spell, we need to get the spell from the user. So the next step is to deal with passing things back and forth based on the ability. Or maybe send it all with the info on the mappable. I was thinking about looking a jquery, and using that to decide, but that doesn't fit my design model of back to front. So I should look at the info view and see what way makes the most sense, do it on the back end (or, I guess, middle end since it's the view), and then make jquery and the client-side javascript work with it.
I also spent some time playing with the lovable mod_python and apache. I learned a lot and now see how this will all work together.
So... you can walk around, click on Monsters and attack and kill them. That's cool.
But then again, the page is super-ugly. I'll work on that later.
Friday, September 19, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment