About | Rules and Guide | Sign In/Create Account | Write a Post
Construction1990’s Internet Montage? No!
Please excuse the site weirdness. Mike is fixing and making things.
Ludum Dare 31 — Coming December 5th-8th 2014!

  • ??? Begins: in 7 days, 20 hours, 50 minutes, 56 seconds
  • October Ends: in 8 days, 21 hours, 2 minutes, 56 seconds
  • Ludum Dare 31 begins: in 43 days, 21 hours, 50 minutes, 56 seconds
  • (FYI: Clock might be off) | Ludum Dare 31: Real World Gatherings (Now Open!)

    [ October Challenge 2014 | Resources | Submit/Edit | View All ]

    i has failed

    Posted by
    July 7th, 2008 4:22 am

    Didn’t spend much time, and also had no idea.. thought I still put up what I got: here

    It needs python, pygame and pyopengl to run (..hm, for the real LD, I have to find someone who can make me a py2exe and py2app version of my entry). You can run until you touch the turnip if you want, but nothing will happen even then. Except for the unicorn, it also totally fails the theme and at no point I was even close to an idea :P

    The good things about this mini LD for me though were, I think I know now how I could easily do one of those motocross games.. just need to use 2 or 3 collision circles instead of a single point as I did here, and some spring forces between. Also, I was surprised how easy it was to read SVG files – took me a total of 5 minutes to develop loader code for it (first few lines of line.py).

    Tags: , , , ,

    2 Responses to “i has failed”

    1. ArmchairArmada says:

      I tried to run it, but OpenGL is giving my an invalid value error. Judging by the output it seems you are using unusual dimensions for your texture — the error message says 140×48. Texture sizes should have dimensions that are powers of 2. The problem seems to be in your text rendering. It’s just trying to convert the PyGame font rendered surface into a texture without making sure it fits the right dimensions.

    2. allefant says:

      Hm, yeah, I was assuming OpenGL 2.0 where it is allowed. To fix it would be rather easy, in image.py.. just would have to make sure that Image.__init__() pads the texture to power-of-two, and adjust the texture coordinates in Image.draw() accordingly. Not worth for this.. but mustlkeep it in mind for the real LD, so thanks!

    Leave a Reply

    You must be logged in to post a comment.

    All posts, images, and comments are owned by their creators.

    [cache: storing page]