Git Product home page Git Product logo

bullet-hell's Introduction

Bullet hell.

License MIT

This is a game similar to bullet hell

Description

A simple game similar to bullet hell. Consult https://en.wikipedia.org/wiki/Bullet_hell for an overview. This game was written in C++ using the SDL2 library to provide low-level access to audio, keyboard, mouse and graphics.

Screenshots

Screenshot from main menu Screenshot from game

How to Install and Run the Project

  • Clone this repository

  • Create an empty project in Visual Studio

  • Download SDL. For Visual Studio, download the "VC" development library. https://github.com/libsdl-org/SDL/releases/tag/release-2.30.2) The "VC" development library

  • Extract the files and move the folder into your project. SDL2 location

  • Open up your project properties.

  • Go to VC++ directories, select include directories, and select edit.

  • Add the path to the "include" folder in your SDL source folder. $(ProjectDir) is replaced with the path to your .vxproj file.

    Example $(ProjectDir)..\SDL2\include

  • Hit OK, then do the same for library directories. Here, add lib/x64 (or lib/x86) from your SDL source folder.

    $(ProjectDir)..\SDL2\lib\x64

  • Next, expand the linker options and select input. Click on additional dependencies and select edit.

  • Add SDL2.lib and SDL2main.lib.

    SDL2.lib;SDL2main.lib

  • Next, go to debugging and edit environment.

  • Add this command. Use the path to the lib/x64 (or lib/x86) folder in your SDL source folder. This allows your program to see the SDL libraries at runtime. To run the executable on its own, you must copy those libraries into the same directory.

    PATH=%PATH%;$(ProjectDir)..\SDL2\lib\x64

  • Go to system under linker. Edit subsystem. Select Console.

  • Click Apply and OK. Done for properties.

  • From source_files folder add all files to Source Files in Visual Studio.

  • Replace images folder to working directory. The working directory is where your application thinks it is operating. Typically, your working directory is the directory where your executable is at but some programs like Visual Studio change the working directory to where the vcxproj file is located.

  • Run

bullet-hell's People

Contributors

uladzisluk 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.