This repository contains the source code and instructions from the SDL Tutorial for your Android Projects, as demonstrated in the YouTube video.
This project demonstrates how to integrate the Simple DirectMedia Layer (SDL) library into your Android projects. SDL is a cross-platform development library designed to provide low-level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
- Setting up SDL in an Android project
- Basic example of SDL usage
- Cross-platform compatibility
- Android Studio
- Android SDK
- SDL2 library
Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/yourusername/SDL-Android-Tutorial.git cd SDL-Android-Tutorial
-
Open the project in Android Studio:
Launch Android Studio and open the project from the directory where you cloned the repository.
-
Setup SDL:
Download the SDL2 library from the SDL website and follow the instructions to include it in your project. Refer to the YouTube tutorial for detailed steps.
To run the project:
-
Connect your Android device or start an Android emulator.
-
Click on the "Run" button in Android Studio or use the following command:
./gradlew installDebug
This will compile and install the app on your connected device or emulator.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, feel free to open an issue or submit a pull request.
- Fork the repository
- Create a new branch (
git checkout -b feature/YourFeature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Open a pull request
- Tutorial by Victor Berdugo
- SDL Library by SDL Development Team
- Base on video YouTube video
- Check out my games on the Google Play Store