1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    35
    Vote Rating
    0
    I3D is on a distinguished road

      0  

    Default Scene ID?!

    Scene ID?!


    Hey guys

    IS there a way to know the Scene ID? if i create the scenes in order then they are numbered properly, but i move them around, they will keep their ID, which gets complicated if rely on controller.StartSceneByID() to jump based on logic, also it gets more complicated if had scenes and deleted them, then numbers are out of whack! any ideas?

    Best

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Please bear with us until the next update.

    In the meantime, as a last resort you could take a look at the exported code where scenes will be listed in order and have the scene id visible.

    Code:
    window.addEventListener('load', function(){
        var configData = {
            parentId: 'AN-sObj-parentOl',
            ormma: false,
            scenes: [
    {id: 1,animationCount: 1,duration: 6071.428571428572,dimensions: {height: 248,width: 300,expanded: true,fit: false}},
    {id: 0,animationCount: 1,duration: 2058.4415584415583,dimensions: {height: 248,width: 300,expanded: false,fit: false}}],

Thread Participants: 1