Everyday 3D

Creative use of technology // A blog about 3D Flash and Actionscript by Bartek Drozdz

Skateboard simulator in Papervision3D

A long, long time ago I used to skate. It was a time when Tony Hawk was still in his teens, boneless was the coolest trick and Future Primitive was the latest skateboarding movie, available exclusively on a VHS tape (remember those?).

I was never very successful at skateboarding. However, I always admired the smooth moves of the deck under the feet of guys more talented then myself. So, many years later I thought it would be nice to pay tribute to this sport, and Papervision3D seemed like the perfect tool. The execution however appeared a task much more difficult than I imagined. Fortunately, I had some free time in July and August so I sat to my desk and started coding. Today you can see the results.

Source. As usual, I post all the source files – you can get them here (this time under CC license, not MIT). I also plan to write some technical details on how the application works soon. For the moment, I will just mention that it is built with Papervision3D and the animations are done with Tweener.

Now, no more talk. Just click here and bust some perfect ollies, dudes! And to be sure not to miss the rest of the story, subscribe to this blog’s RSS or just bookmark this page.

Categories: 3D, Actionscript 3, Papervision3D

comments RSS

19 Comments

  1. Very cool Bartek! Just noticed that my flash debug player throws our favourite error msg about not being able to access the method or property of null object reference (in Stats.update() method)… just to let you know :)

  2. Nice! My only complaint is that I don’t use a mouse, and couldn’t move around with my notebooks touch pad :( I tried it out on my colleagues “mouse machine” though, and the scroll wheel thing felt nice and natural. Really well done!

    …and, at 33 I still skate, and can pull the occasional impossible and 360 flip :) Is there a club? Ex-skaters that now code actionscript ;)

  3. @Og2t thanks, I’ll get rid of that

    @sakri use L key to speed up if you do not have a mouse (it is in the Instruction, but I use bigger font so it is more visible)

  4. Erick Wilder

    Well, i’ve tried a lot of times on Firefox, and (arrghh!!) IE, but it doesn’t load. Maybe I’m missing something, but is just to advise and test if others are facing the same problem.

  5. @Erick Wilder I have no idea why this is happening to you. What flash player version do you have? Update: following some discussion I had, it might be just a usability problem. I did some quick updates so check again! :)

  6. Erick Wilder

    @bartek drozdz:
    Yes, you’re right: a usability problem (and of course my fault on paying attention on some details).
    Great work!!

  7. DJC

    Awesome work… thank you!!

    DJC

  8. Great example. I blogged about this one today on my Papervision Blog.

  9. [...] effective, lets hope he keeps the development going and takes it to the next stage. If I was this dude, I’d try and market the idea to Tech Deck. Last edited by amber on September 6, 2008 at [...]

  10. Kailyn

    I love your work! Great use of flash.

  11. hi i have a question about this site!!!

    http://www.paperskate3d.com/

    i read this here http://www.everydayflash.com/blog/index.php/2008/08/18/skateboard-simulator-papervision3d/

    but dont you have the .fla file??

    i want to take off the skate board and put me sittin and turning arround!!! let me know if u can help me with the .fla file..thanks

  12. abedh

    btw if u wanna send me it my email is abedh_@live.com

  13. yes is true)))

  14. U’ve just made a great fan :)
    Thanks for the really awesome post and indeed the code as well.

    I tried compiling your code in flash cs3 version of mine.

    After struggling a lot i was able to get all the path issues resolved, but still whenever i try to run ur code.
    I get the following error.
    ——error——–
    TypeError: Error #1007: Instantiation attempted on a non-constructor.
    at com.paperskate3d.gui::SpeedMeter$iinit()
    at com.paperskate3d::SkateDocument/::init()
    ——end——–

    after debugging i came to know that the error was coming at the following position
    ——-
    background = new Bitmap(new BitmapData(METER_SIZE, METER_HEIGHT, true, 0x44dccfab));
    ——
    inside the constructor of SpeedMeter()

    Awaiting your reply eagerly, and awaiting to see the code running as well :)

    Thnx in advance

  15. Hey great site man, just letting you know (didn’t see any comments about it) on your Paperskate3D site the first window that pops up and references your site, there is a typo. It says EverydaydayFlash.com . There’s an extra “day” in there, so take it out and use it to give yourself a vacation ;)

  16. This is great, i made a Introductionvideo to this.
    http://www.youtube.com/watch?v=HhLe6ok5L3U

  17. Hey, you said you will embedd my Video on your Page! :D

  18. The link is not working anymore, it just shows other searches. Somehow the domain expired.

  19. Thanks Adrian. The domain indeed expired, and I won’t renew it – but I updated the link and it works now!

Leave a comment



  • FATC2011


  • FITC2011


  • FITC2010


  • FITC2010