Skip to content

jjuradok/super-bomberman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proyecto final de la materia programación II en Ingeniería en Inteligencia Artificial

Realizado usando la librereia SFML para c++

La configuración de SFML está pensada para Macos pero se puede adaptar a otro sistema operativo reemplazando el archivo Makefile por el correspondiente. Paso a paso para correrlo en Macos:

Prerequisites

  1. Git
  2. VSCode
  3. Homebrew
  4. Make

Setup

First, clone this repo

git clone https://github.com/beatzoid/sfml-macos

Or you can click the green Use this template to automagically make a new repo under your account with all the files (example) and then clone that.


Then, open it in VSCode,

install SFML using homebrew

brew install sfml

and get the path to the installation

brew info sfml

You will see something like /opt/homebrew/Cellar/sfml/2.5.1_2 in the output. If the numbers differ it's ok. First, you need to edit the Makefile and change the SFML_PATH variable to the path you got above. Then, open .vscode/c_cpp_properties.json and change the second entry in the includePath array to the path you got.

Then, press Cmd+Shift+B in VSCode to build and FN+F5 to run. If it works, you should see a window with a black background and cyan circle. Once you exit the program, you should also see the number "5" in the terminal. Congrats, you can now make whatever you want with SFML!

Credit

This StackOverflow answer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages