Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Special effect rendering using Python, NumPy and libtcod (expanded demo)

Loading...

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

Uploaded by on Mar 5, 2010

Demonstration of fast rendering in libtcod using Python and NumPy. Rendering tiles with complex effects in Python is usually slow. Here, all rendering is done using fast NumPy array manipulation, and then blitted to the main console with console_fill_background.

Grab the code at: http://doryen.eptalys.net/forum/index.php?topic=467.0

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (djipelota)

  • Thanks everyone :) Yeah these are not really pixels, but cells. Libtcod is supposed to work as a console, but since you can color cells anything you want, it can double as a (low-res) rendering system!

  • @djipelota cool stuff! what about pygame for rendering? ;-)

  • @DonQuichotteLiberia Awesome idea!! Pygame already has some functions to directly set a pixel buffer, so it shouldn't be hard to do.

    If you wanna download my code and do that for Pygame, I've posted a link in this video's description.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • <3 the low-res look

  • great but not with pixels :L

  • Amazing work.

  • Wow that looks great

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