Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

953 Good

About kaktusas2598

  • Rank

Personal Information

  • Interests


  • Github
  1. kaktusas2598

    Game event loop using ncurses library

    Yes. Thats why its flashing.
  2. kaktusas2598

    Game event loop using ncurses library

    This works. I set 100ms timeout, but still rendering looks awful - it clears screen on every call to render(), So I get this flickering, flashing effect.
  3. kaktusas2598

    Game event loop using ncurses library

      Firstly, thanks for reply. Just one question - will it work only on linux? I am preffering cross-platform solutions, but it may work for now.
  4. I am developing for Linux maybe, but my apps are cross-platform, so my recommendations are: 2D/windowing/events/audio - SDL2; 3D - OpenGL And a lot of more libraries which a cross-platform(FreeGlut, Box2D, etc...)
  5. Hello,   I am writing console RPG game. Mainly is prototype, cause I will remake it using SDL2 and OpenGL.   But for now I am planning to stick to ncurses library, for input and rendering in console.   I am using getch() function for input, but it is blocking, so If I have something like bullet objects, it moves only then some input is entered. So I need something like in SDL2 polling events.   Know all I have in input function: void PlayState::input(Game* game) {     game->currentInput = getch(); //blocking input } Any help is appreciated. But I prefer to use ncurses for input. 
  6. kaktusas2598

    Noob in need

    I highly recommend you to follow these tutorials: http://lazyfoo.net/tutorials/SDL/index.php . You will learn basic game programming concepts with SDL(You will be using it for windowing, events, sound and graphics) and maybe later on you can start to dig OpenGL and create more sophisticated rendering 2D or 3D.
  7. kaktusas2598

    Music while programming

    I listen to all kind of music, when coding. To me good music have no genres, so I listen to a lot of styles: rock, metal, jazz, blues, hip-hop, funk, soul, electronics, house. All of them mostly old schoolish and underground.
  8. Thank yall for all response, all are greatly appreciated :) I will pick where I was left, try to create somethinf more advanced and Learn SDL2 and OpenGL :)
  9. I was thinking about creating two or more complicated 2d games like packman or tetris, RPG or sidescroller. Or all of them. And then advancing to OpenGL, because soon I will get Blue Book.   I agree on programming concepts, maybe I need to practice more gamedev concepts, I have Game Coding Complete and Game Engine Architecture books, maybe Its good for me to read them? 
  10. Thank you very much, I have SDL2 game development, OpenGL blue book and C++ Primer to remind me C++ a bit :D
  11. I forgot some details and have to learn sdl2 and plus OpenGL, but I could manage it. Problem is I dont have much time with uni and work :(
  12. Hello guys, I have tried to program games in C++ and created games with SDL like Pong, Black Jack and Space Invaders style game, but I took a break because of university and job as php developer. It is about year or morr since Tl ; DR I took long break from gamedev but not programming in general. So I am wondering if I need to recreate these simple games or I can start with more advanced concepts like AI, side scrolling, more physics etc.? P.S.I was thinking of SDL2 and OpenGL.
  13. kaktusas2598

    What's In Your Toolbox?

  14. kaktusas2598

    Setting up OpenGL with Code::Blocks

    http://www.codeincodeblock.com/2013/05/setup-modern-opengl-3-and-4-with-glfw.html - try this one.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!