Updated android template and lib

This commit is contained in:
raysan5
2016-11-18 13:39:19 +01:00
parent b0d5a7a372
commit c7f0350182
3 changed files with 153 additions and 123 deletions

View File

@ -37,14 +37,13 @@ void android_main(struct android_app *app)
InitAudioDevice(); // Initialize audio device
Sound fx = LoadSound("coin.wav"); // Load WAV audio file (placed on assets folder)
Texture2D texture = LoadTexture("raylib_logo.png"); // Load texture (placed on assets folder)
int framesCounter = 0; // Used to count frames
Sound fx = LoadSound("coin.wav"); // Load WAV audio file (placed on assets folder)
Music ambient = LoadMusicStream("ambient.ogg");
PlayMusicStream(ambient);
int framesCounter = 0; // Used to count frames
SetTargetFPS(60); // Not required on Android, already locked to 60 fps
//--------------------------------------------------------------------------------------