Writing a 2D arcade game using Java2D API

Every now and again I get the urge to develop a game in Java, but I never get it complete. I’ve done a few prototypes modeling bouncing balls and simplified gravity on moving objects, but have never finished a game to completion (in Java at least – I wrote some simple games in Sinclair BASIC almost 20 years ago, and also a 2D side scroller variant in STOS BASIC on the Atari ST sometime in the late 80s).

Once of my main hurdles in Java has been ‘how do I get stuff on the screen?’. I’ve tried things in Applets using the Graphics Class, and also looked at very simple tile-based graphic layouts using, of all things, a GridLayout in Swing. I just found this tutorial however, which shows incredibly simply, how to the the Java2D api to write images to the screen using Buffering. This is an awesome article because it bridges the gap for me – I’ve read a few Java2D articles and skimmed through the Java2D online tutorials, and the part that seems to be missing in most is how you actually get an instance of the Graphics2D class. Now to go away and do something creative 🙂 Actually, I’m going to have a crack at a Nintendo ‘Game & Watch’ style simple game…. I’ll keep you posted on how it goes…

(I don’t know which came first, but the article mentioned above is also extended somewhat in this other article – you can see there are name changes, but it’s the same code… I get the feeling the first article came first…)

When does a Company no longer need to act like a Company?

This is a random thought. Most businesses exist primarily (unless they’re non-profit) to generate profit for their owners, either individuals or shareholders. If your company becomes as successful as, say, Microsoft, does this ‘reason for existence’ become irrelevant? For example, with Microsoft’s assets, it no longer has to provide services or new products to it’s customers, because it can remain financially viable by investing it’s assets alone.

Has there ever been a company as successful as Microsoft before, and did they at some point in their existence decide to call it a day and stop providing a service or products to it’s customers?

This post here sort of hints at the same point in the last paragraphs. At this point it’s almost irrelevant if Microsoft provides a useful product to it’s customers or not, because unless it doesn’t sustain major losses from carrying on business as normal, it doesn’t need to do anything at this point. Has Microsoft really lost it’s way?