Skip to content

kalikuro/jitattack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jit Attack

Jit attack is a short 2D top-down zombie survival game created using C++ and the SFML Library. This game is only one level with having a user player and a random spawning zombies that will be trying to stop you. For more information about SFML you can visit here


Prerequisits

Before install there are some dependencies that must be installed before so. This game is also made to be able to be able to use across Linux, MacOS and Windows so follwing the tutorials provided will very on the OS you are trying to run this on.

Please follow these links to the tutorial to be able to download the follwing dependencies:

here

you can also follow the following documentation for more help.

Windows

MacOS

Linux

  • Get SFML 2.5.1 from your distro if it has it, or compile from source

All

Note: You can manage the "Path" environment variable from Windows if you'd like, but I've found sandboxing it in VS Code is better for tracking things like .dll dependencies.


Configuration

At this point, everything you need is installed

  1. Open the sfml-vscode-boilerplate folder in VS Code.
  2. With Main.cpp (or any source file) open, check the lower-right to ensure "Win32/Mac/Linux" is the configuration set (this should be auto-selected by the C++ plugin). If it is not correct, hit Ctrl+Shift+B and select C/Cpp: Select a configuration... and choose the platform you're working on.
  3. At this point you should be able to run a build task (Ctrl+Shift+B > Build & Run), but it'll be nicer to add keybindings for these tasks so you can build with 1 keypress.
  4. Open the .vscode folder and click on the _keybindings.json file. This is not an officially recognized file, but just contains the keybindings you can copy into the actual keybindings.json file.
  5. Go into File > Preferences > Keyboard Shortcuts & click on the keybindings.json link at the top.
  6. Copy the keybindings into this file. Feel free to change them if you don't like them later.
  7. Hit the F9 key to run the Build & Run: Release task. It should run the Makefile, find the compiler, build the Main.cpp into Main.o, and launch the sample SFML app. Shift+F9 will launch the basic Debug build, and F8 will launch the actual Debugger alongside the Debug build.

At this point if you have followed all the steps correctly when trying to build and run the program it should work.

Other Sources

These sources were either used as documentation for creating the game or inspirtatoin. Big thank you to the following:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages