MOOC Oral presentation
“ Beginning Game Programming with C# ”
Anthony Barbier
1
MOOC Oral presentation Beginning Game Programming with C# - - PowerPoint PPT Presentation
MOOC Oral presentation Beginning Game Programming with C# Anthony Barbier 1 Plan I - Personal project : introduction II - Personal project : development III - Lets play ! 2 I - Personal project : introduction 3 I - Personal
“ Beginning Game Programming with C# ”
1
I - Personal project : introduction II - Personal project : development III - Let’s play !
2
3
→ Pac-Man-like game → Simplified :
Original Pacman
4
→ Goal : collect all the dots
My Pacman Original Pacman
5
6
7
→ Image downloaded from The Spriters Resource
8
→ World map = grid → Change candies for dots
9
→ Script to convert the image to a C# matrix → Almost ok everywhere : → A tile :
10
→ Trouble accessing a tile
11
→ Dots removed from the image
12
→ Move Pacman : 4 possible directions
13
→ Sprite animation :
14
→ Score and lives : displayed at the bottom
add margin at the bottom
15
→ Can't die → Move randomly
16
→ With collision rectangles → On collision : reset positions, and -1 life for the player
After updating positions of Pacman and ghosts (Game1 Update method)
17
→ End when game over or when the player won
Player lost Player won
18
19