OLCPGEMobileVisualStudio
This is the Visual Studio release of OLC Pixel Game Engine 2.0 Mobile All In One for Android and iOS Project Template.
Install / Use
/learn @Johnnyg63/OLCPGEMobileVisualStudioREADME
OLC Pixel Game Engine Mobile All In One 2.2.9 Visual Studio
For Android and iOS
<p> <b>Now with Lightweight 3D Support</b><br/> <b>See <a href="https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/blob/master/Demos/Mobile3DGraphicsDemo.cpp">3D Demo Here</a></b> </p> <p> <b>Supports: Windows, Visual Studio 2019-2022, for Android and iOS Development </b><br/> <b>This project supports Android and iOS devices Android SDK 21 --> 34 and beyond, iOS 13.5 --> 17.2 and beyond</b> </p> <hr/> <p><b>What our users say:</b><br> <i>"The main advantages of PGE mobile compared to many other tools are its flexibility with C++, low footprint (the generated APK is truly small), and performance. It’s genuinely the only accessible, easy-to-use mobile programming toolkit in C++ with an expressive and straightforward API (and a genuinely helpful community)."</i></p> <hr/> <p>For Visual Studio All In One (Android and iOS) Project Template: <a href="https://github.com/Johnnyg63/OLCPGEMobileVisualStudio">OLC Pixel Game Engine Mobile 2.2.9 Visual Studio for Android and iOS</a></i></p> <p>For Visual Studio Android Only (Windows) Use this project: <a href="https://github.com/Johnnyg63/OLCPGEMobileVisualStudio_Android">OLC Pixel Game Engine Mobile 2.2.9 for Android Visual Studio</a></i></p> <p>For Android Studio (Windows/Linux/MAC) Use this project: <a href="https://github.com/Johnnyg63/OLCPGEMobile_AndroidStudio">OLC Pixel Game Engine Mobile 2.2.9 for Android Studio</a></i></p> <p>For Xcode (MAC) Use this project: <a href="https://github.com/Johnnyg63/OLCPGEMobile_Xcode">OLC Pixel Game Engine Mobile 2.2.9 for Xcode</a></i></p> <hr/> <p> The <b><i>OLC Pixel Game Engine Mobile Edition </i></b>is a feature-rich fork of the original <a href='https://github.com/OneLoneCoder/olcPixelGameEngine'> OLC Pixel Game Engine</a>. <br/> <ul> <li> <b>Community Interest:</b><br/> The mobile edition has garnered attention from programmers who want to create games for Android and iOS platforms.<br/> It’s actively maintained and developed by contributors. </li> <li> <b>Cross-Platform Support:</b><br/> The mobile edition extends the original engine to support Android and iOS.<br/> Developers can create games that run on both desktop and mobile devices. </li> <li> <b>Extensions and Features:</b><br/> The mobile edition includes additional features like mobile input handling, sound, and hardware interfaces.<br/> The mobile edition is built on SIMD/NEON advance vectorizations to ensure the fastest engine to pixel generation.<br/> It’s a versatile tool for prototyping, education, mobile game development and algorithm visualization for both Android and iOS devices. </li> <li> <b>Growing User Base:</b><br/> While not as widely known as the original, it’s steadily gaining popularity.<br/> Developers appreciate its simplicity and flexibility. </li> </ul><br/> <i>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! 🚀🎮</i> </p> <hr/> <p><b><i>!!SHOUT OUTS!!</i></b><br/><br/> <b><i>THANK YOU</i></b> to <a href='https://github.com/vitoralmeidasilva'>@VasCoder</a> without your testing this would not have been possible!<br/> <b><i>THANK YOU</i></b> to <a href='https://github.com/baderouaich/'>@baderouaich</a> for fixing the bug with OnUserDestroy()!<br/> <b><i>THANK YOU</i></b> to <a href='https://github.com/Moros1138'>@Moros1138</a> for <a href='https://pgetinker.com/'>PGETinker</a> Check it out folks!!!<br/> <b><i>THANK YOU</i></b> to <a href='https://github.com/OneLoneCode'>@Javidx9</a> for... well everything!<br/> </p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobile_Xcode/assets/96908304/6545fc21-d300-42d2-99ea-428980669fd4' /></p> <hr/> <p><b><i>WE NEED YOUR FEEDBACK PLEASE</i></b></p> <hr/> <p><i><b>Thank you for cloning the OLC Pixel Game Engine 2.0 Mobile.</b><br/><br/> A tremendous amount of work went into getting this engine to work smoothy with Android and iOS so you can create amazing games.<br/> We can see that this repro gets an <b>unbelievable number of unique clones</b>, therefore we want to hear from you!<br/> Please come visit me and all the volunteers at One Lone Coder and join our community. <ul> <li>Discord: <a href="https://discord.com/invite/WhwHUMV">One Lone Coder</a></li> <li>YouTube: <a href="https://www.youtube.com/c/javidx9">One Lone Coder</a> </li> <li>Twitch: <a href="https://www.twitch.tv/javidx9">One Lone Coder</a></li> <li>Website: <a href="https://community.onelonecoder.com/">www.onelonecoder.com</a></li> <li>PGETinker: <a href="https://pgetinker.com/">PGETinker.com</a> </li> </ul> <br/> Kind regards<br/> <br/> John (aka Johnnyg63) </i></p> <hr/> <p><b><i>!!! NOW WITH iOS SUPPORT!!!</i></b></p> <p><b><i>Anything you develop for PGE Mobile Android will work on the iOS</i></b><br/></p> <p><i>Visual Studio Android & iOS template project coming soon.</i></p> <p>NOTE: iOS Beta 2.2.9 does not yet support sensors<br/> <br/> If you wish to deploy to an iOS device (iPhone or iPad) you will need access to an Apple Mac Computer and an iPhone. <br/> Please follow these steps on how to setup your Mac xCode to work with Visual Studio: https://learn.microsoft.com/en-us/cpp/cross-platform/install-and-configure-tools-to-build-using-ios?view=msvc-170<br/> <br/> <i>I don't make the rulez about iOS... Apple does</i> <br/> <b><i>...however anything you create to work on PGE Mobile Android will work on the PGE Mobile iOS</i></b> </p> <hr/> <p><i>Please see installation steps for Windows Visual Studio towards the bottom of this page</i> </p> <hr/> <p><b><i>!!! IMPORTANT NOTICE!!!</i></b></p> <p>There was a step missing from the below instructions, I did not know until today that folks where having issues with the template<br/> Please reach out to us on Discord: <a href="https://discord.com/invite/WhwHUMV">One Lone Coder</a> if every you are having issues. <br/> <br/> <i>You must accept the Android Terms and Conditions in order to use OLC PGE Mobile STEP 6 Below:</i> <ul> <li><b><i>Windows</i></b> </li> <li>Open Command Prompt in Administrator Mode</li> <li>setx -m JAVA_HOME "C:\Program Files\Java\jdk-17"</li> <li>Navigate to: "C:\Program Files (x86)\Android\android-sdk\cmdline-tools\11.0\bin" </li> <li>Enter: "sdkmanager.bat --update" </li> <li>Accept: "Y" </li> <li><img src='https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/assets/96908304/680faaa3-8123-479b-ba15-18f3a8aeae88'</li> <li><b><i>Linux, MacOS</i></b> </li> <li>Navigate to: "sdk/tools/bin" </li> <li>Enter: "sudo ./sdkmanager --licenses" </li> <li>Accept: "Y" </li> </ul> </p> <hr/> <p><b><i>!!! Known Issues !!!</i></b></p> <p><b>Segmentation Fault: Affects some phones</b><br/> If you see a Segmentation Fault at the start of debugging (can occur up to 4 times, Visual Studio 2019/2022) just change your platfrom to ARM .</p> <p><img src='https://github.com/user-attachments/assets/27db71e6-3ddf-4fb8-af68-9bcdcacdd2ad' /></p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/assets/96908304/eea76342-054c-4593-a6fb-2a6f213ec735' /> </p> <p>Ensure you change your platfrom back to ARM64 when you intent to release your game</p> <hr/> <p><b><i>!!! Visual Studio Installation !!!</i></b></p> <p>For Android Studio (Windows/Linux/MAC) project can be found here: <a href="https://github.com/Johnnyg63/OLCPGEMobileAndroidStudio">OLC Pixel Game Engine Mobile 2.2.9 for Android Studio</p> <p>1: Launch Visual Studio 2022 Installer</p> <!--Thanks @Pirate Voxel --> <p>2: Click Modify</p> <p>3: Install Mobile Development with C++ </p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobileAndroidProjectBeta20/assets/96908304/5812774f-54fa-4875-90ec-4f2e2d7a9899' /> </p> <p>5: Install Java 17: https://www.oracle.com/java/technologies/downloads/#java17</p> <p>6:<b>Accept Android Terms and condidtions: </b> <br/> <ul> <li><b><i>Windows</i></b> </li> <li>Open Command Prompt in Administrator Mode</li> <li>setx -m JAVA_HOME "C:\Program Files\Java\jdk-17"</li> <li>Navigate to: "C:\Program Files (x86)\Android\android-sdk\cmdline-tools\11.0\bin" </li> <li>Enter: "sdkmanager.bat --update" </li> <li>Accept: "Y" </li> <li><img src='https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/assets/96908304/680faaa3-8123-479b-ba15-18f3a8aeae88'</li> <li><b><i>Linux, MacOS</i></b> </li> <li>Navigate to: "sdk/tools/bin" </li> <li>Enter: "sudo ./sdkmanager --licenses" </li> <li>Accept: "Y" </li> </ul> </p> <p>7: Open Visual Studio -->Tools-->Options-->Cross Platform. Update your SDK, NDK and Java Path as shown</p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobileAndroidProjectBeta20/assets/96908304/77f70549-0d99-4f1e-9415-42fda6a99b20' /></p> <p>8: Copy the <a href="https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/blob/master/OLCPGEMobileAllInOne229.zip">OLCPGEMobileAllInOne229.zip</a> to your Projects Templates folder. Example: C:\Users\<i>your username</i>\OneDrive\Documents\Visual Studio 2022\Templates\ProjectTemplates</p> <p><<img src='https://github.com/Johnnyg63/OLCPGEMobileVisualStudio/assets/96908304/478c0f85-b19d-4445-ae8c-1a6dda368b07' /> /></p> <p>9: Put your Android phone into <a href="https://developer.android.com/studio/debug/dev-options#enable"> Development Mode</a> and enable <a href="https://developer.android.com/studio/debug/dev-options#Enable-debugging">USB Debugging.</a></p> <!--Thanks @Pirate Voxel --> <p>10: Run Visual Studio 2022 in Admin Mode</p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobileAndroidProjectBeta20/assets/96908304/daa5e9a6-309c-4b48-be44-c897ff54b6b2' /></p> <p>11: Select Create Project</p> <p><img src='https://github.com/Johnnyg63/OLCPGEMobileAndroidProjectBeta20/assets/96908304/c720f822-4e62-417c-8322-b38f8f10205Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
