Search found 7 matches

Re: Class object that is persistent throughout every level?

There is currently not a way to keep Entities alive between multiple levels. Instead you can use CGamePlugin class in the templates to handle persistent systems for your project. The CGamePlugin will be alive during the whole lifetime of the game. Ahh yes. Thank you for that @cry-miron ! I mean I c...

Re: Class object that is persistent throughout every level?

I know to use the singleton pattern, but I was still curious what object is persistent when the game starts and where the game ends. Because even when creating a C++ Singleton without a persistent context, it will still be removed after the level has been unloaded. Typically in a game engine there's...

5.5 Input Action not working[SOLVED]

Hello Community! I'm coming back to CE once more. However, I'm having issues with trying to get Actions to work. I have this: Player.cpp (Initialize() function) m_pInputComponent->RegisterAction("player", "quitgame", [this](int activationMode, float value) { CryLogAlways("QUIT GAME"); }); m_pInputCo...

Go to advanced search