Skip to content

AgungHari/Proglan-Game-Nazi-Project-Tank

Repository files navigation

Proglan NAZI PROJECT TANK

🚀Assignment for Advanced Programming Course (2020) a game program that uses the SFML (Simple and Fast Multimedia Library) for graphics and audio. For more details, refer to the report.

Demo

kons

Header Files:

- #include <SFML/Graphics.hpp>: Untuk grafis.
- #include <SFML/Window.hpp>: kanvas/jendela permainan.
- #include <SFML/Audio.hpp>: Untuk audio.
- #include <iostream>: Untuk input/output standar.
- #include <Windows.h>: Untuk fungsi Windows.
- #include <vector>: Untuk penggunaan vektor.
- #include <math.h>: Untuk fungsi matematika.

Features

  • Menu and Tutorial: Displays the main menu, tutorial, and score with background music and images.
  • Game Window: Provides graphic displays for the game, including tanks, missiles, and airdrops.
  • Audio: Plays sound effects for shooting, collisions, and background music.
  • Game Controls: Manages the movement of tanks, bullets, and collision logic to determine the score.

Constants and Global Variables

  • bKiri, bKanan: Left and right boundaries for object positions.
  • rSpeed, airspeed: Missile speed and airspeed.
  • scoreTank1, scoreTank2, scoreHitler: Initial scores for two players and the target.
  • screenx, screeny: Screen size.
  • tank1x, tank1y, tank2x, tank2y: Initial positions of the tanks.

Authors

About

Tugas Mata Kuliah Pemrograman Lanjut (2020) Program permainan yang menggunakan pustaka SFML (Simple and Fast Multimedia Library) untuk grafis dan audio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages