JBox2D Custom Rendering

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
391 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 20, 2010

Custom rendering I did of the Domino Tower example off of the JBox2d website.

Category:

Entertainment

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (glopal)

  • I render to a Canvas object. The paint method basically just renders a BufferedImage that gets passed into the canvas. So what I did was just stored a set amount of images in an array, and then every time I rendered the scene, I drew every single image in the array to the screen. Not ideal (kinda slow), but it worked.

    Oh, and I was using Java2D as opposed to Processing (which is used in the testbed examples). If anyone is interested in the code, I could throw it up on my website.

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • Wow I really like this. What sort of thing did you do for the trailing effect?

  • how did you do it? lol

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more