Skip to content

kalineh/FunkEngine-Public

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

FunkEngine

It's livin' in the funk. It's just a put-on!

Info

C++ game engine. Uses GameMonkey for Scripting and OpenGL for rendering.

Supports: Windows (32-bit), Mac OSX (32-bit), and iOS platforms..

Visual Studio Setup

FunkEngine should build right out of the box, but in order for you to run it in Visual Studio, you need to set just a few User Settings.

Right click on the Project "FunkEngine" ->Properties -> Configuration Properties -> Debugging

  1. Working Directory: $(ProjectDir)../../../../../resources
  2. Environment: PATH=$(ProjectDir)../../../../../resources
  3. Command arguments (Optional): -w 1280 -h 720 --windowed

Make sure to do it for Release and Debug builds. It should look something like this:

Project Settings

###User Config

  1. Open File "FunkEngine\code\cpp\engine\config\UserConfig.h"
  2. define "CONFIG_USER" and "CONFIG_USER_GM" (ex. EDDIE)

Xcode Setup

Framework/Dynamic Libraries - When adding or upgrading a new Framework, you need to hack the Install Directory to point to the relative path to allow shipping with the bundle..

  1. In the directory containing the *.framework file, call: /Applications/Xcode.app/Contents/Developer/usr/bin/install_name_tool -id @executable_path/../Frameworks/Ogg.framework/Ogg Ogg.framework/Ogg
  2. This will point the framework to the relative loocation of the package bundle
  3. Somtimes, you need to handle cross-framework (Vorbis to orbis) references.. you do this: /Applications/Xcode.app/Contents/Developer/usr/bin/install_name_tool -change /Library/Frameworks/Ogg.framework/Versions/A/Ogg @executable_path/../Frameworks/Ogg.framework/Ogg Vorbis.framework/Vorbis
  4. sometimes, you have to manually change directory references for dylib files: /Applications/Xcode.app/Contents/Developer/usr/bin/install_name_tool -id @executable_path/../Frameworks/libLeap.dylib libLeap.dylib

http://stackoverflow.com/questions/1304239/osx-changing-path-of-framework

ScreenShot

About

FunkEngine Engine, Public Release

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 67.3%
  • C++ 23.9%
  • Shell 6.4%
  • TeX 1.6%
  • Perl 0.4%
  • Objective-C 0.3%
  • CSS 0.1%