prog: (Volity)
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.
prog: (zendo)
This week has been quite fun and productive so far. Swung back into the groove at work fairly well, and got back into Frivolity code hacking. Got the test suite, running on my laptop, to work locally, and again when pointed at the new volity.net Jabber server that [livejournal.com profile] daerr set up. Hope to post a bugfix release by this weekend, and then start in on the new stuff that K will need for his client to work correctly.

Good game night yesterday, for me. [livejournal.com profile] dougo suggested we play Currents, which I haven't tried in years. Playing with three highly critical game geeks resulted in many rule-change suggestions being collected, some of which I can't wait to try. One in particular makes me especially excited because it might let me do away with those lame Goaltending rules. The last time I worked on the game, I was puzzling about how to fix Goaltending; it didn't occur to me to just throw out the rule entirely, making the game simpler, which now strikes me as something to strive for. I like to think this is a reflection of my growth as a writer/programmer since then!

Also got to talk about Volity with this group for the first time, which was neat. (It was a natural segue, as playing Currents reminded me that it was one of the reasons I started to invent Volity -- I wanted to be able to rapidly create computer versions of new board game ideas, allowing me to test them out with both humans and bots.) I also got to show off my pure-SVG/ECMAScript rock-paper-scissors game (sorry, not on the Web yet, though it probably should be), running in Squiggle. Oh, and I learned to pronounce "Batik" correctly, since it hadn't occurred to me Google for its real-wordedness. (It's [bə-TEEK].)

(And, link of the day: IPA alphabet table with Unicode keys and full names, the latter of which I've never seen before. All the letters are named, not after their sound, but after the position or activity of lip, tongue, tooth and lung necessary to produce the sound. Yes, you've known this for years, but it's new to me.)

And I won a hand of Lamarckian poker! And then Shmike won with a royal flush (of the strongest suit, too) and rightly declared victory over the entire concept of that game. (In Volity vocabulary he could have said, "I have beaten the ruleset", or colloquially "I have beaten this URI".)

August 2022

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

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 16th, 2025 12:34 pm
Powered by Dreamwidth Studios