I might have a game! I have things on the screen, and Javascript does what I tell it to do 80% of the time! My game now looks like this:
Which is admittedly a little ugly, but it's miles better than the blank screen I had at the end of yesterday.
Accomplishments of today:
- a single hands-4 on the screen that does stuff
- buttons that make them do stuff
"Swing" isn't actually a swing at the moment, just a swap: soon I'll have code that has them swap a few times and end with the lady on the right. Tomorrow, I want to start out by animating the swap (rather than them switching instantaneously). At some point, the animation will rotate the dancers rather than just linearly moving them. But, baby steps.
My overall plan is to get a bunch of moves working on a single group of four dancers, THEN to be able to apply the moves to multiple sets of four dancers, and THEN to be able to have pairs of dancers "progress" -- i.e. move ahead to dance with the next partner pair, which means reassigning the hands-4. Jury is still out on how to do this.

No comments:
Post a Comment