Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
0.8.3:prefabs [2022/04/08 10:57] – admin | 0.8.3:prefabs [2022/04/08 11:35] (current) – [Assets Store (Beta)] admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
Prefabs are very helpful on storing and reusing sceneries in projects. | Prefabs are very helpful on storing and reusing sceneries in projects. | ||
- | You can store complex component hierarchies | + | You can store complex component hierarchies like in a default FMX formular file (*.fmx). |
We use the read/write mechanisms for prefabs with some additional functionality. | We use the read/write mechanisms for prefabs with some additional functionality. | ||
Line 18: | Line 18: | ||
<file pascal> | <file pascal> | ||
- | var LList : TObjectList< | + | var LList : TObjectList< |
| | ||
- | LList := TObjectList< | + | LList := TObjectList< |
try | try | ||
- | GorillaPrefabSystem1.LoadAllPrefabs(LList); | + | |
finally | finally | ||
FreeAndNil(LList); | FreeAndNil(LList); | ||
Line 69: | Line 69: | ||
end; | end; | ||
</ | </ | ||
+ | |||
+ | ===== Assets Store (Beta) ===== | ||
+ | |||
+ | During development process prefabs became very handy and useful. | ||
+ | Like in other 3D DevTools (Unity, Unreal, ...) it is common to share those over a platform. | ||
+ | |||
+ | We present **[[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In our assets store you can download prefabs and integrate them in your application. | ||
+ | On downloading a prefab you will receive a *.prefab or a *.prefabz file. | ||
+ | Both types can be integrated in the TGorillaPrefabSystem. Have a look at the code snippets above. | ||
+ | |||
+ | **WARNING**: | ||
+ | |||
+ | **WARNING: | ||
+ | |||
+ | ===== Embedded AssetsStore (Beta) ===== | ||
+ | |||
+ | Since 0.8.3.2265 we integrated the assets store also directly in the Delphi IDE. | ||
+ | |||
+ | - Drop a TGorillaPrefabSystem component onto your form. | ||
+ | - Right-Click on the component in the object inspector | ||
+ | - Click " | ||
+ | - Browse through the assets and click to directly embed them in your form | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **WARNING**: | ||
+ | |||
+ | **WARNING: Some prefabs are very large in size or produce large output due to textures or animations. | ||
+ | This can exceed your memory in IDE very fast!** | ||
+ | |||
+ | **WARNING: | ||
Next step: [[android|Android]] | Next step: [[android|Android]] |