Does Xamarin support 9-patch images in a cross-platform way? The ideal would be to create the image from the same file for iOS, Android, and Windows.
As best I can tell, the answer appears to be "not in any way that makes sense for me to use." The best option is going to be to have separate image resources for each platform. The splat library does do some cross-platform image handling, but not 9-patch, and I'm not sure about its performance.
Related
I created some animations for a mobile app, now I need to provide assets for Android and iOS developers.
Usually we use a PNG sequence. But I really want to find a solution to migrate to 'vector' (I mean not raster) elements.
I can deliver very clean and light SVG files. Is that something that developers can process and transform in what they need?
Ps: I cant's export the animations to AfterEffects at the moment, so Lottie is not a solution for now.
I'm trying to make an android game here, but I'm not sure what is it that I need to learn - J2ME or flash development?
Also, if flash then is there a difference between flash development (coding) & flash animation?
I'd really appreciate any help here.
Maybe a good read for you
if you want to go the easy route, I'd recommend Flash/Flex/ActionScript. Flash/Flex/ActionScript programming can all be comingled to a certain extent. Flash animations are typically done in a more graphical environment but you can absolutely create your objects programmatically and make them do the same things through Flex/ActionScript.
Also, you may want to look into the controversy over HTML5 and Javascript. That might be a viable alternative for you. Plus, it would double as getting familiar with desigining sites as well.
Java would be the way to go. Due to the fact that java has greater flexibility and is easier to start off with in certain aspects.
Flash/Flex/ActionScript can be easier with designing graphics but the scripting can get a bit complex and tedious.
http://androidforums.com/android-games/217545-should-i-use-flash-air-java-develop-games.html
Google yields many results.
Android game development tutorials
Java is the only way to go. Adobe has abandoned mobile Flash, and even before that, only a limited subset of Android devices supported flash.
The only sensible option is Java with the Android SDK.
I need to develop a small game that should use SVG elements.
I know I can use the android svg library.
My question is what performance should I expect from this library - is it good enough?
Are there any other good libraries I can use?
Thanks
Good enough for what? You need to be more specific. The Android graphics package has native implementation for most (all?) of the SVG primitives, so the only overhead of the library should come from parsing the XML. Drawing/refresh speed will mostly depend on the actual device hardware, so you'll need to benchmark with a specific device in mind.
Try http://code.google.com/p/svg-android/ it was used by google in Androidify and from my experience it is the best solution out there (although it doesn't support the full SVG spec).
There is also AndroidSVG (http://code.google.com/p/androidsvg/) which implements more of the spec than svg-android.
I have just learned about Android nine-patches idea, and it is a pretty good idea. My question is if it is an Android pattern or there is implementations like that for other platforms, probably differently named.
Thanks!
In iOS you can also strech images in code with StretchableImages. You specify the left, right caps and the "rest" is stretched. I think is basicaly the same idea, this is something like a tutorial on it: http://blog.chomperstomp.com/creating-dynamically-re-sizable-buttons-for-iphone-apps/
There is another SO question here that mentions a library released under Apache license for iPhone. I haven't used it but is worth checking out.
I'm just starting out in app development and have a board game concept that I would like to visualize before coding it.
Which free ware would you recommend that I use and then afterwards maybe even port assets and other resources to my Eclipse Android IDE?
The key thing for me right now is to have a tool I can use to make and see the game :-O
If it happens to generate simple java code,that'd be great ;-)
If it's a plugin editor for eclipse that'd be superb :-)
And lastly has anyone ever used Java Ascii Versatile Editor for this purpose?
BTW there's a fantastic eclipse free hand drawing resource called Sketch currently in development.
Have you tried Google's AppInventor?
I'm not quite sure what you mean with the term "visualize"
If you are refering to graphics - maybe with some animations - than inkscape might be a good tool. It creates vector graphics as SVG (which allows scripting for simple animations).
SVG also has the advantage that you can render it easily to PNG at various resolutions.