Flash notes by Edzis

ActionScript programmer / Flash developer Edgars Simsons on professional stuff

3D dice with rounded edges

with 7 comments

3D Dice

Read this article on my new blog

I have migrated my blog to www.edzis.com, please come by to read this post.

Advertisements

Written by edzis

Friday, 13th 2009f March, 2009 at 15:31

Posted in ActionScript 3

7 Responses

Subscribe to comments with RSS.

  1. nice fav icon!

    Chris

    Friday, 13th 2009f March, 2009 at 17:19

  2. Hi!
    First of all I want to congratulate you for the nice job you’ve done here.
    I was looking for something like this, and with your permission I would like to use for a small game I’m making for kids in a portuguese university.

    I’m trying to integrate this class in the game, wich I thought that would be easy, since it’s very simple, but it turns out that I’m having some difficulty doing it.

    I work also with FlashDevelop, and entered the classpath for Five3D that I download, and did the same with caurina. I instantiate the dice class and the following message apeears among others of the same type “1024: Overriding a function that is not marked for override.” in the Shape3D.as class in Five3D. Any ideia why this happens? If you wish you can send me a reply for my email.
    Thanks.

    Leonel

    Friday, 27th 2009f March, 2009 at 12:06

  3. Glad to hear you want to use it. You surely have my permission.
    But for the bug it is strange. I tried downloading a new copy of Five3D and it works fine (after variable type declarations in Bitmap3D lines 401 and 402). I could not reproduce your problem.
    Bat can you locate which line in Shape3D is making this problem? So this is a compiletime or runtime error? Are you targeting flash player 9 or 10?

    edzis

    Friday, 27th 2009f March, 2009 at 12:44

  4. Thanks! :)

    I’m targeting for Flash Player 10, and thse messages appeared on compiletime. Meanwhile I manage to solve those messages, since rotationZ and z function needed to be overrided since they exist also in flash classes (I wrote the “override” keyword on Bitmpa3D, Sprite3D and Sprite2D). For now these problems are no longer happening… other issues came along, like instantiating onde dice to appear inside a small “window”.

    I’ll send you the feedback of any problem, or if I manage to put this to work :)

    Leonel

    Friday, 27th 2009f March, 2009 at 13:05

  5. HI again,

    I manage to set this working in the game, it’s spinning and sending the draw number… the result is very good, I must say… nice work :)

    Leonel

    Friday, 27th 2009f March, 2009 at 15:19

  6. Hey;

    This script is cool and I would like to use it but I cant find the way to get it working
    Does anyone as a demo project I can open with CS3 so I can start from there.

    Thanks for your help; I dont know much about AS and stuff

    axe

    Saturday, 23rd 2009f May, 2009 at 23:57

  7. hii

    Congratulations on your work is fantastic. I am still beginner in flash and i´m trying to use your code, but can you explain what i must do to make the flash file from the actionscript similar to yours? because I want to change somme things?

    thanks =)

    Bruno

    Friday, 17th 2009f July, 2009 at 03:49


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: