2018 PD2 Project 3

Shooting game

The game

Based on STGs like "Raiden", "Touhou project"...

Enemy's HitPoint bar

Enemy

 Player

Score

Player's HitPoint

Remaining chance to use skill

Game example

Requirements

  • Player can control by human (5%)
  • Player's HP -1 when hit by enemy, game end when HP=0 (5%)
  • Player can shoot bullets to attack (5%)
  • Player can manually use limited-times skill (10%)
  • Enemy can move by itself (5%)
  • Enemy can automatically attack (5%)
  • Enemy lost HP when hit by player, HP must be displayed (5%)
  • Show player score, you can design your scoring method (5%)
  • Player and Enemy's class must use Polymorphism (5%)
  • Demo (50%)
  • Bonus (Up to 20%)

Qt Graphics system

When recording a film...

  • Movie studio (Scene)
  • The area camera is recording (View)
  • Characters (Item)

GraphicsScene

GraphicsView

GraphicsItem

View displays a Scene

Scene has some Items

Items has it's position

Coordinate system

Example code

Deadline - 6/17

Please fork this repo first

Don't upload these to GitLab:

  • .o files
  • executable files
  • build-XXXX folder
  • .pro.user files
  • moc_XXXX.cpp/.h generated by Qt

Read error message first when you encounter push/compile error

No plagiarism !

2018 PD2 Project 3

By Liang Yu-Cheng

2018 PD2 Project 3

Shooting Game

  • 1,959