Skip to content

3D Engine Core for C with embedded V8

License

Notifications You must be signed in to change notification settings

birdddev/armorcore

 
 

Repository files navigation

armorcore

3D engine core for C with embedded V8. ArmorCore is designed for the Graphics5 api and targets Direct3D12, Vulkan, Metal and WebGPU. (wip!)

Based on Krom. Powered by Kinc.

git clone --recursive https://github.com/armory3d/armorcore
cd armorcore

Windows

# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
Kinc/make -g direct3d11
# Open generated Visual Studio project at `build\Krom.sln`
# Build for x64 & release

Linux

Kinc/make -g opengl --compiler clang --compile
cd Deployment
strip Krom

macOS

Kinc/make -g metal
# Open generated Xcode project at `build/Krom.xcodeproj`
# Build

Android wip

Kinc/make -g opengl android
# Manual tweaking is required for now:
# https://github.com/armory3d/armorcore/blob/master/kfile.js#L136
# Open generated Android Studio project at `build/Krom`
# Build for device

iOS wip

Kinc/make -g metal ios
# Open generated Xcode project at `build/Krom.xcodeproj`
# Build for device

Windows DXR wip

# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
Kinc/make -g direct3d12
# Open generated Visual Studio project at `build\Krom.sln`
# Build for x64 & release

Linux VKRT wip

Kinc/make -g vulkan --compiler clang --compile
cd Deployment
strip Krom

Windows VR wip

# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
Kinc/make -g direct3d11 --vr oculus
# Open generated Visual Studio project at `build\Krom.sln`
# Build for x64 & release

Generating a v8 snapshot file

./Krom . --snapshot
# Generates a `krom.bin` file from `krom.js` file

About

3D Engine Core for C with embedded V8

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 52.3%
  • Haxe 31.7%
  • C++ 11.9%
  • JavaScript 2.2%
  • Python 1.3%
  • Objective-C 0.4%
  • Other 0.2%