migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
migration [2020/05/22 12:12] – maxime | migration [2021/06/10 10:57] – polymorphgames | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Migration Notes ====== | ====== Migration Notes ====== | ||
- | ===== Foundation 1.6.0.0522 ===== | + | ===== Foundation |
+ | |||
+ | * [[changelog: | ||
+ | * [[preview: | ||
+ | * [[preview: | ||
+ | |||
+ | ==== Texture loading ==== | ||
+ | |||
+ | Some '' | ||
+ | |||
+ | Therefore, we added a way to explicitly choose the type of an asset to load, when calling '' | ||
+ | |||
+ | This third parameter is currently only used for image assets. | ||
+ | |||
+ | <file lua> | ||
+ | mod: | ||
+ | mod: | ||
+ | mod: | ||
+ | </ | ||
+ | |||
+ | **Technical Info: | ||
+ | |||
+ | ===== Foundation Preview | ||
==== BUILDING and MONUMENT asset types ==== | ==== BUILDING and MONUMENT asset types ==== | ||
Line 44: | Line 66: | ||
if (foundation.getGameVersion == nil or version.cmp(foundation.getGameVersion(), | if (foundation.getGameVersion == nil or version.cmp(foundation.getGameVersion(), | ||
- | myMonument.DataType = " | + | myMonument.DataType = " |
myMonument.BuildingPartSetList = { | myMonument.BuildingPartSetList = { | ||
{ | { | ||
Line 51: | Line 73: | ||
} | } | ||
else | else | ||
- | myMonument.DataType = " | + | myMonument.DataType = " |
- | myMonument.AssetCoreBuildingPart = " | + | myMonument.AssetCoreBuildingPart = " |
myMonument.BuildingPartSetList = { | myMonument.BuildingPartSetList = { | ||
{ | { | ||
Line 86: | Line 108: | ||
To improve the number of basement spawned, scalable building parts (with constructor '' | To improve the number of basement spawned, scalable building parts (with constructor '' | ||
+ | |||
+ | The [[api: | ||
===== Foundation 1.4.5.1009 ===== | ===== Foundation 1.4.5.1009 ===== |
migration.txt · Last modified: 2023/09/05 11:21 by mathieu