Posts Tagged games

Javascript gaming

I have a new hobby taking up what little free time I have these days. I tried for a couple of years to get into Java games, I created a couple of my own but I never really finished anything because I would run into issue that I wasn’t sure how to overcome. They eventually became show-stoppers for the game and I eventually lost interest. Most of the issues were around desktop performance and Java GUI programming, both subjects I have little exposure to in my 12 years of client/server based development. I suppose I could have buckled down and learned it but in all honesty I wasn’t very interested in learning Swing or AWT.

Then I stumbled on CraftyJS. It is a Javascript game library that streamlines creating games in the browser. I have only been using it for a week but I am already further than I was after a year of working in Java on the same game idea. It is really easy to create simply games very quickly, and the best of all the GUI programming is HTML/CSS its almost as easy as developing a web page.

I have big plans for my game idea, but I think first I am going to create some little one-off games to get my feet under me.

, , , ,

No Comments

PlayonLinux FTW!

This is just cool. I was messing around trying to get an old Windows game to work with Wine on Linux. I wasn’t making a lot of progress, I kept having to start the setup, crash, tweak something in Wineconfig, try setup again, crash, tweak something more. Finally the game installed, but then I had issues playing it. More tweaking Wine. Well, I think you can see where this is going.

Most of the information I was getting on tweaking Wine was from the winehq.com forum. For the most part the advice was good but there was a learning curve to figure out what the people were talking about when they say you need to use certain libraries, and override this or that and install this from winetricks. Anyway, the whole process was long, convoluted, and error prone. Then someone mentioned playonlinux. I had never heard of this, so being the naturally curious person I am I Google it and found their website. Hmm, it looks like simple wrapper script for Wine. WTH, I will give it a try and see if it simplifies my life at all.

I added the Ubu repo’s and installed it. So far so good. I found my game in the list and hit ‘install.’ Wow, the installer went without a hitch, that was easy. There is no way the game is just going to work, after-all, I couldn’t get it running under vanilla Wine. So I double clicked the icon it put on the desktop and..it crashed.. heh, of course.. Not being the most intelligent person on the planet, I thought I would just give it another try. Double click, and… it worked. I was on the main screen, well… there is no way the game is going to work. So I hit play..and..I..can’t..believe..it, it worked..and it worked really well. I bumped the resolution up to native res for my LCD, and…that worked too!

So there you go. PlayOnLinux.com. Check it out, it works for more than just games too.

, , , ,

No Comments