| Aliens invade .NET Micro Framework |
Sep. 26, 2007
Windows Embedded software architect Mike Hall recently whipped up a little .NET Micro Framework application on a flight to Paris. It emulates the classic Space Invaders game, complete with "bases, aliens, missiles, and explosions." .NET MF is Microsoft's lowest-end OS, targeting devices with highly limited resources.
(Click here for a larger view of ".NET MF Invaders")
According to Hall this interesting demo of what can be done using the .NET Micro Framework 2.0 software development kit (SDK) had to be created in less than two hours, using a laptop that was running on precious battery power. Hall writes that he first tested it using the emulator that comes with the SDK, then ported it via USB to the Freescale i.MXS Development Kit he packed with him. (By all accounts, the SkyMall catalog got ignored.)
In a post on his blog, Hall says the screenshot we show above was taken from the .NET Micro Framework emulator, and has a resolution of 320 x 240 pixels. "Yes, the sprites are too big, and there aren't any bases to hide under, but this was done in two hours, so what do you expect," he writes.
Key challenges for creating the game, according to Hall, were:- Graphics -- how to get bitmaps into the application and display them on the LCD/emulator
- Timer -- a timer tick was required to update the display surface with the new position of the base, invaders, missiles, and scrolling star field
- Key pad input -- interrupt handlers were required for the D-Pad buttons ("base left," "base right," and "FIRE!"), to intercept keyboard input and at the same time keep the live action game running)
- Random numbers -- "we need to generate random bombs for our invaders to drop!"
To learn more about how Hall solved these issues and got the game up and running before his laptop's battery went dead, view his complete blog post, here.
.NET Micro Framework
.NET Micro Framework version 2.0, officially released in February of this year, extended Microsoft's reach into high-volume, cost-sensitive devices with severely constrained processor and memory resources. At the time, the company said Version 3.0 of the SDK would be available in the first quarter of 2008.
Last week at the Embedded Systems Conference, Microsoft announced the availability of a significant update to the SDK, dubbed ".NET Micro Framework Service Pack 1." SP1 boasts "new enhancements to build more secure, attractive, innovative, and globalized applications," Microsoft said. More details on the .NET MF SDK (including download information) are available on Microsoft's website, here.
Related stories:
(Click here for further information)
|
|
|
7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.
4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.
Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.
Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.
Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.
Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.
Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.
Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.
Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.
|
|
|
|
|