Git Product home page Git Product logo

mariolikeb3's Introduction

Projet de programmation B3

Dorian Fonseca / Kevin Granger / Louis Merlaud

Presentation du projet

Ce projet avait pour but de réaliser un jeu de platforme type "Super Mario Bros" en utilisant l'outil de rendu graphique sfml en c++ tout en construisant une architecture ordonnée.

Contraintes :

  • utilisations de design patterns (dans notre cas : ecs, state machine, signal slot)
  • faire un effet de parallax
  • faire un cmake pour faciliter l'initialisation du projet

Initialisation :

L'initialisation du projet se fait via cmake, tout d'abord assurez vous que dans le fichier .env la variable PATH_VCPKG contient le path vers votre fichier vcpkg.cmake (situé dans le dossier de vcpkg, ex :PATH_VCPKG=C:\Users\louis\vcpkg\scripts\buildsystems\vcpkg.cmake) pour générer les fichiers de builds exécutez la commande cmake -G "Visual Studio 17 2022" -A x64 à la racine du projet où se situe le fichier CMakeLists.txt (assurez-vous d'avoir cmake d'installer sur votre machine: https://cmake.org/download/)

Après un build cmake, le projet peut être lancé via visual studio en accédant au projet via le .sln généré via cmake, il faut choisir MarioLikeB3 en tant que projet de démarrage. L'exe sera disponible dans le dossier Debug si vous souhaitez lancer l'exe sans passer par Visual Studio après l'avoir généré veuillez copier le dossier ressources à l'intérieur du répertoire Debug.

Jouabilité

Une fois le projet lancé cliquez sur play pour jouer.

Commandes :

bouton Action
Q / flèche de gauche gauche
S / flèche de droite droite
SPACE saut

Pour gagner il faut toucher le drapeau à la fin du niveau, toucher les ennemis sur les côtés ou tomber dans le vide met fin à la partie, les ennemis peuvent être éliminés en leur sautant dessus.

mariolikeb3's People

Contributors

dorian2002 avatar cajou42 avatar kraizix avatar

Stargazers

 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.