1.8.5 child objects
3 posts • Page 1 of 1
1.8.5 child objects
If dynamically created objects was assigned to scene.my. variable it will not be saved properly.
For example
scene.my.box1 := scene.addBox({});
scene.my.box1.color = [0,0,0,1]
Will work fine, but after save-load any scene.my.box1. methods will fail.
More that that, if I create too many such objects (like 1000), algodoo eve can't opes scene file after save (with error like ";" missed).
For example
scene.my.box1 := scene.addBox({});
scene.my.box1.color = [0,0,0,1]
Will work fine, but after save-load any scene.my.box1. methods will fail.
More that that, if I create too many such objects (like 1000), algodoo eve can't opes scene file after save (with error like ";" missed).
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: 1.8.5 child objects
Using the return value of Scene.add* is a dangerous buisness. Good luck!
Emil Ernerfeldt, lead developer
- emilk
- Posts: 616
- Joined: Mon Aug 31, 2009 11:01 am
- Location: Umeå, Sweden
Re: 1.8.5 child objects
Actually, I've use it a whole lot and it's work fine.
The only problem is saving it and store in lists.
The only problem is saving it and store in lists.
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests



