{"author_link":"\/author\/crazynate\/","author_name":"CrazyNate","author_uid":"2305","comments":[{"author_name":"pvwradtke","author_uid":"3728","time":"May 1, 2013 @ 1:19am","epoch":1367370840,"text":"Couldn't get it to run on Linux. Got a black screen. Maybe the code can't find the resources?"},{"author_name":"pvwradtke","author_uid":"3728","time":"May 1, 2013 @ 1:52am","epoch":1367372820,"text":"Not able to run on windows 7 as well. Too bad :(."},{"author_name":"BrainSlugs83","author_uid":"22701","time":"May 1, 2013 @ 1:54am","epoch":1367372940,"text":"@pvwradtke: Linux has a case sensitive file system right?  I bet he's using a different case to load the resources than what the files are actually named.  Maybe you could try running it from a FAT32 partition? (Like a thumb drive?)"},{"author_name":"BrainSlugs83","author_uid":"22701","time":"May 1, 2013 @ 1:56am","epoch":1367373060,"text":"Ran fine for me on windows 7 x64 -- but it ran way too fast -- are you not timing your logic loop? And you can also jump forever (just hold down the up key) -- or maybe that's intentional (flying robots?), can't really tell since the animation happens way too fast on my machine."},{"author_name":"Tom 7","author_uid":"1984","time":"May 1, 2013 @ 1:57am","epoch":1367373120,"text":"Works ok for me! Boy is that gravity strong! :)\r<br\/>You should make your own kind of music, but my advice on platformer physics: keep (x, y) coordinates and (dx, dy) velocity. Every frame update dy += 0.5 or something to simulate gravity. Left and right arrow keys just add or subtract from dx, staying within some max velocity limits. Jumping just sets dy += 10 (or whatever) if on the ground."},{"author_name":"stqn","author_uid":"2181","time":"May 1, 2013 @ 2:35am","epoch":1367375400,"text":"Just opens a black window with openjdk7 on linux. I like the screenshot though.\r<br\/>\r<br\/>Exception in thread &quot;main&quot; java.lang.reflect.InvocationTargetException\r<br\/>\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r<br\/>\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r<br\/>\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r<br\/>\tat java.lang.reflect.Method.invoke(Method.java:601)\r<br\/>\tat org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)\r<br\/>Caused by: java.lang.IllegalArgumentException: input == null!\r<br\/>\tat javax.imageio.ImageIO.read(ImageIO.java:1388)\r<br\/>\tat com.crazynatestudios.project.AbandonedGame.&lt;init&gt;(AbandonedGame.java:45)\r<br\/>\tat com.crazynatestudios.project.AbandonedApp.main(AbandonedApp.java:61)\r<br\/>\t... 5 more"},{"author_name":"CrazyNate","author_uid":"2305","time":"May 1, 2013 @ 7:15am","epoch":1367392200,"text":"@pvwradtke and @stqn: Are you running the jar file in the same directory that the data and graphics folders are in? The resources it's trying to load are in those folders.\r<br\/>\r<br\/>@BrainSlugs83 When I attempted to add any timing it ran too slow on my computer to test and I'm still trying to learn how to properly configure that. And I ran out of time to implement an actual jumping condition since I was too busy trying to fix collision so the up key really just changes the y velocity for collision testing purposes.\r<br\/>\r<br\/>@Tom 7 setting up velocity was actually one of the few things that I did that worked, though since I didn't get jumping fixed I hadn't set a max velocity for the y direction yet since I didn't know how I should tune it.\r<br\/>\r<br\/>\r<br\/>If it would make it easier for everyone to test, should I\/would it be acceptable for me to upload an updated version where you can adjust a thread sleep value so it doesn't run too fast?"},{"author_name":"zatyka","author_uid":"14357","time":"May 2, 2013 @ 3:09am","epoch":1367463840,"text":"It ran fine for me on Windows 8.  There wasn't much to it unfortunately, but I liked the graphics style.  I hope you keep with it and create the game you wrote about (it sounds pretty interesting)."},{"author_name":"stqn","author_uid":"2181","time":"May 17, 2013 @ 2:05pm","epoch":1368799200,"text":"@CrazyNate: yes, running java -jar LD26.jar from its directory, where graphics and data are located. I just tried again and same error."}],"images":["ld26\/2305-b96dfcbea49665589d4098a5a27bb601.jpg","ld26\/2305-b924d529aaa34cacc920b9c4a2f0de65.jpg"],"links":[{"url":"http:\/\/www.crazynatestudios.com\/files\/LD26.zip","text":"Windows"}],"metadata":{"g_key":"25728","g_author":"2305","g_event":"LD26","g_eventkey":"16","g_subevent":"JAM","g_urlkey":"25758","g_title":"Project Status: Abandoned","g_status":"UCHK1","g_place":"553","g_commentcount":"9","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/233892\/2305-shot0.png-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/233892\/2305-shot1.png-eq-900-500.jpg"],"text":"Mostly an attempt to get platformer physics right (sort of)\r\n\r\nThere was an intended storyline but due to technical difficulties I ran out of time to add any content; the door doesn't even work :\/\r\n\r\nHere's the story if you're particularly interested in what this game could have turned out to be like: \r\nhttp:\/\/www.ludumdare.com\/compo\/2013\/04\/26\/storytime-2\/#respond\r\n\r\nThe controls are the left, right, and up arrow keys.\r\n\r\nIf you like you can change the map by editing the basement1.map file located in the data directory with a text editor, though currently only tiles with value 1 are tested for collision with the player.\r\n\r\nJRE 6 may be needed to run the jar.<\/p>","title":"Project Status: Abandoned"}