AssetLoader icon indicating copy to clipboard operation
AssetLoader copied to clipboard

Config XML, connections on root

Open soundstep opened this issue 14 years ago • 3 comments

Hi Matan,

The xml attribute connections doesn't seem to work on the node root.

For examples this makes 3 connections in the same time (the 3 videos load in the same time):

<?xml version="1.0" encoding="UTF-8"?>
<loader base="" connections="1">
        <group id="g1">
            <asset id="v1" src="videos/v1.flv" weight="2 mb" />
        </group>
        <group id="g2">
            <asset id="v2" src="videos/v2.flv" weight="2 mb" />
        </group>
        <group id="g3">
            <asset id="v3" src="videos/v3.flv" weight="2 mb" />
        </group>

To make it work I have to add a group (with a connections=1) to wrap the g1, g2 and g3.

That's a bug right?

Romu

soundstep avatar Dec 12 '11 12:12 soundstep

Hi, yes that would be a bug. Unfortunately I can only look at AssetLoader early next year. I really want to push out v3 and fix all these little bugs.

Thanks for spotting this, as you and I both know, that config parser needs to be deleted and re-written from scratch! :)

Matan avatar Dec 12 '11 13:12 Matan

Make sense and that's not blocking! Are you making the v3 easily portable for me? ;)

Merry Christmas then ;)

soundstep avatar Dec 12 '11 13:12 soundstep

:D I hope so! :D

Thanks and same to you! :)

Matan avatar Dec 12 '11 13:12 Matan