Dynamic Loading in 2.54

In 2.53 I was able to do Dynamic Loading correctly but when I downloaded 2.54 it screwed up. IDK why though. Did this happen to anybody else?

How are you using it? (Are you using the third parameter in LibLoad by any chance?)

Are there any errors in the console window?

I’m using the bare basic

GameLogic.LibLoad(‘File’,'Scene)

The api has been changed a bit. It should look like this:

import bge
bge.logic.LibLoad(‘File’, ‘Scene’)

OHHHH ok Thanks for that info

GameLogic.LibLoad() should still work fine in 2.54. However, GameLogic is no longer auto-imported, so you might have to include:


import GameLogic

at the top of your scripts.

In blender 2.5 the GameLogic was renowned for “bge.logic”

import bge
bge.logic.LibLoad('File','Scene)

Bye!