Default template for a new project using Onyx
  • CMake 87.9%
  • PowerShell 3.8%
  • Shell 3.7%
  • Batchfile 3%
  • C++ 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-25 14:07:34 +01:00
.github Fixed template project create script 2026-01-02 21:33:03 +01:00
cmake Removed unused cmake scripts 2025-04-02 19:11:54 +02:00
code Adding gamecore and volume editor targets to default project 2026-01-25 13:23:58 +01:00
.gitignore Adding default project using cpm/fetchcontent 2025-04-02 17:21:13 +02:00
CMakeLists.txt Changing template project back to main branch of onyx 2026-01-25 14:07:34 +01:00
generate_project.bat Updated template project for onyx 0.4.0 2025-11-16 11:27:17 +01:00
generate_project.ps1 Updated template project for onyx 0.4.0 2025-11-16 11:27:17 +01:00
generate_project.sh Updated template project for onyx 0.4.0 2025-11-16 11:27:17 +01:00
LICENSE.md Adding default project using cpm/fetchcontent 2025-04-02 17:21:13 +02:00
README.md Revert " Ready to clone and code." 2025-04-08 19:17:28 +02:00

Introduction

This is the default template for an empty project using Onyx.

HOW TO USE THIS TEMPLATE

DO NOT FORK this is meant to be used from Use this template feature.

  1. Click on Use this template
  2. Give a name to your project
    (e.g. my_awesome_project recommendation is to use all lowercase and underscores separation for repo names.)
  3. Wait until the first run of CI finishes
    (Github Actions will process the template and commit to your new repo)
  4. Read the Onyx install guide to check all requirements & dependencies. https://github.com/Ak-Elements/Onyx
  5. Clone your new project and happy coding!

NOTE: WAIT until first CI run on github actions before cloning your new project.

Requirements & Dependencies

To successfully build and run Onyx, ensure the following software and tools are installed:

Required Tools

  1. CMake

  2. Vulkan SDK

    • Version: 1.3 or higher
    • Additional Requirements:
      During Vulkan SDK installation, ensure the following components are selected:
      • SDK 32-bit Core Components
      • Shader Toolchain Debug Symbols 64-bit
      • Shader Toolchain Debug Symbols 32-bit
    • Download Vulkan SDK
  3. C++ Compiler

    • Standard: C++20 or higher
    • Examples:
      • Microsoft Visual Studio
      • GCC (GNU Compiler Collection)

Set project name

By default the template for this default project is called 'project_name' and is renamed by github once you create a new repository from it using the Use this template feature. If you decided to download the repository manually you have to change those default names yourself by opening all 3 generate_projects scripts and replace @PROJECT_NAME@ with the name of your project as well as renaming the folder project_name to the name you chose.

It is highly recommended to use the template from GitHub instead of manually downloading the source.

Additional Notes

  • A GPU with Vulkan support is required.
  • Contributions and issues can be tracked on the repository's GitHub page.

License

Required Notice: Copyright AkElements

This repository is licensed under the PolyForm Noncommercial License 1.0.0 https://polyformproject.org/licenses/noncommercial/1.0.0/

For questions regarding the license or if you would like to have a more permissive license feel free to contact me. (akelements.dev@gmail.com)