It’s pretty well known that the XNA framework can be used to create games on the Xbox 360, Windows, and any Windows Phone device. Coding with this framework once required a computer with Microsoft Windows on it, that was until some people decided to increase the portability of XNA onto the Mac, Linux, Android, and even iOS. This new portable version of XNA is named MonoGame and it takes advantage of the cross platform IDE named MonoDevelop. Even though you can code an XNA game on other platforms now (as the MonoGame docs say), I am using a MacBook Pro to develop on, so I’m going to go over the process I used to get an XNA program up and running on Mac OS.
» More »
Ok so you know how to create a simple GUI, add elements to your GUI, and make those elements do certain things. In this post I’m going ot go over a quick tutorial on another aspect of Swing, this makes use of predeisgned windows that can be useful in many situations; it’s called a JOptionPane.
A JOptionPane is commonly used for quick prompts that can be used to gather or display information to whoever is using your program. Methods named showConfirmDialog, showInputDialog, and showMessageDialog are those common prompts (at least for me). I’ll quickly explain the use of each using the code from the JFrame (which should look like THIS) we were working on in the previous tutorials.
» More »
I thought it would be nice to post a collection of informative and helpful tutorials about some general programming concepts. These are things I probably would have posted about, but the things I cover in this blog are very googleable (is that a word?) to some degree. Before I start off writing a post I usually Google the topic I want to cover to see if it’s on a tutorial somehwere else on the web, so here are 5 helpful articles on different programming topics in no particular order:
» More »
I have been programming like a mad man with a master plan. I’ve also come up with a little resolution about half a month into the new year and decided to create an Android app within the next 7 months, at least that’s the plan. I don’t plan on publishing it to the market, I just want to get something running via an emulator; The app will be a video game of course. It will take some steps to get to the point of making a game, and the route I chose to take is learning learning more about Java’s API by getting used to Swing and AWT although I’m finding those APIs are getting phased out slowly with Java FX, technically they are already outdated. This is one of my pet peeves with Java, ambiguity. I choose to work with it because of the convienience and portability it brings along with the ease of learning. I could be learning C/C++ but that’s another path I plan to take later.
If you take a look on my GitHub profile I have been working on some small games and applications using Java. All to help me learn different concepts of game programming and to get used to the language in general. I can’t blog out my progress at a fast enough pace to match my programming projects so I’m also starting to comment my code a lot for anyone trying to learn certain things. I also post different programming related information of the things I learn and find interesting on my Google+ profile and occasionally my twitter. As of right now I’m about to officially move onto a framework, and that framework is LibGDX, as mentioned in my previous post. I’m planning on using this framework to create desktop and android games, but more focused on the Android aspect. At the same time I am learning the ins and outs of the Android SDK.