• Content count

  • Joined

  • Last visited

Community Reputation

106 Neutral

About reodor

  • Rank
  1. The simplest solution is to add whatever code you need to execute after the event switch statement. This will run without any key input. An alternative is to create a background thread that does the work. This solution requires that you know multi threaded programing
  2. How to create a graphical timer in SDL_TTF?

    You need to write the number to a char buffer, then you can render it to a surface. [code]int time; char buffer[128]; sprintf(buffer, "%d", time); surface = TTF_RenderText_Blended(font, buffer, color); [/code]
  3. I am planing a TIM (the incredible machine) like game and are looking for a suitable game engine. Does anyone know of a C++ 2D game engine that supports; drag and drop, object snap, widgets, and more.