David, thank you so much for making this content and making it publicly available on YouTube. Such high-quality, specialized resources are not usually readily available, not for free. Your videos are immensely helpful and enlightening.
Great video, appreciate your effort! But at 36:34, the update() function could be made much simpler. You don't need to update object's positions px and py, just updating the velocities (vx and vy) would suffice. The game engine loop would take care of updating the position.
Another great video, David. The game is starting to really take shape and I can't wait for the next part. I do love these longer, multi-video projects that you're starting to do.
I would have gone with "Grr... Argh..." but maybe I'm betraying my age once again ;-) I'm looking forward to seeing how you code up ongoing background movement, like having the skeletons wander about at random until the player gets within range and then giving chase. As to that, I was also wondering how difficult it would be to spatchcock in a path planning algorithm (seeing as your video on A* is sitting right here) so that you could have the characters in a cut-scene react to the current layout of the screen rather than just walking through the scenery or—worse—getting hung up on bits of it! You could calculate the path on creation of the command object and only update it if the moving object collided with something…or instead of a target position you could specify a target object and re-calculate if that object moved…
Amazing video as always, javid, your contents are the best! I got a question, do you use other programming languages than C++ to make games like these? I'm not saying C++ is a bad language, but it could be nice to have some little variation time to time.
This is ultimate 2D RPG development courses..
hey javid, I firstly would like to let you know that the content your providing is very much appreciated and you're doing a wonderful job at it. I've been studying program for a while it's been almost one year at a university and I want to know how good of a programmer one needs to be in order to get a job and a decent salary. Although your videos are quite insightful but it can also be intimidating. I have built a strong foundation with loops, arrays and strings, classes, objects etcs in C++ and have even made a snake game but I don't know how long will it take me to be good enough to work in an organisation. I don't want to be overly ambitious or idealistic. Your response would be much appreciated.
i wonder, how would you go with making a turn based combat system for this?
Very cool videos. From Russia with love :)
I have a really weird issue in my program up to 44:35 everything worked perfectly, I added dialog handling and the program gives an error "_main alredy defined" after commenting out all the changes I made to the code since the last working version it still throws the same error but commenting out the main function makes everything run perfectly :o
51:24 this doesnt work for me because it says main is already defined inside of commands.cpp.
how to add these type of sprites in the console as im working on an game engine if you tell me this it would be great
In the moveTo() isnt it better to use (Direction, distance, speed) as parameters. Say in a dramatic cutscene: Move north, 10 steps, slowly -> moveTo(n, 10, 1) for action scene move fast. for diagonal use nw, ne, sw, se etc
Why do you use multiple public statements in your classes? You only need one or has it any deeper sense that im not understanding (I`m used to program in Java and only have very rudimentary knowledge about c++).
Love the tutorials and love the project. Don't love how ambiguous that "RPG_Main.cpp" file is though... Should have been an h file (you're right!) and now I have to figure out what to do with it in order to make my maps load. Could you please kindly tell me what I'm supposed to do with this file?
Personally, I preferred Jario 2, the one where you can throw turnips and things.
I see mario gliding around in a Zelda-esque world ...is this a new stage in the upcoming Super Smash Bros for switch?
Why do you use "new" when creating instances of objects? Why not just assign it with "=" or curly braces?
Was there a video series on the engine itself, i.e. rendering sprites, getting a graphics context etc...?
@javidx9