• Advertisement

kaktusas2598

Member
  • Content count

    393
  • 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. Game event loop using ncurses library

    Yes. Thats why its flashing.
  3. 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. 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. 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. 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. Setting up OpenGL with Code::Blocks

    http://www.codeincodeblock.com/2013/05/setup-modern-opengl-3-and-4-with-glfw.html - try this one.
  14. What good OpenGL book do you recommend for beginners?

      Is this one complete yet?
  15. 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!!!
  16. Game Development - Where to start?

    I am studying Computer Engineering, but plan to dedicate my summer to online CS curriculum: http://blog.agupieware.com/2014/05/online-learning-bachelors-level.html . 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
  17. I recommend you trying to ocmbine C++ with SDL. Try these tutorials - http://lazyfoo.net/tutorials/SDL/index.php
  18. 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).
  19. 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 :)
  20. 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
  21. OpenGL documentation in QTCreator

    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.
  22. OpenGL documentation in QTCreator

    So I need to generate qt help file? where can i find opengl docs for download?
  • Advertisement