Hi guys,
I've finally uploaded the latest version of S2ENGINE HD.
There are a lot of news regarding expecially the engine stability.
NEW MEMORY SYSTEM
As just explained I've worked a lot on memory management in order to better bugfixing the code and testing how memory is used.
In this version you will be able to see how much memory the engine is using and how much memory is reserved to it by the operating system,
all in realtime!
Various leaks has been discovered and many crashes has been solved thanks to the memory manager.
Also a small work has been made on improving data alignment for better memory usage and performances.
FRAMERATE
As just said in July I've worked for improving a bit engine performances. A good job as been made on GPU synchronization and now framerate is increased.
The engine rendering is about 5-6 frame per second faster.
SCREEN SCALING
A new parameter has been added for scaling the rendering buffers and improving framerate when in fullscreen on slower cards.
STUTTERING
Working with my Radeon I've noticed some time frame stuttering when playing without Wait retrace synchronization (can be disable/enable in the configuration) due to GPU paralellism.
For attenuating this effect a new parameter has been added for smoothing framerate, ranging from 0 (no smooth) to 0.99 (maximum smooth). Set to 0.7 It worked very well with my Radeon.
On Geforce the stuttering is minor and smooth parameter to 0 gives best results.
ALL IMPROVEMENTS
Following is the list of all improvements and bugfixes:
- Added SetInstancedMaterialLayerAlpha action
- Added SetInstancedMaterialEmissionColor action
- Added Frametime action
- Added parameters to GMS (can be set from object class parameter "FSMparams", similar to already existing "scriptParams")
- Added "affectedByPause" parameter to basic object class for setting if an object must be paused together with overall game
- Added "GAME_PAUSED" and "GAME_RESUMED" system events for managing game pause for every object FSMs
- Added the "CopyToClipboard" and "pasteFromClipboard" of the joints of a model for fastly duplicating joint setting from a skinned model to another.
- Added event AIMED in GameMachine
- ActionTrigger replaced with EventTrigger
- Added a CUSTOM MEMORY MANAGEMENT SYSTEM
- Added combobox instead of a simple label for choosing Drive letter in publish dialog
- Increased MOVE_OBJECT_EPSILON so now object selection is more comfortable when translate tool is selected
- Improved selection of non-model objects
- Added ResolutionScale parameter
- Fixed lake decals
- Improved Autosave
- Added an error report message at the end of importing procedure
- Increased speed of fence meshes creation/editing
- Added FSM state name duplicates check when renaming
- Fixed crash: Now FileDialogs avoid System files/folders
- Bug fixed: wrong caustics shader
- Bug fixed: crash when closing scene and terrain tool is opened
- Bug Fixed: crash when a prefab asset is selected and after closed the scene the prefab viewport or prefab frame are opened
- Bug Fixed: Leak when showing actions list dialog
- Bug Fixed: Leak in the UNDO buffer when closing a scene
- Bug Fixed: Fences normals artifact
- Bug fixed: solved camera conflicts when starting game (using startCamera parameter)
- Bug fixed: wrong results when importing skin with some vertex having more than MAX_BONES influencing it
- Bug fixed: when exit from game (ESC key), if there was a selected object, selection group is lost causing crash if SelectHierachy button is pressed
- Bug fixed: if you change the name of a widget into the GUI editor, the name is not changed inside the treelist view of the GUI, causing crash if you click on treelist item of the widget
- Bug fixed: leak when creating a new prefab
- Bug Fixed: crash when you try to attach a widget to a parent that isn't a container
- Bug Fixed: crash when trying to update a widgetObject with class param void
- Bug Fixed: various leaks when importing models
- Bug Fixed: crash when re-importing a model while it is playing an animation in model editor
- Bug Fixed: multiple insert doesn't work well with multiple objects prefabs
- Bug Fixed: refraction surfaces do not works if ocean is set to false
- Bug Fixed: reset materials do not work in object class parameters tab
- Bug Fixed: LightBeam Object-Crash Engine
- Bug Fixed: OpenScene Action Bug
- Bug Fixed: Caustics
- Bug Fixed: Spawner Object crash
- Bug Fixed: Cannot de elevate or digging in the terrain without heightmap loaded.
- Bug Fixed: User can insert multiple duplicate entries in model animation list
- Bug Fixed: 3D River Tool-Delete Button,CrashEngine
- Bug Fixed: LookAt Action-Cutscene Editor-Crash Engine
- Bug Fixed: FSM Crash,in time show FSM Panel in Run time Game
- Bug Fixed: S2Engine will crashed when the internal explorer browse to certain folder
- Bug Fixed: Model animation default speed bug
- Bug Fixed: Cant pan up or down using Q and E in BrowseModel mode
- Bug Fixed: Character Object-Crash 1.4.6 b4-S2Script Language
- Bug Fixed: Serious memory leak in opening and closing project or scene. Usually S2Engine will crashed after open and closing 2-3 times the same project and scene.
