The Enemy class defines all enemy planes used in the game. The Player class defines the player character in the game. The Background class draws the map and background elements to the screen. The Level class loads a level XML file and parses the XML out to objects. This class takes care of drawing and running the actual game. The GameForm class is the main class of the application. I’ve supplied a screenshot of the class view in VS.NET to illustrate the class design of the game. The project contains 13 classes, 3 interfaces, 1 structure and 7 enumerators. If you make any fun levels, place share them with us. Since I don’t have a level editor yet I would suggest that you build your new level based on the existing one. To add levels of your own, simply make new level XML files and copy them to the game folder on your device. #Ari feldman spritelib code#The current game is far from “finished”, but it is safe to run the code and it is playable. Since I don’t own a real device I’m not sure what the “name” of these buttons are. To fire, click the second hardware button. To exit, click the calendar button (first hardware button). To play the game, you use the direction keys on your device. #Ari feldman spritelib install#To install simply copy the Pocket1945.exe file and the level XML files to a new folder on your device. In order to play you need a Pocket PC enabled device with the. I’ve put the game up as a GotDotNet workspace and I encourage everyone that finds the game fun to join the workspace and help me build a fun shooter for the Pocket PC platform. The game is still not at version 1.0, but it is playable in it's current state. One of the things I realized when working on this project is that games take time, no matter how simple they are. Another goal was to take this game/example a step further than most tic-tac-toe examples and actually build a game that’s fun, challenging and looks good. The reason I did this was that I wanted to see what I could do with the core framework. I also wanted to build this game without introducing any third party components such as the Game Application Interface (GAPI). I focused on keeping the code as clear and simple as possible. One of my goals when starting this project was to make a game that other developers could use as a starting point when getting into C# game development. My every day work consists of building data centric business applications, so game writing is something completely different. NET CF competition.Īs well as being my first article this is also my first game ever. This article is my first submission to Code Project and is my contribution to ongoing. Pocket 1945 is a classic shooter inspired by the classic 1942 game. Download demo project (Pocket 1945 game) - 42 KB.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |