Key point of this approach is that all vector assets should be in FXG format. But I'd like to say that it is not so easy to create vector graphics with good quality in Adobe Illustrator and export it in pure FXG format without side bitmaps.
In this post I'd like to share with you several hints and tips of optimized FXG graphics creation. FXG builds an 2d image by describing every point in xml model. So every point, every line, every effect is described inside of model an that increases size and loading time.
If you want the best what vector graphic can do, you should avoid using effects, filters and adjustments that can be rasterized. I’m talking about meshes that looks great but can’t be written as vector. Remember to convert strokes (lines), brushes and other art objects into paths just to make sure the image converts and then reads in proper way (Object→Path→Outline Stroke or Object→Expand Appearance). I suggest you to use linear or radial gradient fill instead of glow or shadow filter effects. Interesting thing about gradient fill is that you can use opacity here and it will not affect any raster image generation. Clean up you layer/object structure because disabled/hidden layers and objects are present in final FXG file. FXG allows to reuse multiple symbols within one FXG file. Symbols can be used at different sizes and orientations. This approach reduces total FXG file size.
Summary:
Do:
- use minimum lines and anchor points (all of that increases file size)
- use gradient fill if possible (instead of using filters like glow or shadow)
- outline all strokes
- expand all art objects
- for repeating objects use symbols approach
Don't:
- don’t use meshes (they converts into raster images)- don't leave hidden, empty layers or objects (they increase final FXG file size)
Hi! Thanks for guidelines. We're trying to import vector assets from Illustrator to Adobe Flash and then compile each level into separate SWF, loading into Starling when necessary.
ReplyDeleteDo you know if vector assets in SWF will remain in vector form?
I'm not sure but I think yes.
DeleteI applied online course about graphic arts with adobe and now i started doing design work in my business. It is really a big advantage to me to learn these skills in first place i don't need to hire other to do it and i can less my expenses.
ReplyDeleteThis is the good informative post.Detailed explanation about
ReplyDeleteOptimized FXG graphics in Adobe Illustrator.Thanks for sharing
good blog.
oracle fusion procurement online training
This is very informative and interesting for those who are interested in blogging field. Very interesting, good job............ R12 Procurement Training
ReplyDeleteOracle fusion Financials Training from CALFRE.COM gives you the best results to learn your dream course and maintains
ReplyDeletesufficient knowledge on oracle. It provides training by self-paced videos which are very helpful for
the users to watch at any time according to their schedule. It is globally accepted and having many users undergoing
training every day.
Oracle fusion Financials Online Training
Oracle Fusion Financials online Training
This is the good informative post.
ReplyDeleteDo you want to improve your Oracle Fusion Financials Online Training skills? Come to igofusion
Excellent information sir,For more details please visit our link.
ReplyDeleteOracle Fusion Financials Training in Hyderabad
This is the information that I was looking for. Thanks for the efforts you put to gather such a nice content and posted here.
ReplyDeleteOracle Fusion SCM Training in Hyderabad
thanks for sharing a nice blog keep posting for more visit it https://snowflakemasters.in/
ReplyDelete