Menu

Tree [9b228f] 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
 .gitignore 2025-11-11 Thelothelo Thelothelo [26862b] .gitignore added
 CImg.h 2022-12-29 Michel Michel [d2d83a] ajouté 3 fichiers
 LICENCE 2025-11-17 Thelothelo Thelothelo [9b228f] ajougé licence gpl3
 README.txt 2025-11-17 Thelothelo Thelothelo [9b228f] ajougé licence gpl3
 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

********************************************************************************************************
Copyright (C) 2025 Michel Zivy
Gravite program. This program codes a game in which the player pilots a rocket to dock with a space station and enter orbit.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
********************************************************************************************************

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
MongoDB Logo MongoDB