1
General discussions / Re: [Video Tutorial] Arkanoid in 160 lines - C++11 + SFML2
« on: May 10, 2015, 01:43:29 pm »
I really like your YouTube series!
I recently started again developing in C++ (I usually use C# for work) and your tutorials helped me a lot.
I have 2 questions:
1) In Episode 2 (about Frametime and FPS) is there a benefit using std::chrono instead of sf::Time? I am researching about Game Loop and Game Time and I am still trying to find the best approach. BTW I really liked the Fixed time slice approach.
2) Based on Episode 5 (Game entity management basics) I wanted to make a space invaders clone.
I expanded the p9.cpp and created my game. The problem is that I haven't figured out how to create Entities in real time. For example when player presses the space bar, a bullets gets fired from player ship. (Maybe I need to brush up my C++ skills )
Thanks in advance!
I recently started again developing in C++ (I usually use C# for work) and your tutorials helped me a lot.
I have 2 questions:
1) In Episode 2 (about Frametime and FPS) is there a benefit using std::chrono instead of sf::Time? I am researching about Game Loop and Game Time and I am still trying to find the best approach. BTW I really liked the Fixed time slice approach.
2) Based on Episode 5 (Game entity management basics) I wanted to make a space invaders clone.
I expanded the p9.cpp and created my game. The problem is that I haven't figured out how to create Entities in real time. For example when player presses the space bar, a bullets gets fired from player ship. (Maybe I need to brush up my C++ skills )
Thanks in advance!