aboutsummaryrefslogtreecommitdiff
path: root/WatercolorGames.Pong/Assets
diff options
context:
space:
mode:
authorThe Fuzzy Riolu <[email protected]>2018-03-12 11:52:38 -0400
committerThe Fuzzy Riolu <[email protected]>2018-03-12 12:02:33 -0400
commit40d01342d00c57dce5069e53a455db048a2967d5 (patch)
tree99e64bed61317a564253e456e2aa45fba3c0c6ec /WatercolorGames.Pong/Assets
parentcdb0da6c34228a4034dbe179dc268aaded532619 (diff)
downloadshiftos-pong-master.tar.gz
shiftos-pong-master.tar.bz2
shiftos-pong-master.zip
Initial commitHEADmaster
Diffstat (limited to 'WatercolorGames.Pong/Assets')
-rw-r--r--WatercolorGames.Pong/Assets/AboutAssets.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/WatercolorGames.Pong/Assets/AboutAssets.txt b/WatercolorGames.Pong/Assets/AboutAssets.txt
new file mode 100644
index 0000000..ee39886
--- /dev/null
+++ b/WatercolorGames.Pong/Assets/AboutAssets.txt
@@ -0,0 +1,19 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories) and given a Build Action of "AndroidAsset".
+
+These files will be deployed with you package and will be accessible using Android's
+AssetManager, like this:
+
+public class ReadAsset : Activity
+{
+ protected override void OnCreate (Bundle bundle)
+ {
+ base.OnCreate (bundle);
+
+ InputStream input = Assets.Open ("my_asset.txt");
+ }
+}
+
+Additionally, some Android functions will automatically load asset files:
+
+Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); \ No newline at end of file