{"author_name":"jovoc","cat":"LD #24","comments":[],"epoch":1345785420,"likes":1,"metadata":{"p_key":"54719","p_author":"jovoc","p_authorkey":"34","p_urlkey":"90426","p_title":"Pseudobasecode","p_cat":"LD #24","p_event":"LD24","p_time":"1345785420","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"34","us_name":"jovoc","us_username":"jovoc","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p>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&#8217;s not much more than just a mainloop and loaders for textures and shaders, and some font code, but that&#8217;s more than I usually start with so maybe I won&#8217;t spend the first few hours trying to draw a cube (ahh, c++, how I love\/hate it).<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/basecode_screeny.png\"><img class=\"alignnone size-full wp-image-156843\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/basecode_screeny.png\" alt=\"\" width=\"400\" height=\"322\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/basecode_screeny-300x241.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/08\/basecode_screeny.png 400w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n <p>I was hoping to get mesh loading in there too, but I ran out of time so I guess I&#8217;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&#8217;re curious, the code is in my <a title=\"ld48jovoc\" href=\"http:\/\/code.google.com\/p\/ld48jovoc\/\" target=\"_blank\">ld48jovoc code dump<\/a>, under the &#8220;minibasecode&#8221; and &#8220;ld_template&#8221; directories. Feel free to scavenge, but it&#8217;s kind of a mess, especially if you&#8217;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&#8217;s worked out pretty well in the past.<\/p>\n <p>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&#8217;s the screenshot you see above). So that should save me some setup, too.<\/p>\n <p>Can&#8217;t wait for the theme and can&#8217;t wait to get started.<\/p>","time":"August 24th, 2012 12:17 am","title":"Pseudobasecode"}