Skip to content

Releases: Johnnyg63/OLCPGEMobile_VisualStudio_Android_ONLY

# OLC Pixel Game Engine Mobile Visual Studio Android Only 2.2.9

23 Jun 17:43
c2beaaa

Choose a tag to compare

OLC Pixel Game Engine Mobile Visual Studio Android Only 2.2.9

Now with Lightweight 3D Support
See 3D Demo Here

Supports: Windows, Visual Studio 2019-2022
This project supports Android devices SDK 21 --> 34 and beyond


For Visual Studio All In One (Android and iOS) Project Template: OLC Pixel Game Engine Mobile 2.2.9 Visual Studio for Android and iOS

For Visual Studio Android Only (Windows) Use this project: OLC Pixel Game Engine Mobile 2.2.9 for Android Visual Studio

For Android Studio (Windows/Linux/MAC) Use this project: OLC Pixel Game Engine Mobile 2.2.9 for Android Studio

For Xcode (MAC) Use this project: OLC Pixel Game Engine Mobile 2.2.9 for Xcode


The OLC Pixel Game Engine Mobile Edition is a feature-rich fork of the original OLC Pixel Game Engine.

  • Community Interest:
    The mobile edition has garnered attention from programmers who want to create games for Android and iOS platforms.
    It’s actively maintained and developed by contributors.
  • Cross-Platform Support:
    The mobile edition extends the original engine to support Android and iOS.
    Developers can create games that run on both desktop and mobile devices.
  • Extensions and Features:
    The mobile edition includes additional features like mobile input handling, sound, and hardware interfaces.
    The mobile edition is built on SIMD/NEON advance vectorizations to ensure the fastest engine to pixel generation.
    It’s a versatile tool for prototyping, education, mobile game development and algorithm visualization for both Android and iOS devices.
  • Growing User Base:
    While not as widely known as the original, it’s steadily gaining popularity.
    Developers appreciate its simplicity and flexibility.

Remember that both versions—original and mobile—are valuable tools for game development and learning. If you’re interested in mobile game development, give the mobile edition a try! 🚀🎮


!!SHOUT OUTS!!

THANK YOU to @VasCoder without your testing this would not have been possible!
THANK YOU to @baderouaich for fixing the bug with OnUserDestroy()!
THANK YOU to @Moros1138 for PGETinker Check it out folks!!!
THANK YOU to @Javidx9 for... well everything!



WE NEED YOUR FEEDBACK PLEASE


Thank you for cloning the OLC Pixel Game Engine 2.0 Mobile.

A tremendous amount of work went into getting this engine to work smoothy with Android and iOS so you can create amazing games.
We can see that this repro gets an unbelievable number of unique clones, therefore we want to hear from you!
Please come visit me and all the volunteers at One Lone Coder and join our community.


Kind regards

John (aka Johnnyg63)


!!! IMPORTANT NOTICE!!!

There was a step missing from the below instructions, I did not know until today that folks where having issues with the template
Please reach out to us on Discord: One Lone Coder if every you are having issues.

You must accept the Android Terms and Conditions in order to use OLC PGE Mobile STEP 6 Below:

  • Windows
  • Open Command Prompt in Administrator Mode
  • setx -m JAVA_HOME "C:\Program Files\Java\jdk-17"
  • Navigate to: "C:\Program Files (x86)\Android\android-sdk\cmdline-tools\11.0\bin"
  • Enter: "sdkmanager.bat --update"
  • Accept: "Y"
  • Linux, MacOS
  • Navigate to: "sdk/tools/bin"
  • Enter: "sudo ./sdkmanager --licenses"
  • Accept: "Y"


!!! Known Issues !!!

If you see a Segmentation Fault at the start of debugging (can occur up to 4 times, Visual Studio 2019/2022) just click Continue, I am working on this at the moment.


!!! NOW WITH iOS SUPPORT!!!

Anything you develop for PGE Mobile Android will work on the iOS

Visual Studio Android & iOS template project coming soon.

Apple xCode template project coming soon.

NOTE: iOS Beta 2.2.9 does not yet support sensors


WE NEED YOUR FEEDBACK PLEASE


Thank you for cloning the OLC Pixel Game Engine 2.0 Mobile.

A tremendous amount of work went into getting this engine to work smoothy with Android and iOS plus keep it simple so you can create amazing games.
We can see that this repro gets an unbelievable number of unique clones, therefore we want to hear from you!
Please come visit me and all the volunteers at One Lone Coder and join our community.


Kind regards

John (aka Johnnyg63)


!!! Android Engine Updates !!!

Supports olcPGEX_MiniAudio.h
https://github.com/Moros1138/olcPGEX_MiniAudio/ thanks @Moros1138

Supports the latest Android Phones and GPUs
SDK 23 --> 34 and beyond

For Android we needed to split the renderer into Renderer_OGLES10 and Renderer_OGLES20. Although most of the code is pretty much the same there maybe updates in the future to support newer & newer Android GPUs coming to the market and I didn't want to end up in a mess of conditional statements... well not yet anyway.

The olc_ConfigureSystem() manages this:
Renderer_OGLES10: Support for SDK 21 - 25 This code better supports ARM devices, however ARM64 will work just fine with it.
Renderer_OGLES20: Support for SDK 26 - 33 and beyond. This code is really for ARM64 and the latest GPUs on the market, also for iOS support.
You can adjust the SDK value in olc_ConfigureSystem() as you require


!!! Visual Studio Installation !!!

For Android Studio (Windows/Linux/MAC) project can be found here: OLC Pixel Game Engine Mobile 2.2.9 for Android Studio

1: Launch Visual Studio 2022 Installer

2: Click Modify

3: Install Mobile Development with C++

5: Install Java 17: https://www.oracle.com/java/technologies/downloads/#java17

6:Accept Android Terms and condidtions:

  • Windows
  • Open Command Prompt in Administrator Mode
  • setx -m JAVA_HOME "C:\Program Files\Java\jdk-17"
  • Navigate to: "C:\Program Files (x86)\Android\android-sdk\cmdline-tools\11.0\bin"
  • Enter: "sdkmanager.bat --update"
  • Accept: "Y"
  • Linux, MacOS
  • Navigate to: "sdk/tools/bin"
  • Enter: "sudo ./sdkmanager --licenses"
  • Accept: "Y"

7: Open Visual Studio -->Tools-->Options-->Cross Platform. Update your SDK, NDK and Java Path as shown

8: Copy the

Read more

OLC Pixel Game Engine Mobile 2.0 for Android 2.2.6

03 Jun 13:10

Choose a tag to compare