Game Programming

View:  
Sorted by:  

Designing Video Games

A video game is more than the sum of its pieces; a game has a synergy that, after the game is complete, makes it something unique. Creating this synergy takes a lot of technical know-how, as well as a [more…]

Getting Your Game Published

Millions of people still like 2-D games despite the "coolness" factor that you get with 3-D. People who play 2-D don't care whether a game is 2-D, 3-D, or virtual reality; if it's fun, they'll play it. [more…]

Avoiding Mistakes as a Game Programmer

You can make about 10 billion general mistakes when you write a game and an other 100 billion technical mistakes. Here are some common mistakes that span the spectrum of game development. [more…]

Digging into Bitmaps with DirectDraw

In the late 1970s and early 1980s, many games, such as Tail Gunner (see Figure 1), used vector graphics displays — displays made up of lines. After a while, raster displays that draw bitmaps replaced all [more…]

iPhone and iPad Game Development For Dummies Cheat Sheet

iPad and iPhone game programming requires several special elements. These essential steps give your program the action and interactivity that today's gamers demand, regardless of the platform where they [more…]

Android Game Design Preparation

Before you begin developing an Android game, it pays to be prepared. You need to answer the following questions before you begin programming your game: [more…]

Common Android Game Development Tasks

In the process of developing Android games, you'll perform a few common tasks over and over. If these tasks aren't already automatic for you, keep them handy. [more…]

Android Game Development Help

Developing an Android game is a complex process, but there's plenty of experience to guide you. Online and personal resources can make the process a journey of discovery, not dead ends: [more…]

HTML 5 Game Development: Working with the Scene Object

The primary element of any simpleGamegame is the Scene object. Do not change the Scene's properties directly. Instead, use the appropriate method to manage the scene. [more…]

Keeping Your Game Moving with the Sprite Object

As a game developer, remember that the Sprite object is the basis for moving game elements. Do not change the properties directly, but use the appropriate method to manipulate the sprite. [more…]

HTML5 Game Programming: Making Noise with the Sound Object

You use the Sound object to create two sounds per object — an MP3 and an OGG — to ensure the sound effects in your game will work on most HTML5-compliant browsers. [more…]

HTML5 Game Development: Keeping Track with the Timer Object

The Timerobject will help you keep track of time in your games. You can have as many timers as you wish in your game. [more…]

HTML5 Game Programming: Adding a Touch with the Virtual Joystick Object

Create a Joystick object whenever you think your game may be used on touch devices. The scene's getMouseX() and getMouseY() methods will respond to touch input. [more…]

Adding Tilt with the Virtual Accelerometer Object

An HTML5 game programmer can use an accelerometer (the Accel object) to read tilt and movement input on supported devices, such as tablets and phones. [more…]

HTML5 Game Development: Adding Buttons with the GameButton Object

If your game only allows keyboard input, users with touchscreen devices may not be able to play. Use the gameButton object to add touchscreen-supported buttons. [more…]

HTML5 Game Development For Dummies Cheat Sheet

Today's technology is incredibly capable, but it can overwhelm a beginning game programmer. You need a way to learn to build games in HTML5 without drowning in details, or spending a ton of money. This [more…]

How to Create a Lunar Lander in Your HTML5 Game

This is one of the oldest game types. The basic idea is to replicate landing on a planet for your HTML5 game without an atmosphere. The Apollo astronauts had a limited amount of fuel to slow a rapidly [more…]

How to Create a Mail Pilot in Your HTML5 Game

This is a type of a scrolling racer game you can use in your HTML5. This type of game has long been a staple of the video game universe because there can be so many interesting variations. [more…]

How to Create the Marble-Rolling Game in Your HTML5 Game

This type of HTML5 game is designed specifically for mobile devices with an accelerometer (although it works on a desktop). The idea is to tip the device to move a ball into the blue goal without hitting [more…]

How to Create Whack-a-Mole in Your HTML5 Game

The whack-a-mole genre re-creates a classic physical arcade game in your HTML5 game. In the original game, you have a series of holes and a big hammer. As a mole pops out of a hole, the user smacks it [more…]

How to Jump and Run on Platforms in Your HTML5 Game

The platform "jump and run" genre has long been a staple arcade genre for good reason. It provides a nice interactive experience for your HTML5 game and is relatively easy to modify for many different [more…]

How to Create Pong in Your HTML5 Game

No HTML5 game development discussion would be complete without a mention of the famous Pong game. While this wasn't technically the first video game, it was the first to attract popular attention, and [more…]

How to Create RPGs in Your HTML5 Game

The role-playing game (RPG) is one of the most enduring forms of gameplay. While role-playing games can work in many different ways for your HTML5 game, the general setup follows a familiar pattern. The [more…]

How to Create Tanks in Your HTML5 Game

This type of game gives you some sort of launch mechanism for your HTML5 game with semi-realistic physics, and has you launch projectiles (avians with anger issues or otherwise) at some sort of target. [more…]

How to Create Tic-Tac-Toe in Your HTML5 Game

This game seems like a pretty simple addition to your HTML5 game, but it can be surprisingly difficult to implement well. There are three main aspects to tic-tac-toe that you will need: the visual and [more…]

Sign Up for RSS Feeds

Computers & Software
Great Gadget Giveaway -- Enter to Win!

Inside Dummies.com