Menu

Tree [fc02bb] master /
 History

HTTPS access


File Date Author Commit
 FMOD-stuff 2025-09-13 Michel Michel [a4e93a] Changement architecture projet: mis la version ...
 SDL 2023-04-14 Michel Michel [d45adc] Second vaisseau continuation Cimg, SDL dans la ...
 images 2025-09-21 Thelothelo Thelothelo [b7142c] images et sons ajoutés
 sons 2025-09-21 Thelothelo Thelothelo [b7142c] images et sons ajoutés
 CImg.h 2022-12-29 Michel Michel [d2d83a] ajouté 3 fichiers
 README.txt 2025-09-27 Simon Zivy Simon Zivy [fc02bb] Amélioration readme et ajout de la to do dedans
 Release_notes.txt 2025-09-25 Thelothelo Thelothelo [b2f27f] release notes added
 Vaisseau.cpp 2025-09-13 Michel Michel [a4e93a] Changement architecture projet: mis la version ...
 Vaisseau.hpp 2025-09-13 Michel Michel [a4e93a] Changement architecture projet: mis la version ...
 compil.txt 2025-09-13 Michel Michel [a4e93a] Changement architecture projet: mis la version ...
 create_release.sh 2023-01-14 Michel Michel [898373] pour v0.1
 gravite.cpp 2025-09-24 Thelothelo Thelothelo [8f94d5] Le jouer peut maintenant demander un replay
 gravite_functions.cpp 2025-09-24 Thelothelo Thelothelo [8f94d5] Le jouer peut maintenant demander un replay
 gravite_functions.h 2025-09-15 Thelothelo Thelothelo [604ab3] corrigé read_params, qui lit maintenant direct...
 makefile 2025-09-25 Thelothelo Thelothelo [522e4c] makefile added
 params.txt 2022-12-28 Michel Michel [319674] Démarrage gravitate à partir des fichiers copié...
 params_labyrinthe.txt 2022-12-28 Michel Michel [319674] Démarrage gravitate à partir des fichiers copié...
 params_lune.txt 2025-09-14 Thelothelo Thelothelo [09f971] corrigé bug xstart dans read_params
 params_lune_decollage.txt 2025-09-13 Michel Michel [a4e93a] Changement architecture projet: mis la version ...
 params_nogravity.txt 2022-12-28 Michel Michel [319674] Démarrage gravitate à partir des fichiers copié...

Read Me

Comment jouer à Gravite
    
    1.Installer les dépendances nécessaires
        - imagemagick (sudo apt install imagemagick)
        - ffmpeg (sudo apt install ffmpeg)

    2. Télécharger le fichier gravite-fmod.tar.gz

    3. Décompresser (extraire) gravite-fmod.tar.gz sur votre ordinateur

    4. Déplacez vous dans le dossier décompressé et ouvrez le terminal à cet emplacement

    5. Lancez la commande $ ./gravite params_lune.txt

    6. Comme indiqué sur l'écran d'accueil, Pressez Y pour démarrer la partie
    


Comment participer au développement de Gravite

    1. Créez un Fork de Gravite sur l'interface utilisateur de SourceForge
    2. Clonez le Fork sur votre ordinateur
    3. Développez/documentez/modifiez
    4. Compilez pour vérifier le bon fonctionnement de vos développements
        a. Installer les dépendances pour compiler
            - sudo apt install libx11-dev
            - sudo apt install libpng-dev
        b. Compilez
            - $ g++ -pthread -O2 -c gravite.cpp Vaisseau.cpp gravite_functions.cpp -Wl,-rpath=FMOD-stuff/lib/x86_64/ -I FMOD-stuff/inc -L/usr/X11R6/lib -lm -lpthread -lX11 -lpng -lz
            - $ g++ -o gravite  gravite.o Vaisseau.o gravite_functions.o  FMOD-stuff/lib/x86_64/libfmod.so  -Wl,-rpath=FMOD-stuff/lib/x86_64/  -I FMOD-stuff/inc -L/usr/X11R6/lib -lm -lpthread -lX11 -lpng -lz
            ou bien:
            $ make
            ou
            $ make DBG=yes
    5. Lancez la commande $ ./gravite params_lune.txt et jouez à Gravite
    6. Pushez votre code sur votre repo
    7. Créer une merge Request vers le dépot originel


TODO
- Ajouter un fichier .gitingore pour ne pas pusher les file.o, les logs et les binaires
MongoDB Logo MongoDB