These short C++ tutorials are great, but those complete full-length projects (like Tetris, Pong and Snake) is what sets you apart from any other tutorial channels. I know those take ages to make, but I still hope we can get C++ Space Invaders soon :)
@programmingwithnick Жыл бұрын
Yes I understand your point. Don't worry, the work on the Space Invaders tutorial has started ;-)
@StarFury2 Жыл бұрын
Great news, looking forward to it! :) Take your time and thank you for your hard work!
@2000jago Жыл бұрын
C++ - Instant thumbs up from me!
@programmingwithnick Жыл бұрын
Appreciated!
@LuisMedina-dk3vc11 ай бұрын
Excelente, thank you. I hope you continue making more videos about iterators, templates and Containers with classes an OPP.
@programmingwithnick11 ай бұрын
That's the plan!
@thorn839511 ай бұрын
please keep making similar c++ tutorials!
@Tims_Projects Жыл бұрын
I love the way you pronounce iterator 😉
@easy_3d11 ай бұрын
Hey Nick, I have a question regarding your dfplayer with arduino program, how can i add a code to switch on the led when the music is played by dfplayer and push button is pressed??
@frankstercodestuff11 ай бұрын
Hey! I love your videos, I learn so much from them! Is it possible for you to make a tutorial about making an executable file (raylib) so my friends can play my games? It’s okay if it’s not possible, but I would really appreciate if you could respond!
@Yamu_1685 ай бұрын
Hey you did it haha
@opkp11 ай бұрын
really helpful, thanks
@programmingwithnick11 ай бұрын
Glad to hear that!
@manuelgarciagarcia2501 Жыл бұрын
How could you eliminate elements from the vector while traversing the vector with the for loop, I give you an example: If I have a ship and it launches bullets when firing, we would add the bullets to the vector while the ship fires, but when the bullet leaves the screen or collides with an enemy we would have to eliminate the bullet, as it would be.
@programmingwithnick Жыл бұрын
That's a function I have that does something similar. We are going to use it in the space invaders example: void Game::DeleteInactiveLasers() { auto it = alienLasers.begin(); while(it != alienLasers.end()) { if(it-> active == false) { it = alienLasers.erase(it); }else { it++; } } }
@manuelgarciagarcia2501 Жыл бұрын
@@programmingwithnick Either smart pointers or normal pointers will be used in the space invaders example, or perhaps no pointers will be used. Another question, to load the images that will be in a folder, some function will be used that cycles through the images in that folder or whatever.
@StarFury2 Жыл бұрын
I guess it's not a good idea remove container elements while iterating. iterate through all first, check conditions, then delete unnecessary elements.
@manuelgarciagarcia2501 Жыл бұрын
@@StarFury2 Can you give an example of how you would do it?