C++ Game Developer Path
I have learnt the very basics of C++ on w3schools but I don’t know how should I continue, what to learn more. I don’t even know where I’m at after the course, haven’t been able to imagine my path yet.
I am a learning to use the c# language, and while working with a simple switch my code is having a error with cases, how do i solve it?
`public class AulaSwitch : MonoBehaviour
{
public int diaSemana;
movement bug in 2D c game
For some reason, the mySprite struct moves 2 times faster in the left direction (a key) than the right direction (d key), despite the magnitudes of delta_time
and speed_x
being the exact same when either of the keys is pressed. When this code is run, the logs tell me for a key: -2
and for for d key: 1
. How is this possible?
Is it possible to iterate on elements of a class in C#?
I did a parent class of all classes in my C# program, and I would like make a loop through them, but I don’t know how?
Is it possible with a foreach loop?
Best C# book for learning to write a Console RPG using OOP
Can anyone recommend a book that explains step by step how to develop a console RPG in C# that uses classes and object oriented programing? I’m less interested in the Unity aspect, and just want a fun way to get familiar with object oriented programming, with out having to learn about graphics and movements.
Why does this C++ code testing whether two strings are equal throw an error when data types are the same?
When I run this code:
Why does this cpp code testing whether two strings are equal throw an error when data types are the same?
When I run this code: