prog: (Volity)
[personal profile] prog
I've been doing a lot of coding since the start of October, in three very different projects for three different customers. It's interesting. I will tell you know about one of them, which the most recent of these and the most interesting to me personally.

I finally got my hands dirty with sXBL last weekend, and after spending the last few evenings mashing at it I feel that I finally have the hang of it. All the magic about shadow trees and binding events and thus and such really took me a while to wrap my head around, but now I'm starting to make some stuff that sings, and I like it.

I am using it to start making that card game library I mentioned earlier The idea is that you, as a Volity game UI creator, will be able to write UI code that reads something like this: "Using this card artwork, draw the player's hand, with these dimensions, here. Draw the opponents' hands here and here, at half-size. Here's where a draw pile goes, and here is where cards are discarded. When this certain event happens please animate a card flying from the pile to the player's hand."

Much of that will be expressed as XML, using a custom tagset we will provide. And you won't have to write one line of Javascript about how to draw a hand, or sort its cards, or how to animate the flying cards. Just say where the things are, note their size and rotation, and mark when animation events should happen, and the library will take care of the rest. You can also add on as much additional SVG and Javascript as your game needs; this is just a programming library, and you use it as such.

I have started to create an importable SVG document that contains the sXBL templates for the handful of core card game objects I am envisioning. Once I've got its whole skeleton sketched out, I'll set something Subversiony up, and turn to the Volity community, whereupon I will lead this new and exciting little sub-project. I don't think I need to wait to do any of the animation, which will be the hardest part. We can work on that together.

Date: 2006-11-09 05:24 pm (UTC)
From: [identity profile] misuba.livejournal.com
This is some awesome hot shit.

Date: 2006-11-09 06:12 pm (UTC)
From: [identity profile] prog.livejournal.com
Yes, thank you. I just hope I'm not jinxing myself my writing about it prematurely. What moved me to post was less "I'm going to do great things" (which is never a good idea) and more "Yay, this sXBL stuff finally clicks."

I also want to get this post up there and caught by Google and Technorati, to be quite honest, and see what flies this sugar may attract. As far as I can tell, nearly nobody is doing anything "serious" and in public with sXBL. It's thrilling to push the SVG envelope with Volity once again!

Date: 2006-11-09 07:01 pm (UTC)
From: [identity profile] misuba.livejournal.com
I have a friend who's working on a similar system that extends to gameplay: the server can send an XML message and specify basically any effect to be applied to any attribute of any card. (The framework in question is meant to apply to CCG-esque games.)

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 15th, 2025 04:49 am
Powered by Dreamwidth Studios