WaveEngine 2.4.1 to 2.5.0

This article is a brief guide to solving the majority of problems that you will find when you upgrade your game project from WaveEngine 2.4.1 version to 2.5.0.

Although WaveEngine has an upgrade tool that runs when you open an old game project with the current WaveEditor 2.5, you can find some issues listed below.

An important point to bear in mind is that Model, ModelRenderer and MaterialsMap components are not longer supported, so you should replace them to use FileMesh, MeshRenderer and MaterialComponent respectively. For more details, you can read the following article. We allowed them to be used in the previous version as deprecated classes.

So, here we go!

Loading Game Info

The most important change is that we need to Load the GameInfo file (.wgame).

WaveEngine 2.4.1

WaveEngine 2.5.0

RenderLayers

Main difference is LayerType properties has changed to LayerId, holding now an int identifier instead of a Type.

WaveEngine 2.4.1

WaveEngine 2.5.0

WaveEngine 2.4.1

WaveEngine 2.5.0

Mainly every property Type LayerType has been changed to int LayerId.

Sampler State

The AddressMode has now evolved to the SamplerState, and can be configured in the Texture Asset, instead of the material or the component.

StandardMaterial

WaveEngine 2.4.1

WaveEngine 2.5.0

WaveEngine 2.4.1

WaveEngine 2.5.0

WaveEngine 2.4.1

WaveEngine 2.5.0

WaveEngine 2.4.1

WaveEngine 2.5.0

WaveEngine 2.4.1

WaveEngine 2.5.0

Dual Material

The DualMaterial class has been removed. It has been merged into the StandardMaterial, which now has Diffuse1 and Diffuse2 properties, among others.

Leave a Reply

Your email address will not be published. Required fields are marked *