Tag: game

  • Some Notes about Fortran : User defined I/O derived type

    Derived type in Fortran is for object programming.s In my experience , almost my derived type used in my games or software have over 10 variables in it. In the first time, when i want save some objects in a file ,and changed some variables, i must repeatedly write all the variables with line format…

  • Compare 3 modes of SDL_HINT_RENDER_SCALE_QUALITY

    Using SDL library to render a picture to renderer (monitor ), it sometime become blur when we need to compress/rescale the size of picture. SDL_HINT_RENDER_SCALE_QUALITY , is a hint that specifies scaling quality when rendering (copy picture/texture and paste to monitor through graphic card ) This hint have 3 option : nearest (default ) ,…