-
Notifications
You must be signed in to change notification settings - Fork 9
Getting Started
Hipreme Engine is made in the D language. Since building is one of the most complex matters in native programming languages, the engine handles all itself. The way it uses, is by using the program called build_selector
. You can take a look below into how to get the engine:
- Go into Github Releases and download the build_selector program for your target platform: https://github.com/MrcSnm/HipremeEngine/releases/tag/BuildAssets.v1.0.0
The build_selector will automatically get you the D language, Dub, all in the most compatible version with the game engine.
- While running the program, simply accept the download of the tools and follow the instructions in the program.
The tool will: Get all the development tools for you: Clone the engine repository, setup the internal variables, and also download relevant SDKs when required.
- You can start running your game by simply selecting your target platform, the engine comes with a default project called projects/start_here, which should show some stuff in your screen when run.
- Run the build_selector tool
- Select the option of
Create Project
. - Make sure your project name has no space on it.
- If you want to change the current project, you have 2 options: Use the option
Select Game
, or simply take a look into the file calledgamebuild.json
and change the"gamePath"
to point to your game.
- On Windows: Add in dub.json of your project the dependency as one would normally do. After that, you need to setup inside your
dflags-windows-ldc
a new entry with the same name of your dependency, for example, if your dependency is namedutil
, you need to add/WHOLEARCHIVE:util
Enter in Hipreme Engine Discord server: Hipreme Entertainment. Currently, I'm fully dedicated in providing as much support as needed. That way we can make it become better for everyone.
Whenever you just execute dub
on HipremeEngine, it will automatically open TestScene. If you wish, you can modify that part of the code to use lower level features such as directly controlling Sprite Batches or other things. Keep in mind that doing this is out of scope from HipremeEngine project, the Scripting API should be the default way to code for it.