Storyboard.purgeScene

Hi
I am using folder setup to organize my code
for example:
/library/code/sample.lua

I use this for go to scene and it dose work:

…some code
storyboard.gotoScene(“library.code.sample.lua”)
…some code

for purging the scene I am using this

…some code
storyboard.purgeScene(“scene2”)
…some code
but it dose not give me any error
or I must use this format:

…some code
storyboard.purgeScene(“library.code.sample.lua”)
…some code
Thanks in advance [import]uid: 141482 topic_id: 30871 reply_id: 330871[/import]

First I’m not sure how your gotoScene is working anyway. Normally you would not put the .lua the end.

If you do: storyboard.gotoScene(“library.code.sample”)

to later purge that scene:

storyboard.purgeScene(“library.code.sample”)

[import]uid: 19626 topic_id: 30871 reply_id: 123528[/import]

Thanks I have work this out,it is a bit strange but
this works for me:
If you do: storyboard.gotoScene(“library.code.sample”)

then: storyboard.purgeScen(“sample”)

I have no idea why but this work,not:
storyboard.purgeScene(“library.code.sample”)

as I have monitored the memory through system.getInfo(“textureMemoryUsed”)

[import]uid: 141482 topic_id: 30871 reply_id: 123591[/import]

Thanks I have work this out,it is a bit strange but
this works for me:
If you do: storyboard.gotoScene(“library.code.sample”)

then: storyboard.purgeScen(“sample”)

I have no idea why but this work,not:
storyboard.purgeScene(“library.code.sample”)

as I have monitored the memory through system.getInfo(“textureMemoryUsed”)

[import]uid: 141482 topic_id: 30871 reply_id: 123592[/import]

First I’m not sure how your gotoScene is working anyway. Normally you would not put the .lua the end.

If you do: storyboard.gotoScene(“library.code.sample”)

to later purge that scene:

storyboard.purgeScene(“library.code.sample”)

[import]uid: 19626 topic_id: 30871 reply_id: 123528[/import]

Thanks I have work this out,it is a bit strange but
this works for me:
If you do: storyboard.gotoScene(“library.code.sample”)

then: storyboard.purgeScen(“sample”)

I have no idea why but this work,not:
storyboard.purgeScene(“library.code.sample”)

as I have monitored the memory through system.getInfo(“textureMemoryUsed”)

[import]uid: 141482 topic_id: 30871 reply_id: 123591[/import]

Thanks I have work this out,it is a bit strange but
this works for me:
If you do: storyboard.gotoScene(“library.code.sample”)

then: storyboard.purgeScen(“sample”)

I have no idea why but this work,not:
storyboard.purgeScene(“library.code.sample”)

as I have monitored the memory through system.getInfo(“textureMemoryUsed”)

[import]uid: 141482 topic_id: 30871 reply_id: 123592[/import]