{"id":34,"date":"2008-04-23T08:26:08","date_gmt":"2008-04-23T06:26:08","guid":{"rendered":"http:\/\/lisas.de\/~alex\/?p=34"},"modified":"2008-05-09T10:32:14","modified_gmt":"2008-05-09T08:32:14","slug":"numpty-dumpty","status":"publish","type":"post","link":"https:\/\/lisas.de\/~alex\/?p=34","title":{"rendered":"Numpty Dumpty"},"content":{"rendered":"<p><img decoding=\"async\" src=\"misc\/numpty.jpg\" alt=\"Numpty Physics\" align=\"left\" \/> Dietmar demonstrated the incredibly cool <a title=\"Numpty Physics\" href=\"http:\/\/numptyphysics.garage.maemo.org\/\">Numpty Physics<\/a> game on his <a title=\"Maemo\" href=\"http:\/\/maemo.org\/\">Maemo<\/a> device yesterday and I liked it so much that I had to check immediately whether it will compile for plain old x86, too. And, guess what, it works like a charm.<\/p>\n<p>All you have to do is to check out the code from the <a href=\"https:\/\/garage.maemo.org\/scm\/?group_id=638\">SVN repository<\/a>, ensure you have the SDL and SDL-image headers installed change into the <em>trunk<\/em> directory and run <code>make<\/code>. If the linker fails for you as it did for me (complaining about X11 symbols), just add an extra <code>-lX11<\/code> to the linker command line.<\/p>\n<p>Before you can run NP you will have to create a symbolic link <em>\/usr\/share\/numptyphysics<\/em> that points to the <em>trunk<\/em> directory of your SVN checkout. Then run<em> i686\/Game<\/em> and enjoy. Using a mouse to draw items instead of a stylus is obviously not as straight-forward as using the stylus, but it works very well nevertheless.<\/p>\n<p><em>Update:<\/em> If you enjoy using bleeding edge compilers you might be interested <a title=\"NP patch\" href=\"http:\/\/lisas.de\/blog\/adrian\/2008-05-08-numptyphysics\">Adrian&#8217;s patch<\/a> that will make Numpty Physics compile with gcc 4.3.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dietmar demonstrated the incredibly cool Numpty Physics game on his Maemo device yesterday and I liked it so much that I had to check immediately whether it will compile for plain old x86, too. And, guess what, it works like a charm. All you have to do is to check out the code from the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-games"],"_links":{"self":[{"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=34"}],"version-history":[{"count":0,"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=\/wp\/v2\/posts\/34\/revisions"}],"wp:attachment":[{"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lisas.de\/~alex\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}