View Single Post
Old 03-24-2011, 03:10 PM   #234
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
First preview of common AppAssets

As advised, here is a first preview of common AppAssets.
Done quick 'n dirty, but it should illustrate the idea for Calc and FreeCell.

I've decided to use "freecellLabels.png" as base for AppLabels.png,
[EDIT] and added the chess and fiverow grafics. [/EDIT]
Common assets are defined in AppAssets.xml.
[EDIT] Chess and FiveRow cutouts need to be defined in AppAssets.xml [/EDIT]
Both files are located in AppAssets-folder under addons.

Common AppAssets are imported this way into the app-main.xml:
Code:
<assets>
 <import href="../AppAssets/AppAssets.xml"/>
 ...
This way my calculater needs no separate recource-file, and for FreeCell only freecellCards.png is needed. Which should be moved to AppAssets/, too. If anyone decides to implement another cardgame.

Feel free to ask for further informations if this is not clear enough.
Regards
Mark

PS: of course should "AppLabels.png" be reworked, with labels packed closer.
Texture-names should be reviewed (gCursor -> pointingHand, a.s.o) and some more, and better named standard-text styles should be defined in "AppAssets.xml"
Attached Files
File Type: rar AppAssets_how_to.rar (88.8 KB, 159 views)

Last edited by Mark Nord; 03-24-2011 at 03:39 PM. Reason: more complete AppLabels.png added
Mark Nord is offline   Reply With Quote