Search found 157 matches

Re: Null Reference Exception when using Buttons in C# (CE5.4)

My guess is that the value of _texture is null. This could be caused by the BackgroundImageUrl or BackgroundImageInvertedUrl properties on the Button having the wrong values. So to fix it you can assign a the right image to the button. You can also modify the file directly in the Core.csproj by chan...

Re: So im a begginer to cryengine (and game development altogether) and im trying to learn how to make a game on it

If you're not afraid of programming and just want to start "playing" with some of the code I can highly recommend starting by having a look at the Rolling Ball template. You can select the template when you create a new project in the launcher. For the C# version you can read this documentation to g...

Re: Help while exporting game

I have not made that folder I'm reinstalling, here is the console window From what I understand it fails to make the .pak files in the assets because it's unable to run shutil.make_archive. Is it possible that you're using an older version of Python? Make sure you have Python 2.7+ or 3.x installed ...

Re: C# Entity Component System

It's because in the Entity.cs class that the AddComponent is in does not exist in 5.3, (release branch) but exists in the 5.4 (main branch). You are completely right. I forgot that it was added in 5.4. Even worse, I was the one that requested it for 5.4. :P Instead you can use the GetOrCreateCompon...

Re: C# Entity Component System

Your InputManager doesn't need to be an EntityComponent. In your FirstPersonPlayer you can create an instance of the InputManager, and in the OnPrePhysicsUpdate of the FirstPersonPlayer you can update the InputManager before you need the input values. For example the FirstPersonPlayer would be like:...

Go to advanced search

cron