We are going to learn how to get outputs out of functions in C++. This will help us simplify our code and implement our pseudo code.
- Expression — Fragment of code that produces a value
- Statement — An action to be performed
An expression is almost always a statement.
A…
We are going to work with locals in a given function. We can set our values then the ones stored in MyVector.
We have been dealing with variables belonging to a class so far.
- Scope-How long does a variable live?
- Generally between {}
SetLocalVector from MyVector
Then SetActorLocation from LocalVector
…
We are going to implement moving platforms using the game loop and how tick function is related to it. If you have used Unity the update function is the tick function.
- Process Input
- Update game state
- Render to Display
- Frame — single picture in a video
- Frame Rate- how many…