-
Notifications
You must be signed in to change notification settings - Fork 48
Description
When a gridphysics game, not containing a 'wall' sprite, is created & it's sprites are looped over:
VGDLFactory.GetInstance().init();
VGDLRegistry.GetInstance().init();
Game game = VGDLParser().parseGame(gamePath);
GameDescription gameDescription = GameDescription(game);
ArrayList<SpriteData> sprites = gameDescription.getAllSpriteData();
for(Spritedata sprite: sprites){
System.out.println(sprite);
}
A 'wall' sprite is found, namely: wall > Immovable solid=True color=DARKGRAY.
Even though this wall was not defined by the game file.
Examples of games having this issue are: waves, zenpuzzle.
As far as I am aware this is non-documented behavior, and is not desired.
(I tried to use the interaction data to find sprites with certain properties, like walls and floors, however as this sprite is added, and it does not include any StepBack interactions with defined avatars, I often incorrectly identify it as the floor.
If I may also add this: It may be good to add a disclaimer to the wiki, to clarify the interactiondata ,received from the gamedescription objects, start with capital letters, as opposed to their VGDL and wiki definitions (such as "stepBack" vs "StepBack").