This is a template project for the C# game engine Phantom, used at Ludomotion as skeleton for new projects.
- A basic Phantom setup;
- Textures, phonts and audio.
- Fullscreen toggle.
- Build-tools to publish for Windows or OSX.
- A project-rename tool.
- Support for Xamarin (with some fiddling).
The game code of this project resides in a shared project. To be able to use shared projects in Visual Studio you must first download the extension: https://visualstudiogallery.msdn.microsoft.com/315c13a7-2787-4f57-bdf7-adae6ed54450 (Xamarin already supports this)
- Clone this project into a new directory
- Open the
./Tools/
directory in Explorer - Execute (double-click) the rename-project.exe file
- Enter a new project name (space seperated words)
$ git clone git@github.com:ludomotion/helloworld.git newproject
$ cd newproject/Tools/
$ go run rename-project.go ../ New Project
# where 'New Project' is the new project name (space seperated words)
- Install NSIS (on the default location): http://nsis.sourceforge.net/Main_Page
- Execute (double-click) the ./Tools/build-windows.exe
- Execute (double-click) the ./Tools/build-osx.exe
(running Mac OSX, install golang and go run build-osx.go
)
The game itself is just a placeholder using opensource assets: