android - Cross platform native games with Visual Studio -


please note looked through of visual studio documentation optimum solution couldn't find info :-)

i going develop new game , time want use c++ , visual studio. game run on ios , android , desktop. work on mac book pro , run windows , os x on computer simultaneously (with of vmware workstation).

the game run on opengl es of other frameworks (sfml). i'm trying gather information on how setup solution , how should use platforms specific apis.

i assume have use opengl es application (android, ios) game , shared library (android, ios) game engine code.

now comes question, should put platform specific implementations including not limited to:

  • in-app billing android
  • in-app purchases ios
  • chartboost/adcolony sdk android , ios
  • some ios-only features implemented in obj-c code

basically need find way setup projects in visual studio. think need set this:

game engine project (shared library): hold game engine code that'll shared on platforms (let's assume ios , android sake of simplicity).

shared interfaces project (shared library): hold shared interfaces platform specific api calls, in-app purchases, etc. project include interfaces, not actual implementations.

android project (opengles application): android native project run game on android devices. project hold android implementations interfaces defined in shared project.

ios project (opengles application): similar previous one, ios.

i don't know if solution architecture correct. if is, how should implement ios specific features. know need use xcode this. have create xcode project on mac , develop ios feature there using shared library projects?

i'm confused :-)


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -