![]() ![]() These lights are soft grey when off and dark grey when on. In my handheld game I have flashing lights. To ungroup you can select Object->ungroup or use shift+ctrl+G This can also be opened by right clicking over the selection and choosing "object properties". ![]() To group you use Ctrl+G (or menu option Object->Group), and to set a value for the id attribute you use ctrl+shift+O, which opens the object properties dialog. Then you should select portions of the drawing which you want to control using javascript, group it and give it an id attribute. In my case, I have drawn the handheld console and all of the sprites that appear in the grey LCD display. If you want to see an example of this technology try this: TuxVsMSNbug minigame (Web Archive) I will focus on the techniques I used to develop this game.įirst thing you should do is to create the art in Inkscape. Several browsers support SVG natively (Internet Explorer doesn't). In this tutorial I will explain how you can create SVG files in Inkscape and add javascript code to it so that you can have use it as a vectorial webpage with interactivity.
0 Comments
Leave a Reply. |