Skip to content

JimmyLord/MyFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyFramework

A cross-platform C++/OpenGL framework for games.

Currently supports the following platforms:

  • Windows

Supported platforms whose code has gone stale:

  • Android 2.2+
  • Emscripten
  • iOS 5+
  • Linux (WIP)
  • OSX

Supported platforms that are now dead but whose code hasn't been removed:

  • BlackBerry 10/Playbook
  • Native Client (NaCl)
  • Windows phone 8 (not maintained for years)

3rd party libraries:

  • Box2D (github.com/erincatto/Box2D)
  • cJSON (github.com/DaveGamble/cJSON)
  • Cotire (github.com/sakra/cotire)
  • Expression Evaluator (strchr.com/expression_evaluator)
  • LodePNG (github.com/lvandeve/lodepng)
  • mtrand (bedaux.net/mtrand)
  • OpenAL (www.openal.org)
  • pthreads-w32 (www.sourceware.org/pthreads-win32)
  • OpenSimplexNoiseInC (github.com/smcameron/open-simplex-noise-in-c)

Dependencies: The pthreads-w32 library relies on msvcr100.dll, which can be downloaded from here: https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-160 under the "Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported)" section.

The following is a list of tools used, which version I last tested with and possibly some setup commands I used:

Windows

  • Visual Studio 2019
    • Premake5

Linux

  • Debian
    • build-essential
    • cmake
    • libboost-all-dev (for SpriteTool)
    • mesa-common-dev
    • libopenal-dev
    • libgl1-mesa-dev
    • libgtk-3-dev (for wxWidgets)
    • libglu1-mesa-dev (for wxWidgets)
    • gdb
  • IDE
    • vscode
    • xterm (for VSCode debugging)

Android

  • android-studio-ide-173.4907809-windows.exe

    • Tools -> SDK Manager
      • Android API 28
      • CMake
      • LLDB
      • NDK
  • vs-android (http://code.google.com/p/vs-android/) to compile c++ code in Visual Studio 2010

    • vs-android-0.964.zip
  • jdk-7u76-windows-x64.exe

  • android-studio-ide-171.4408382-windows.exe

  • android-ndk-r10e-windows-x86_64.exe <- latest version supported by vs-android

  • apache-ant-1.9.3-bin.zip

  • setx ANDROID_NDK_ROOT E:\Apps\android-ndk-r10e

  • setx ANDROID_HOME E:\Apps\Android\sdk <- to allow vs-android to build apk

  • setx ANT_HOME E:\Apps\apache-ant-1.9.3 <- to allow vs-android to build apk

  • mklink /d C:\Users\Me.android E:\AppData.android

BlackBerry 10/Playbook

  • Momentics SDK 2.1 (BB10)
  • BlackBerry Native SDK 2.1 (Playbook)

iOS

  • Xcode 6.1

Emscripten

NaCl

About

A cross-platform C++/OpenGL framework for games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published