{"author_name":"jonnopon","cat":"LD - Misc","comments":[{"author_name":"RandomM00","time":"August 6, 2011 2:29 pm","epoch":1312658940,"text":"I don&#8217;t use Java usually, but when I tried writing games with it the best way to do it was with a specialised library like LWJGL.","spam":"N"},{"author_name":"ghillieLEAD","time":"August 6, 2011 3:30 pm","epoch":1312662600,"text":"Games are not like a normal program.  Games are weird.  If you don&#8217;t yet understand the basics of creating a game, like how a game loop works, you need to do a little reading if you are going to be successful.  My advice would be taking a look at these two free books:","spam":"N"},{"author_name":"","time":"August 6, 2011 3:50 pm","epoch":1312663800,"text":"@ghillieLEAD:<br \/>\n I guess I forgot to mention that I&#8217;ve written games before xD<br \/>\n I program in VB for college (I know, VB :\/), and as soon as I could I started taking the work home to write games. I even released one to friends a little while back.<br \/>\n I&#8217;ve also been playing and studying games since I was very young; I fully understand the workings and concept. I even make it a habit nowadays of seeing game mechanics and working out how they&#8217;d be done in theory.","spam":"N"},{"author_name":"RandomM00","time":"August 7, 2011 4:01 am","epoch":1312707660,"text":"Depending on how much practice you&#8217;ve had, it might be possible to get started with a new library within 12 days, if you go for a high level one. I&#8217;ve switched compiler and main library in the last couple of days, but I&#8217;m still planning to compete with the new tools (from HaXe to Flex and Flixel).","spam":"N"}],"epoch":1312648980,"likes":0,"metadata":{"p_key":"65387","p_author":"jonnopon","p_authorkey":"508462","p_urlkey":"101183","p_title":"Entering LD21\u2026But I Need Some Java Advice!","p_cat":"LD - Misc","p_event":"LD21","p_time":"1312648980","p_likes":"0","p_comments":"4","p_status":"UPD5","us_key":"508462","us_name":"jonnopon","us_username":"jonnopon","event_start":"1313712000","event_key":"7","event_name":"LD21"},"text":"<p>Hi, my name is Jonno.<\/p>\n <p>I&#8217;ve been self-teaching Java for a few months now, after a few years of self-teaching code in one language or another, \u00a0and I have decided to use LD21 as a good bit of motivation to push myself into simple game development in the language. I&#8217;ve had a passion for gaming since I was young and have always had a back-of-the-mind plan to write games.<\/p>\n <p>I&#8217;ve come to the point where I can write applications in Java with confidence, implementing drawing methods and the Swing API to create a good event-driven GUI app.<\/p>\n <p>My only problem right now is animation and timed events (like game loops, for example). I have read that in Java, Swing Timers do not work so well on Microsoft&#8217;s Windows Operating Systems&#8230;so I was wondering what other methods are available for gaming. I have a small example application that uses a method to define the game loop, which performs all the actions that would normally happen with a timer tick, but it&#8217;s not very clear in its implementation and I&#8217;ve so far failed to replicate its function.<\/p>\n <p>So, can anyone help me out?<\/p>\n <p>As a side-note, if I&#8217;m not supposed to be posting anything at this time (seeing as there&#8217;s no\u00a0category\u00a0for LD21 yet), I apologise.<\/p>\n <p>&#8211; Jonno<\/p>","time":"August 6th, 2011 11:43 am","title":"Entering LD21\u2026But I Need Some Java Advice!"}