Skip to content

jimmychenn/Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Games

Games made in Video Game Development

A class at USC called Video Game Development teaching gaming using some libraries like GLEW and SDL in C++. Games include Asteroids and a Tower Defense game.

Skeleton code is provided for me in the class. This readme serves as a summary of what I worked on. Though I only list the headers I created in full, the work I have done is not limited to those files since many objects interact with each other.

Asteroids

List of headers that I created in full:

  • AudioComponent.h
  • CollisionComponent.h
  • Laser.h
  • MeshComponent.h
  • MoveComponent.h
  • Asteroid.h
  • Ship.h
  • Sound.h
  • SphereCollision.h
  • SpriteComponent.h
  • InputComponent.h

Open the Xcode file and press build to play the game.

Controls:

  • W: Move forward
  • S: Move backward
  • A: Rotate left
  • D: Rotate right
  • ESC: Quit

Tower Defense

List of headers I created in full:

  • All the header files duplicated in Asteroids (Laser.h, Ship.h and Asteroid.h were not carried over)
  • CannonBall.h
  • Enemy.h
  • GameMode.h
  • HUD.h
  • NavWorld.h
  • NavComponent.h
  • PathNode.h
  • Spawner.h
  • Tower.h
  • FrostTower.h
  • CannonTower.h

Open the Xcode file and press build to play the game.

NOTE: Make sure that the parent directories do not have whitespace in their names.

Controls:

  • Click on a valid square and press 1 or 2 to build a tower.
  • 1: Build a cannon tower
  • 2: Build a frost tower
  • ESC: Quit

Space Racer

List of headers I created in full:

  • All the header files duplicated in Tower Defense and/or Asteroids
  • Arrow.h
  • Checkpoint.h
  • CameraComponent.h

Open the Xcode file and press build to play the game.

NOTE: Make sure that the parent directories do not have whitespace in their names.

Controls:

  • W: Rotate upward
  • S: Rotate downward
  • A: Rotate leftward
  • D: Rotate rightward
  • P: Move forward
  • ;: Move backward
  • ESC: Quit

Super Dance Battle Extreme

This was our final project for the class. Made in a team of three using the Unreal Editor so in order to open and run the game, you'll need Unreal Editor 4. Unreal Editor 4 has a nice blueprint system that emulates code functions. I used these in conjunction with C++ classes to make the game. The game is a take to combine two classic games and put them together: Street Fighter and Dance Dance Revolution. The project was thus divided into two parts, the fighting element and the rhythm element. My responsibilities leaned to the rhythm aspect of the game as well as UI and HUD elements. For instance:

  • I made the main menu which dynamically creates UI elements based on the Songs.txt in the /Content/Songs/ directory.
  • With my teammates, we devised a way to parse the text file and create 'beats' in-game.
  • I edited the songs, created the text files in the /Content/BeatMaps/ directory, syncing the numbers with specific beats in the song.
  • I helped rework a lot of the code in SDBXGameMode.h, BeatSpawner.h, and SDBXGameInstance.h in the /Source/SDBX/ directory

To play the game: Generate an Xcode project file from the Unreal Editor project (in Mac: right click on the .uproject file, go to services and generate Xcode Project). Open SDBX.xcodepoj with Xcode. Build with target as SDBXEditor to open Unreal Editor. Press the play button in Unreal to play the game. The game is a two player game and can be played with XBox controllers or on the keyboard.

Controls:

  • A/D: P1 move left and right
  • W: P1 jump
  • F: P1 punch
  • G: P1 dance
  • H: P1 block
  • Left/right arrows: P2 move left and right
  • Up arrow: P2 jump
  • P: P2 Punch
  • [: P2 Dance
  • ]: P2 Block

About

Games made in Video Game Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages