{"author_name":"chameco","cat":"October Challenge 2012","comments":[],"epoch":1350082560,"likes":1,"metadata":{"p_key":"51243","p_author":"chameco","p_authorkey":"6512","p_urlkey":"86936","p_title":"October Challenge Update II: Electric Boogaloo","p_cat":"October Challenge 2012","p_event":"LD24","p_time":"1350082560","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"6512","us_name":"chameco","us_username":"chameco","event_start":"1345766400","event_key":"12","event_name":"LD24"},"text":"<p><em>The old world will burn in the fires of industry. Forests will fall. A new order will rise. We will drive the machine of war with the sword and the spear and the iron fist of the orc.<\/em> &#8211; Saruman, <span style=\"text-decoration: underline\">The Lord of The Rings<\/span><\/p>\n <p>That&#8217;s right, progress is being made on the newly-named Turing. After a brief attempt at using CL-OPENGL that led to inexplicable heap corruption, I switched back to full SDL. I decided that for ease of development I was just going to be lazy and blit everything to a buffer, and then draw a region of that buffer in order to implement scrolling. Unfortunately, Lispbuilder-SDL doesn&#8217;t have support for that like PyGame does. I don&#8217;t really see why not: It&#8217;s part of the native C SDL. Anyway, after messing with (sdl:cell)&#8217;s for a while, I wondered what would happen if I just tried drawing the buffer to a negative index, and lo and behold, it worked. Yay! Ten hours of debugging OpenGL code down the drain, but yay. Screenshot:<br \/>\n <a href=\"http:\/\/www.ludumdare.com\/compo\/2012\/10\/12\/october-challenge-update-ii-electric-boogaloo\/2012-10-12_1366x768-2\/\" rel=\"attachment wp-att-185469\"><img class=\"alignnone size-medium wp-image-185469\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2012\/10\/2012-10-12_1366x7681-300x168.png\" alt=\"\" width=\"300\" height=\"168\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/10\/2012-10-12_1366x7681-300x168.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2012\/10\/2012-10-12_1366x7681-550x309.png 550w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>Will take a picture of my workspace soon, but software-wise, see if you can guess from the screenshot. All my fellow Lispers saying I need to use Emacs, bah. Old habits never die. Vim is better anyway.<\/p>\n <p>tl;dr: Things got done.<\/p>","time":"October 12th, 2012 5:56 pm","title":"October Challenge Update II: Electric Boogaloo"}