Finally, I declare that my Toppling Domino game is ready for the shop and on XStreetSL!
I have been working on this game for several months, and it has been mostly fun, although making things in SL really is a pain sometimes.
I got the idea from an old promotional video for SL, where a Linden set up a circle of bricks using manual editing. The toppling bricks was kind of cool, but I thought the process could use some help. So, I made a simple script for a domino brick that would go physical and topple when collided with, and started working on a menu-driven rezzer.
The result is a box that will set up any number of bricks in rows and arcs. It can start the rezzing from any brick in the pattern. There are 3 options for the height of the rezzed bricks: Rezzer height, follow terrain or sensor (which is a process where the brick actually drops a ball to determine the height of the prim flooring beneath).
The process will start with the box rezzing 5 small pieces under the lid, and the lid will open. The first brick will fly out of the box, move to the correct position, increase its size and set itself down on the ground. The other bricks in the box will move forward, and the process repeat it selves.
Doing the arcs was really a revival of my old maths knowledge, using Sin and Cos functions to determine where the next brick should be positioned.
The bricks themselves contains textures for all the possible combinations of dots. When rezzed, the brick will choose a face value randomly. Indeed, the simple script has grown to almost 1000 lines of LSL code... (not to mention all the LSL in the rezzer, in total the kit contains about 2500 lines of code.)
The kit also includes a small Cannon that can be fired to start off the toppling. The cannon has sound and smoke particle effects, and does some physical recoil when fired.
There is a lot of safety built into the kit to make sure the bricks do not bother any neighbours or other people in the SIM.
It will be fun to see if anyone else thinks playing with dominoes in SL is cool, or if it was really only fun for me while making them:-)
Breakfast with the Goose
10 hours ago