Category: Games
-
Creating a Graphical User Interface
Creating the GUI Controls A graphical user interface (GUI) is absolutely essential for a game to be successful, even if that means using nothing more than labels and buttons on the screen that the user can click on. Sprite Class Improvements Modifying the Sprite Class To make the GUI controls more effective, the Sprite class…
-
Making Games for Windows Phone 7
Getting Started with Windows Phone 7 There are two ways we can develop games for Windows Phone 7: Silverlight and XNA Game Studio. Although Silverlight does have basic graphics capabilities, those capabilities are provided to support applications and are not ideally suited for games. XNA, on the other hand, was developed specifically for game development!…
-
Windows Phone Embedding Audio in your Game
Controlling an audio file Music has the ability to impact the emotions of human beings. Different styles of music produce different feelings. Fast tempo music makes people feel nervous or excited; when the tempo becomes slow, people feel relaxed and safe. In modern video games, music often plays an important role in creating the atmosphere.…
-
Windows Phone Game User Interface, Heads Up Display (HUD) #Part 2
Creating a progress bar for game content loading and value status When playing a game, especially for some big games, at the initialization phase, a progress bar will show you the game object loading status and percents. As a time-based game, the progress bar represents the remaining time. Moreover, a Role Playing Game (RPG) often…
-
Windows Phone Game User Interface, Heads Up Display (HUD) #Part 1
Scaling an image Controlling the size of images is a basic technique in Windows Phone 7 XNA programming. Mastering this technique will help you implement many special visual effects in 2D. In this recipe, you will learn how to zoom an image in and out for a special visual effect. As an example, the image…
-
First Step into XNA Game, Coordinates and View
Drawing the axes for a 2D game In 2D or 3D game programming, the axes are the basis for the position of objects. With the coordinate system, it is convenient for you to place or locate the objects. In 2D games the coordinate system is made up of two axes, X and Y. In 3D…
-
Windows Phone Developer Tools and XNA Game Studio 4.0
Windows Phone 7 is a new platform from Microsoft. It succeeds the Windows Mobile and combines the UI features of Microsoft Zune. Windows Phone is a consumer-oriented platform while Windows Mobile is more about business. On Windows Phone 7, or the latest release of Mango, you have more flexibility to develop with the hardware using…
-
The XNA Game Execution Model
XNA uses a game loop that is generated by the design tools. The life cycle for a game consists of four main stages, as shown in Figure 1. The game first initializes and then loads content such as sprites, images, sounds, and other components of the game. It then initiates the game loop. The game…
-
Strategy game online
The introduction of the Internet has changed the gaming world scenario. Their popularity has grown over the years. Unlike other normal games, strategy games requires a lot of planning and thought on behalf of the players. Online strategy games allow people worldwide to interact and play against each other. They help the world to expand…