BombMan - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

BombMan

Description:

(treasure) Bomb (treasure) position. Number. of bomb. Move. speed. face. other. enemy. Initsurfaces ... Test if player and. enemy are died and. set their state ... – PowerPoint PPT presentation

Number of Views:21
Avg rating:3.0/5.0
Slides: 7
Provided by: Mas670
Category:
Tags: bombman | treasure

less

Transcript and Presenter's Notes

Title: BombMan


1
BombMan
2
start
Initialize DDSurfaces needed in this application
StartNewGame
true
bExecuting
Create and initialize DirectDraw object
false
RenderFrame
Create DirectDrawClipper object
DoEvents
Create Primary Surface
Create and define BackBuffer Surface
end
3
Start new game
InitStage
InitNewPlayer
Allocation object position
other
position
face
Undestructible object
Number of bomb
Move speed
enemy
Destructible Object
Bomb (treasure)
Door
Shoe (treasure)
4
Initsurfaces
DirectDrawSurface7
CreateSurfaceFromFile
ddsGameObj
Obstacle.bmp
ddsGameBkg
ddsEnemy
ddsExplode
ddsBomb
ddsBombman
ddsShoe
ddsPower
GameBkg3.bmp
Explode.bmp
Bombman.bmp
power.bmp
dog.bmp
Bomb.bmp
shoe.bmp
5
tAnimator_Timer
AnimateBomb
AnimateObstacle
AnimatePlayer
bombing
Show the current bomb diagram according to their
state
blow up
enemy
player
Show the current obstacle object
diagram According to its state
Test if player and enemy are died and set their
state to be dying
Clear things around the bomb except undestructibl
e object
Set obstacle object to disappear
6
RenderFrame
ddsGameObj
ddsGameBkg
ddsExplode
ddsBombman
ddsPower
ddsEnemy
ddsBomb
ddsShoe
DDSBack(DirectDrawSurface7)
DDSPrimary(DirectDrawSurface7)
Write a Comment
User Comments (0)
About PowerShow.com