Skip to content

Creating a new project

fredakilla edited this page Jul 10, 2018 · 12 revisions

Summary

  • Add in your compiler settings the paths to the gplayengine lib and include directories.
  • Link with GPlay and GPlay-deps static libraries.
  • Copy gplayengine "res" directory and delete res/data (only core is required)
  • Add your own assets where you want in the res directory.

Using QtCreator

Fastest way is to use QtCreator and use the newsample project as base for creating a new one.

Copy samples/newsample directory somewhere on your disk.
Open new-sample.pro in QtCreator and adjust the first two user variables in .pro

  • GPLAY_OUTPUT_DIR: set the path where to find the gplayengine output directory (that contains lib and include).
  • APP_NAME: the name of your application.
  • build

Binary will be generated into {GPlayEngine}/output/bin/

Clone this wiki locally