Skip to content

Release notes version 1.0

RafaelTavares edited this page Aug 19, 2022 · 20 revisions

Temporary image true

Changes in first release 1.0

Version based on upbge 0.2.5b

Text Resolution

Text Resolution

No need to change text resolution by script anymore, for example:

# KX_FontObject
own = bge.logic.getCurrentController()
own.resolution = 5
- Warning: High resolution can use a lot of memory and may crash.

Icons in python components

Image Here! []

Adding icons to components is very simple, at the beginning of args in components add the key "C_Icons" and the value put the name of the icon you want to insert (like: "C_Icons" : "BLENDER") then use "+" to separate one icon from another.

Example 01

args = OrderedDict({
"C_Icons" : "BLENDER+QUESTION"
})

Example 02

from bge import *
from collections import OrderedDict

class Component(types.KX_PythonComponent):
    # Put your arguments here of the format ("key", default_value).
    # These values are exposed to the UI.
    args = OrderedDict([
    ("C_Icons", "BLENDER+QUESTION"),
    ("Key", "Value")
    ])

    def start(self, args):
        # Put your initialization code here, args stores the values from the UI.
        # self.object is the owner object of this component.
        pass
        

    def update(self):
        # Put your code executed every logic step here.
        # self.object is the owner object of this component.
        pass

Components Header

Reordering of components

You can arrange the order of components in the object, created by @Mysticfall and ported to RanGE.

Repeat For in delay sensor

Number of times the sensor will repeat before stopping.

Smooth movement for Character Physics

smooth movement implemented in CharacterPhysics.

Example 01

def start(self, args):
    self.character = constraints.getCharacter(self.object)
    self.c.walkDirection = [0, 0.1, 0]

Jump direction for Character Physics

PhysicsCullingVelocity and NoComponents Culling

Area lamps

To DO!

worldScalingObject now influence to obstacleSimulation

New Mouse events

Object Physics Friction

New Game Profiler Visual

Image Here! []

now with a new look for better viewing.

Bugs fixed

Clone this wiki locally