Skip to content

Release notes version 1.5

SpectreGameDev edited this page Mar 15, 2024 · 19 revisions

Release_Banner

Changes in Range Game Engine 1.5

New Sky shader

The engine received several changes regarding the sky, now it supports sun as well.

To have the sun in the sky just add the sun light of your scene in world_sun.

In the world options new options were added to control the sky shader: Sun Size and Turbidity.

Now the sky also has the Nadir color, and Ground Color controls the influence of color on the sky.

Custom Mouse Cursor

Added Custom Mouse Cursor support, it is no longer necessary to use other methods to create a custom cursor.

The way to use it is very easy, Add the place where the cursor image is located, just below there are 3 options: Cursor Size, Cursor Offset X and Y.

Cursor offset creates an offset on the image for you to adjust the mouse pointer.

GameObject Tasks

This tab is intended for object optimization. The convert option checks if the object will be converted to game mode, if it is disabled the object will not be converted, improving loading time. it is recommended to disable this option in replica objects that are working in the inactive scene. or objects that you are not going to use in the game.

Ignore Exit Key

Now there is an option to remove the use of the exit key, check this option when releasing the game, preventing the player from accidentally pressing the exit key and closing the game.

Preview Note: It is planned that this function go to range armor too.

Sound Updates

Now Range Engine has a new version of the audio system, the entire system has been updated, delivering performance improvements and new possibilities that will be exposed in the API soon.

Game Engine Speaker

Added full support for game mode speaker objects, we recommend using them to add in-game sounds.

Screenshot_22

The speaker also received new options to control the sounds.

Screenshot_23

Preview Notes: There are still pending improvements/additions to the audio system.

Awake Function to Python Components

This new function is useful for registering variables that you want to make sure they are available in start() and update(). A good way to use it is to use the addScene() function, the newly added scene can only be accessed in the next frame, now just call addScene in the awake function and then the added scene will be available in start() or update().

Planar Manipulators

new manipulators, making it easier to move and scale in other directions

NewManipulators

Foliage Shader

Now the engine has a foliage shader! The advantages of using it is that the foliage shader is via the GPU, delivering the maximum possible performance. in addition to being quick and easy to configure in any object.

FoliageShaderDemo

Foliage Strength is the strength of movement. Foliage Turbulence is a movement speed. Randomized foliage randomizes the position of each vertex.

Preview Note: Foliage Shader still has plans to be improved.

Realtime Viewport Nodes

Viewport now supports real-time viewing of nodes.

Viewport Nodes

It helps to improve development time, see changes without having to start the game.

Screenshot_20


Blender renamed to RangeEngine

The name blender and blenderplayer were renamed internally, now called RangeEngine and RangeRuntime.

BtoRange

New import Range

import bge has been deprecated, this helps to change the engine identity and in some cases the licensing of the scripts

To update your scripts, the change is very simple, rename bge to Range. **from bge import * ** --> **from Range import * ** You can replace import bge to import Range using the replace tool in Range Text-Editor or use the refactor in your external editor.

importRange

Debug Mode code redesign and more

The debug mode has been redesigned to improve performance, user handling and future updates of the tool. New functions have been added/modified:

  • F1 -> Mouse Control.
  • F2 -> Hide/Unhide Debug Mode.

In addition, the old profile was completely removed from the engine and rewritten for debug mode, with better performance and new options such as editing properties in real time.

DebugMode2

A new profile option has been added to help find objects that are costly to game performance in more detail. AdvProf

Speakers updates

The speakers still continue to receive internal updates and in the future they will support new features. a new visual callback has been added to it, to see the normal distance for the sound.

Lamp Textures

Added support for textures in point lamp and sun.

Area Lamp Roughness

Added support for roughness in area lamp.

Support for ORM textures

In a PNG image, for example, we can have 4 types of channels (Red, Green, Blue and Alpha) and with this we can take advantage of these channels to pass simple mappings.

This texture is composed of the use of 3 different types of maps in just one image:

The combination of these 3 images in each texture channel forms an ORM Texture.

Screenshot_13

To configure ORM in your material, follow the steps:

GIF 25-11-2023 02-28-00

Download Here an example file.

ORM textures consume less memory and are faster compared to traditional approaches.

Shaders changes

  • GLSL cleanup (see bbfed04)
  • Independent Environment Lighting (see 176b58f)
  • Ward Specular Anisotropy (see 1e99292)
  • Refactor Blinn Specular Code (see 09f758e)
  • Texture influence options (see 188bd1f)

  • Use Roughness on more Specular shaders (see 6a37a8b)
  • Restore Ambient equation to original (see 2f1801d)
  • Refraction and IBL code refactoring (see 1973c73)
  • Hemi Lamp Shaders (see 0d93269)
  • Diffuse Fresnel, Lamp Refraction, Turbidity (see 80e8b5e)
  • Difuse Warp, Unify diffuse parameters (see cb7977d)
  • Minnaert with more controls (see 6e28e67)

Misc changes


  • Change grid width (see a739c9f)
  • View3DIcons: Improve icon rotation calculation (see 94f88b5)
  • View3DIcons: Fixes, Improved loading and new script icon (see fe189a3)
  • Update Libs and Dynamic Runtime (see 3af426f)
  • Add OPUS support (see 4a51902)
  • UI: Improve view3D header and popover fixes (see 6fc5d36)
  • UI: move object selector into 3D view (see 9d2062e)
  • Add multi-dimensional array conversion utility functions (see 2bf208d)
  • Text Editor: add missing highlighted "case" statement (see e2868a5)

Bug Fixes

  • Fix cannot open rasec files again (see e5f1347)
  • Fix object mirror crash (see 2c06b51)
  • Fix FrameTime manager and more (see 88217d0)
  • Fix panel-type re-registration with parents (see 29d0cfe)

  • Fix panel-type re-registration with parents (see 29d0cfe)
  • Fix lod object generate (see 3ba6993)
  • Fix Range Player build (see 7dce332)
  • Fix World MipMapping (see fcbb86f)
  • Fix Remove function redundant prefix (see 6e4fac1)
  • Fix Missing header for size_t (see 96ab93e)
  • Fix Scrollbar size on text editor (see 456eb0d)

Clone this wiki locally