briggsyj@programming.devtoGame Development@programming.dev•Rogue Legacy 1's source code is now available for everyone!
1·
3 months ago #region MapInputs
private const int DEBUG_INPUT_SWAPWEAPON = 0;
private const int DEBUG_INPUT_GIVEMANA = 1;
private const int DEBUG_INPUT_GIVEHEALTH = 2;
private const int DEBUG_INPUT_LEVELUP_STRENGTH = 3;
private const int DEBUG_INPUT_LEVELUP_HEALTH = 4;
private const int DEBUG_INPUT_LEVELUP_ENDURANCE = 5;
private const int DEBUG_INPUT_LEVELUP_EQUIPLOAD = 6;
private const int DEBUG_INPUT_TRAITSCREEN = 7;
private const int DEBUG_UNLOCK_ALL_BLUEPRINTS = 8;
private const int DEBUG_PURCHASE_ALL_BLUEPRINTS = 9;
wonder why they didn’t go with some enums
When I was learning c#, I found the .Net framework tutorials available on freecodecamp to be good.
Also, using the Jetbrains Rider IDE (assuming this is for private non-commercial purposes, as per the terms of their free license) rather than VSCode or Visual Studio. VSCode is still lacking in features when it comes to c#, and Visual Studio probably makes more sense if you’re already accustomed to c# dev.