GithubHelp home page GithubHelp logo

portfoliono2's Introduction

Portfolio No.2: A Simple Game using C++, Kinect SDK and Direct2D

Demo Showcase

About This Project

This project is made for the final project in computer vision course on the first semester of junior, which uses Kinect SDK v1.0 to make a basic game with C++ and Direct2D.

About this Game

Allens are intruding our Earth by sending asteroids! You are a giant guardian. Please help people and save our Earth. Use your body motion to hit those asteroids (green boxes).

Introducing the Game UI

avatar

How to Start the Game

  • Put both hands into the green box.
  • You can pause the game by putting both hands into the "current score" area.

Details in this Game

  • This game supports 2 player co-up. If so, the asteroids will go even faster!
  • You have only 3 lives. When an asteroid hits the ground, you lose a life with a mark of x at the bottom left corner. If you lose all three of them, the game overs.
  • An extra life can be earned for every 1000 points.
  • The score can go higher more quickly if there's more combo. You lose the combo if you lose one life. BTW, the speed of the asteroids depends on the score and the combo.
  • Please enjoy yourselves.

What I Have Done in This Project

  • Overall game design, including the basic idea of the game and all the details about it.
  • Font rendering system. I used a very basic method to render fonts in a stylish way.
  • Programming the logic of the game. Construction the objects used in the game.

What I Learned from Others

  • The Direct2D code for drawing lines.
  • The code used for human body detection.

Other Resources

  • Sound effects are from Super Mario Bros.

Some Improvements I Could Do

  • I was unexperienced with code making for fonts so I used hard-coded for them in a very stupid way. I should just use an 8-bit integer to represent the coding status of each character and use an array to store them. This will make the code a lot more readable.

portfoliono2's People

Contributors

tomjinw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.