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 9 days, 20 hours, 9 minutes, 0 seconds
  • October Ends: in 10 days, 20 hours, 21 minutes, 0 seconds
  • Ludum Dare 31 begins: in 45 days, 21 hours, 9 minutes, 0 seconds
  • (FYI: Clock might be off) | Ludum Dare 31: Real World Gatherings (Now Open!)

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


    Pseudobasecode

    Posted by (twitter: @joeld42)
    August 24th, 2012 12:17 am

    My engine is in shambles right now, so I threw together a bunch of junk from my old entries into something resembling a basecode. It’s not much more than just a mainloop and loaders for textures and shaders, and some font code, but that’s more than I usually start with so maybe I won’t spend the first few hours trying to draw a cube (ahh, c++, how I love/hate it).

    I was hoping to get mesh loading in there too, but I ran out of time so I guess I’ll either do that during the contest or just do everything procedurally or use cubes for everything (I did that for one of my favorite entries once). If you’re curious, the code is in my ld48jovoc code dump, under the “minibasecode” and “ld_template” directories. Feel free to scavenge, but it’s kind of a mess, especially if you’re not used to using cmake and xcode together. Hopefully this should enable me to build windows and linux versions very quickly after the contest, it’s worked out pretty well in the past.

    I also added a little template script that sets up a new project that links in the basecode and has a mostly empty game class (that’s the screenshot you see above). So that should save me some setup, too.

    Can’t wait for the theme and can’t wait to get started.

    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]