I am new to AndEngine. I am trying to play an animation using spritesheet (generated using TexturePacker), and I have successfully animated by addressing this question ( Download animation with texture packer in andengine )
Q 1. How to download sprites and xml files from an SD card. (In the above example, spritesheet and xml files are loaded from the Asset folder).
Q 2. I want to add sound to the animation. Is there any way to do this?
Havent , , BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/"); gfx SD-.
BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/");
,
(ogg) res\raw
MediaPlayer mp = MediaPlayer.create(getApplicationContext(), soundType); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.start();
Source: https://habr.com/ru/post/1539728/More articles:laravel 4 persistent data - jquery ajax submit - jqueryLaravel 4 AUTH via AJAX, possible session release - authenticationЭлектронная почта не может быть пустой или пустой. MVC 5, Identity 2.0.0 - asp.net-mvc-5ffmpeg Unknown input format: 'lavfi' - unixCalculate the sum of the values in a table column - c #Coding style for indentation of a multi-line IF statement in Visual Basic.NET. - coding-styleобнаруживать, когда кнопка нажата в div с jquery - javascriptThe first element of TansitionDrawable does not disappear - androidReally the choice in HTML tags in Vim - htmlC ++ How to set a map iterator only for map values - c ++All Articles