Coder Social home page Coder Social logo

FPS counter about octolib HOT 16 CLOSED

jbalestr42 avatar jbalestr42 commented on July 22, 2024
FPS counter

from octolib.

Comments (16)

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Le FPS counter est en test sur la branche dev.
Ju tu peux check voir si ca te vas?

Le mieux est de faire un checkout dans le projet octogame:

 git checkout dev
 git submodule update

from octolib.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

Hum je ne le vois pas, il faut faire quelque chose pour l'activer ?

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Normalement il est activé par defaut, par contre c'est sur la branche master. Il suffit de puller octogame et de mettre a jour les sous module, puis faire un make complete, si tout vas bien.

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

bon visiblement y'a un soucis :)

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Jai merdé avec les sous module je crois ^^

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

C'est bon, j'ai corrigé ca, le temps que ca passe les tests et c'est dispo.
Faut que je dorme moi, je fais de la merde!

from octolib.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

Bah oui je pensais que tu étais couché !

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

J'arrive pas a dormir, je suis tombé sur un article de Carmack: http://cpp.developpez.com/redaction/data/pages/rubrique/cpp/carmack/analyse-statique/
Et j'ai commencer a utiliser cppcheck du coup ^^

from octolib.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

Haha, alors les fps fonctionnent mais quand je change le state j'ai un segfault
*** Error in `./octodyssey.app': double free or corruption (out): 0x00000000026f9bc0 ***
[2] 26184 abort (core dumped) ./octodyssey.app

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

ahah! Bien bien bien ca, ben je sais ce que je ferai tout a l'heure!
Thanks!

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Ouh je vais voir ca de suite.

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

C'est quoi le hash du commit?

from octolib.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

125898a

from octolib.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

sinon le fps counter est bien chouette :)

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Ok je pense que c'est reglé. Si tu pull octogame, et update les submodule et recompile tout ca devrait le faire.

from octolib.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

Pour le FPS counter j'ai fait des carré pour pouvoir faire un seul appel a draw pour le background et les valeurs. Je pense qu'un jour je reduirais a un seul appel avec le texte aussi mais c'est pas tres utile...

from octolib.

Related Issues (20)

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.