Coder Social home page Coder Social logo

bataillespatiale's People

Contributors

barbatos avatar fredericcosnefroy avatar mastilver avatar soinou avatar soullessoni avatar tenwing avatar thornydre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bataillespatiale's Issues

Enumérations invalides

Les énumérations de types, comme TypeVaisseau, TypeBatiment, etc, ne correspondent pas au cahier des charges.

Or, pour les images, seules les images des vaisseaux/batiments présents dans le cahier des charges ont été faites.

Il faudrait donc modifier les énumérations en conséquence :x

Exemple :

enum class TypeVaisseau :sf::Uint16 {
    Inexistant,
    Simple,
    Constructeur,
    Bombardier,
    Chasseur,
    Croiseur,
    Destructeur,
    ChasseurLourd,
    Traqueur,
    Leger,
    Nombre
};

Le type Simple n'existe pas :x.

Et le type Nombre n'est plus utile, apparemment.

De même pour les autres types.

Erreur de chargement d'une image

Failed to load image "ressources/images/Vaisseaux/sprite_destroyer_1.png". Reason : Unable to open file

Lors de l'ajout d'un batiment de type Destructeur

Police ou texte non appropriée

Lors de l'ajout d'un vaisseau léger on a dans l'affichage graphique le type : L[][]ger je pense que les accents ne sont pas pris en compte par la police il faudrait adapter la police ou le texte :)

Position : operator==

Could it be possible to implement operator== (And maybe some other operators), in the Position class ?

I think it could be really really useful.

I wrote operator==, here's the code if you don't really want to code it (It's not really complicated though) :

    bool Position::operator==(Position gauche)
    {
        return x == gauche.x && y == gauche.y;
    }

Ajouter details Structures

Il faudrait que l'entiereté des détails soient affichés dans l'interface client car ils sont bien envoyés sur le reseau mais pas affichés ce qui pourrait etre utile au moins pour les tests deplacements, constructions ...

Crash lors du chargement de l'image du vaisseau mère

Comme expliqué, le jeu crash totalement lors du chargement de l'image du vaisseau mère.

Fonction appellée :

    texture.loadFromFile("chemin/vers/l'image/du/vaisseau/mère");

La méthode loadFromFile étant une méthode de la classe sf::Texture de la SFML.

L'erreur ne venant pas de la SFML, puisque toutes les autres images sont chargées sans problèmes, il doit y avoir un problème avec l'image.

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.