Skip to content

Shturm0weak/Pengine-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pengine

A simple 3D game engine.

Platforms:

  • Windows
  • Linux

How to build

Windows

  • Download GLFW 64-bit Windows binaries from https://www.glfw.org/download.html.
  • Download Vulkan SDK from https://vulkan.lunarg.com.
  • Set up next environment variables: GLFW_INCLUDE, GLFW_PATH_LIB, SPIRV_REFLECT, VULKAN_INCLUDE, VULKAN_LIB.
    For example how I set it:
    GLFW_INCLUDE = C:/GLFW/Includes
    GLFW_PATH_LIB = C:/GLFW/Lib
    VULKAN_INCLUDE = C:/VulkanSDK/1.3.268.0/Include
    VULKAN_LIB = C:/VulkanSDK/1.3.268.0/Lib
    SPIRV_REFLECT = C:/VulkanSDK/1.3.268.0/Source
  • Clone and run CMake.
git clone --recursive -b main https://github.com/Shturm0weak/Pengine-2.0.git
cd Pengine-2.0 && mkdir Build && cd Build && cmake ..
  • Open Pengine (for VS 20XX Pengine-2.0/Build/Pengine.sln) and set up SandBox as a startup project.
  • Try to build and run.

Linux

  • If there is no GLFW, so download GLFW for your linux distribution.
  • Download Vulkan SDK from https://vulkan.lunarg.com.
  • Set up next environment variables: SPIRV_REFLECT, VULKAN_INCLUDE, VULKAN_LIB.
    For example how I set it:
    VULKAN_INCLUDE = /home/alexander/Vulkan/1.3.275.0/x86_64/include
    VULKAN_LIB = /home/alexander/Vulkan/1.3.275.0/x86_64/lib64
    SPIRV_REFLECT = /home/alexander/Vulkan/1.3.275.0/x86_64/include
  • Clone and run CMake.
git clone --recursive -b main https://github.com/Shturm0weak/Pengine-2.0.git
cd Pengine-2.0 && mkdir Build && cd Build && cmake ..
  • Open Pengine and set up SandBox as a startup project.
  • Try to build and run.

Screenshots

image image image

About

A simple 2D/3D game engine using Vulkan API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published