Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Everything posted by kaktusas2598

  1. 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. 
  2. kaktusas2598

    Game event loop using ncurses library

    Yes. Thats why its flashing.
  3. 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.
  4. 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.
  5. 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...)
  6. kaktusas2598

    Noob in need

    I highly recommend you to follow these tutorials: . 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. 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.
  9. 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 :)
  10. 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? 
  11. Thank you very much, I have SDL2 game development, OpenGL blue book and C++ Primer to remind me C++ a bit :D
  12. 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 :(
  13. kaktusas2598

    What's In Your Toolbox?

  14. kaktusas2598

    Setting up OpenGL with Code::Blocks - try this one.
  15.   Is this one complete yet?
  16. kaktusas2598

    Questions for all programmers.

    1) What was the first programming language you studied? C++   2) Did you have any Computer Science background before your first language (ie: boolean algebra, memory organisation, algorithms)? Boolean logic   3) The first language you studied was it self-taught, formal instruction, or both?   Self-taught   4) Was the Computer-Science background self-taught, formal instruction, or both?   Self-taught   5) When you started to study Computer Science did it help your understanding of the language you first learned?   Yes, a lot   6) What kind of environment did you first program in (ie: the IDE or text editor, and the OS)?   Visual Studio 2005 on Windows XP, now Linux FTW!!!
  17. kaktusas2598

    Game Development - Where to start?

    I am studying Computer Engineering, but plan to dedicate my summer to online CS curriculum: . I think its very nice for every programmer type, there are courses about AI and Graphics here, so its definately nice start for game programming too
  18. I recommend you trying to ocmbine C++ with SDL. Try these tutorials -
  19. kaktusas2598

    Linux development...

    I still recommend you to give QT Creator another chance, it is really powerdul IDE, you could also use Code::Blocks as DareDeveloper have mentioned. Personally, I use vim for source editing, gcc and g++ for compiling and wrap all building process with makefiles - this works perfectly for me with SDL2 and OpenGL.   If you want to do cross-platform development, you could try CMake(which also works with QT Creator).
  20. Ogre is 3d rendering engine, but what about it? You can still use other libraries for sound, input etc. I think its only better for you as u are getting better using more tools. I am no pro in engines, and I also look for engine myself :)
  21. kaktusas2598

    C++ IDEs for Linux

    I am very comfortable with g++, gdb,vim and make combination, but im consider switching to QT Creator for bigger programs(because ease of management), I am still not sure, though :) But, I have no idea how to build projects with additional libraries like openGL, in QT tools :( :D
  22. Hello everyone. Maybe someone know how do I can integrate OpenGL documentation, so I can access it then writing code in QCreator. Mind, I am using freeGlut for windowing, not qt.
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!