A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 33 of 33

Thread: Ideas for animated dice in CS4?

  1. #21
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    try uploading it here or just attach it to your post
    http://www.mediafire.com/
    Graphics Attract, Motion Engages, Gameplay Addicts
    XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro

  2. #22
    Junior Member
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    25
    I never realised that you could do that, only ever bothered using the quick post function. Oh well, here it is:

    http://www.mediafire.com/?5331mq3ih4xlnzq

    (tip: the rectangle is a button to make the dice roll)

  3. #23
    Junior Member
    Join Date
    Jul 2010
    Posts
    5
    Quote Originally Posted by mwwoggy View Post
    I never realised that you could do that, only ever bothered using the quick post function. Oh well, here it is:

    http://www.mediafire.com/?5331mq3ih4xlnzq

    (tip: the rectangle is a button to make the dice roll)
    It's perfect.

  4. #24
    Junior Member
    Join Date
    Jul 2010
    Posts
    5
    Quote Originally Posted by BlinkOk View Post
    don't do it that way. it will just chew up cpu you could use for something more important. just pre-render it.
    http://users.nlc.net.au/oceana/games/m1.swf
    http://www.nlc.net.au/~oceana/games/m1.zip
    (click on the dice)
    BlinkOk, do you have this game in AS3, or something simmilar to this in AS3? I'm searching for this type of games, not just for the dice, the whole game is perfect and will help me for my Faculty project.

    Thank you.

  5. #25
    Junior Member
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    25
    All I did was make 6 pre-rendered movieclips (using 3DSMax and the Swift Render Plugin), each movie clip was about 50 frames long, but that could turn out to be quite big, so perhaps use a few less frames. then put these movieclips in seperate frames 2 thru 7

    Then generated a random number between 2 and 7 (because frame 1 is occupied by nothing, and is used as a starting point). Everytime the random number is generated, it plays the assosciated frame number containing 1 of the dice movieclips.

    I had a small problem getting the movie clips to stop playing as they just looped on and on once you clicked the button, to avoid that, just remember to go into the movieclip and on the last frame, put a stop() command.

    This was all done is AS2, but now that you know the methos of how to do it, you should be able to do it all in AS3 easily enough.

  6. #26
    Junior Member
    Join Date
    Jul 2010
    Posts
    5
    Quote Originally Posted by BlinkOk View Post
    don't do it that way. it will just chew up cpu you could use for something more important. just pre-render it.
    http://users.nlc.net.au/oceana/games/m1.swf
    http://www.nlc.net.au/~oceana/games/m1.zip
    (click on the dice)
    Can someone please tell me the english name of this popular game with dice: http://users.nlc.net.au/oceana/games/m1.swf ?

    Thank you!

  7. #27
    Junior Member
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    25
    It is very close to monopoly, but it's not exactly right

  8. #28
    Junior Member
    Join Date
    Jul 2010
    Posts
    5
    Thank you.
    It's something like Monopoly, but not the same. :S

    Please help if someone knows the real name of this dice game.

  9. #29
    Junior Member
    Join Date
    Jun 2010
    Location
    Manchester, UK
    Posts
    25
    Unless BlinkOk has more to say about it (seeing as it's his board), it's a fictitious game board - like I said: it's close to the monopoly game board, but there are some differences. I think it's pretty easy to see the simularity, but I don't think it's a direct copy of an existing boardgame out there

  10. #30
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    i agree. it was a help thingy for a guy making a monopoly game.
    Graphics Attract, Motion Engages, Gameplay Addicts
    XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro

  11. #31
    Junior Member
    Join Date
    Aug 2010
    Posts
    2
    BlinkOk, I am developing a simple board game and have looked at the zip file you uploaded and have been playing around with the code but how would you change the dimensions of the path that the "pieces" take. Basically, in you're game the pieces move around a board that 11x11 with a total of 40 squares and I am building a board that is smaller, only 6x6 with a total of 20 squares.

    I am guessing that the code to change is on the pieces themselves but can't work out which bit needs changing, can you help?

    Thanks.

  12. #32
    Junior Member
    Join Date
    Aug 2010
    Posts
    2
    No worries have sorted it now!

  13. #33
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    glad you worked it out. sorry i couldn't help
    Graphics Attract, Motion Engages, Gameplay Addicts
    XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center