C++/SDL2 RPG Platformer Tutorial for Beginners Part 9 | Vector2f Class

preview_player
Показать описание
//Description
Yet another riveting instalment to the SDL2 2D platformer RPG game tutorial series, in C++(the best programming language there is). In this tutorial, we program a Vector class to simply the handling of coordinates.

//Ad time

//Links

//Music used in the video

My own songs. I don't have a name for any of them yet.

//Some more epic content if you enjoyed this one

PolyMars - Making a Game With Discord's Bot API
DaFluffyPotato - Throw Everything! - Devlog #6 (Pygame)
OldBaconFace - Minecraft Bedrock Edition Playthrough [7]
ShawCode - How To Make Mobile Apps with Python - Kivy Tutorial #1

WittySmirk - Project Duck 1 The Journey Begins
R.K. Coding - CODING QUEST | Coding a Raytracer in C++ and SDL (260 lines)

#codergopher #coding
#tutorial
#programming
Рекомендации по теме
Комментарии
Автор

Geez, I just love your fricking videos, comedy + code = the meaning of life

Stevesteacher
Автор

Can’t wait for the proper game loop one, I am really confused about deltatime and fps capping atm

CL-pgiu
Автор

WOOHOO Im soo excited for part 10! Just finished all first ones in a week!

iankelley
Автор

I find joy in watching your videos. Please continue producing them.

borisk
Автор

Yes! finally a new video of this series, I finished setting up vectors myself just before this. Giving this a watch anyway

meziu
Автор

Amazing series! I'm just dabbling with c++ and game dev in general (long term plan is to eventually git gud enough to write a roguelike), and your videos help a lot in keeping me motivated & to learn - please do keep 'em coming :)
Also I've genuinely laughed out loud multiple times, so thanks for that too :D

zltn
Автор

Jesus dude, I just subscribed a few hours ago thinking it was my first time watching your channel.. but I was just scrolling through your uploads and damn you've changed!
I disliked a 3 year old video of yours about a year ago. I still remember how cringe it was haha, but damn you've grown, and you're really getting good at making videos!
Ignore people who are still giving you hate with no meaning, they're just too caught up in feeling sorry for themselves because they don't have the mental strength to get up off their ass and do something meaningful.
Keep making content, you're an inspiration.

Rocco-tbih
Автор

You are fun, educative and viewer friendly!. +1 Sub.

pablo
Автор

10:00 Don't forget to add the parameter types in the constructors and functions

mrt_
Автор

I had a semicolon at the end of Math.hpp line 7 (Vector2f();) where I shouldn't have, and the compiler gave me an encyclopaedia of errors, starting with:
"include/Math.hpp:8:10: error: 'x' was not declared in this scope"

I love programming.

nedmurry
Автор

Im loving your series so far and subscribed because of it

oltb
Автор

vectors aren't the same as position.very easy to confuse them for each other.vectors have an x and y doesn't make them the same as positions. Vectors are a direction with a magnitude.
magnitude/length of vector = sqrt(x^2 + y^2), pythogoras theorom.
direction(normalized) = (x^2 + y^2) ÷ (x^2 + y^2) = 1
direction x = (x^2 )/(x^2 + y^2)
direction y = (y^2 )/(x^2 + y^2)

love your vids

ibemper
Автор

Please keep doing these series. They are so cool.

jaimejaijaime
Автор

I'm your new sub... Keep doing my fav programming langauge c++ tuts and plis use simd

tawandagamedevs
Автор

I thought I'm the funnies programer.. laughing every time <3

gamestory
Автор

I like your tutorials but I think you shouldn't make the scope too big. You are explaining basic cpp principles in a tutorial about a library, in my opinion this should be at least intermediate, not basic.
Also you explained the difference between structs and classes and what constructors are already ;)

beyondcatastrophe_
Автор

struct are kept in c++ because of legacy C.

elakstein
Автор

But does the series end here ? Don't you show how to load character animations, character collisions ?

giorgioguglielmone
Автор

Nice video, even though I am C programmer

SaidMetiche-qyhb
Автор

Is it just me or there are 99 comments right now and this video is a water ad?

______
visit shbcf.ru