Donuts2
所属分类:Windows Phone
开发工具:Visual C++
文件大小:1516KB
下载次数:33
上传日期:2008-03-10 11:28:29
上 传 者:
greathemin
说明: Windows Mobile 6 DirectX 2D源码
(Windows Mobile 6 DirectX 2D source)
文件列表:
Donuts2\bangbang.wav (24120, 2007-03-30)
Donuts2\bounce.wav (13468, 2007-03-30)
Donuts2\c_bang.wav (2410, 2007-03-30)
Donuts2\ddutil.cpp (10006, 2007-03-30)
Donuts2\ddutil.h (1868, 2007-03-30)
Donuts2\donuts.bmp (272438, 2007-03-30)
Donuts2\donuts.h (6080, 2007-03-30)
Donuts2\donuts.ico (766, 2007-03-30)
Donuts2\donuts.rc (3912, 2007-03-30)
Donuts2\Donuts2.sln (5097, 2008-03-06)
Donuts2\Donuts2.vcproj (6989, 2007-03-30)
Donuts2\d_bang.wav (21722, 2007-03-30)
Donuts2\gapiutil.cpp (1345, 2007-03-30)
Donuts2\gapiutil.h (1121, 2007-03-30)
Donuts2\gunfire.wav (6376, 2007-03-30)
Donuts2\hum.wav (9416, 2007-03-30)
Donuts2\level.wav (54192, 2007-03-30)
Donuts2\p_bang.wav (21824, 2007-03-30)
Donuts2\r (180996, 2007-03-30)
Donuts2\resource.h (1110, 2007-03-30)
Donuts2\resourceppc.h (1628, 2007-03-30)
Donuts2\rev.wav (6234, 2007-03-30)
Donuts2\shield.wav (31534, 2007-03-30)
Donuts2\skid.wav (9154, 2007-03-30)
Donuts2\sndutil.c (8001, 2007-03-30)
Donuts2\sndutil.h (5998, 2007-03-30)
Donuts2\splash.bmp (308278, 2007-03-30)
Donuts2\stdafx.cpp (921, 2007-03-30)
Donuts2\stdafx.h (2589, 2007-03-30)
Donuts2\s_bang.wav (2588, 2007-03-30)
Donuts2\waveutil.c (9351, 2007-03-30)
Donuts2\waveutil.h (2308, 2007-03-30)
Donuts2\Donuts2.suo (27648, 2008-03-07)
Donuts2\Donuts2.vcproj.AARON.new.user (1799, 2008-03-07)
Donuts2\Donuts2.ncb (6245376, 2008-03-07)
Donuts2\donuts.c (54600, 2008-03-07)
Donuts2 (0, 2008-03-03)
Code Sample Name: Donuts2
Feature Area: Direct Draw
Description:
This simple game shows how to combine DirectDraw and waveform audio.
Although it demonstrates other DirectX components, it is
primarily intended to show how to animate multiple sprites.
This game demonstrates many of the features of DirectDraw. It takes
advantage of hardware acceleration if it is supported by the driver.
Relevant APIs:
DirectDraw
Usage:
Load the project from Visual Studio 2005, and build and deploy normally.
User's Guide:
Input is from the keyboard. No other input device is supported.
The commands are listed on the opening screen. All numbers must be entered
from the numeric keypad.
Button Command
Left Turn left
Right Turn right
Up Accelerate forward
Down Accelerate backward
App Button 1 Stop
App Button 2 Shield
Action Fire, Start game
Talk button Turn audio on/off
End button Quit
Volume Up Toggle trailing afterimage effect on/off
Volume Down Toggle frame rate display on/off
The game uses the following command line switches, which are case-sensitive:
e Use software emulation, not hardware acceleration
t Test mode, no input required
x Stress mode. Never stop if you can help it
S Turn sound off/on
Assumptions:
The device supports direct draw.
Requirements:
Visual Studio 2005,
Windows Mobile 6 Professional SDK
Activesync 4.5.
The program requires less than 1 MB of video RAM.
** For more information about this code sample,
please see the Windows Mobile SDK help system. **
近期下载者:
相关文件:
收藏者: