Hello Mr. Dagan: Thanks for the sugestion, i know that SVG can not support 3d animation, also my asesor told me about it, I will try to develop the dice as you suggest, anyway by know the trouble is how to control another animation with the result of the dice, I mean, I want to move a piece in the board using the result of the random number obtained in the dice, If I have time tomorrow i will send my first tryings with the code of this animation.
Thanks again. Travsam --- In [email protected], "Samuel Dagan" <[EMAIL PROTECTED]> wrote: > Hi Travsam, > Welcome to the club. If you are trying to animate the motion of a > dice in 3 dimensions, forget it, this is not for a mid-term project. > You have to simulate the results of a die as a square, in which you > can display one of the 6 possibilities, of the results of throwing a > dice, by scripting visibilty="visible" and "hidden". This is simple > and so the rest of the monopoly game animation. > Cheers, Samy > > --- In [email protected], "jucabapa79" <[EMAIL PROTECTED]> > wrote: > > Hello, thank you very much for the answer. > > > > I want to explain the trouble I am doing now. > > > > First of all I want to develop a die, it means this object will > > allow the piece to move, depending of the number the dice throws > the > > piece will move, in SVG Talking it means that the button of throw > > the die will control the movement of the piece. > > > > I wanted to make the animation of the die showing the number but i > > found it difficult, there are some ways : to show and hide some svg > > illustrations that are in the same place. > > > > By now I try an easy way, only a button to make the animation of > the > > piece on the board, but i still have troubles with it. > > > > If the code is needed please let me know. > > > > Greetings and thanks. > > > > Travsam > > > > --- In [email protected], "Andreas Neumann" > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > can you isolate the problem and post a small example where the > > code > > > does not work? Or at least better describe what you want to > > achieve > > > and where exactly you fail? Otherwise we can't really understand > > > your problem. > > > > > > If you have general questions for scripting and DOM, you can have > > a > > > look at the SVG/DOM/Scripting tutorial at > > > > > > http://www.carto.net/papers/svg/manipulating_svg_with_dom_ecmascript/ > > > > > > > > Andreas > > > > > > --- In [email protected], "jucabapa79" > > > <[EMAIL PROTECTED]> wrote: > > > > Hello, I am Travsam, I am new on this matters of SVG and I > > wanted > > > to > > > > try to do something different using SVG Code for my midterm > > > project, a > > > > simulation of the board game Monopoly. > > > > > > > > The trouble I want to ask about is about the dices, I tried > some > > > ways > > > > to animate the dices, but even that i now how to select random > > > numbers > > > > using JavaScript the rest of the code is not working properly. > > > > > > > > What recommendation would you give me? > > > > > > > > I will be happy to read your replies. > > > > > > > > Greetings ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

