
Zwidget
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:

Some suggestions regarding the Model.
- Put all your pixel information in a single bitmap.
- Construct a single mesh instead of relying on multiple RenderTransform + RenderSprite calls.
- Don't rely on Alpha/One blending for masking, as it will make your object semi-transparent / invisible on a white background.
- Although it doesn't matter ( since you're only using a single clone ), there's no reason to put any resources in Definitions unless each clone needs their own individual instance of those components. So just put them in Content instead.
K
Kjell - All true, except...
When you finish your project (if it ever finishes
), you just delete the widget model.
Updated again - this time I'm finished.
P takes you back to start position.
Like I said before,
viewtopic.php?t=540
ZGE rocks!
When you finish your project (if it ever finishes

Updated again - this time I'm finished.
P takes you back to start position.
Now, here is a point of discussion. Yes, this is the best way at runTime, but during designTime it sets up "dependencies" which complicate "undo" decisions. With drag and drop, the designer can move bitmaps and materials to content easily before final publication, and reap the performance benefits then. The difference shows up in loading time and frame rates.Although it doesn't matter ( since you're only using a single clone ), there's no reason to put any resources in Definitions unless each clone needs their own individual instance of those components. So just put them in Content instead.
Like I said before,
viewtopic.php?t=540
ZGE rocks!