KihonEngine 2021.9.12
/!\ 🚩Depreciated due to identity usurpation and online reputation attack occurred end of August 2022 🚩/!\
See the version list below for details.
dotnet add package KihonEngine --version 2021.9.12
NuGet\Install-Package KihonEngine -Version 2021.9.12
<PackageReference Include="KihonEngine" Version="2021.9.12" />
paket add KihonEngine --version 2021.9.12
#r "nuget: KihonEngine, 2021.9.12"
// Install KihonEngine as a Cake Addin
#addin nuget:?package=KihonEngine&version=2021.9.12
// Install KihonEngine as a Cake Tool
#tool nuget:?package=KihonEngine&version=2021.9.12
KihonEngine
Kihon Engine is a basic 3D engine developed in dotnet core and WPF. It can be used for developpinng basic 3D video games.
Actually, with Kihon Engine, you can:
- Build maps with Kihon Engine Studio.
- Run maps in a basic FPS game mode and walk around the map in first person view.
Getting started
Create a video game based on Kihon Engine is very easy.
Just take a look inside the sample project KihonEngine.SampleGame
.
The whole MainWindow.xaml.cs
should look something like this:
namespace KihonEngine.SampleGame
{
using System.Windows;
using System.Windows.Input;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
// Step 1 : Configure game engine
Engine.Configure();
// Step 2 : Configure game : we will use an existing map from KihonEngine.SampleMaps
StandardStartups.BuildStandaloneFullScreenGame<KihonEngine.SampleMaps.DarkCastleMapBuilder>();
// Step 3 : When click Start button, launch game
btnStart.Click += (sender, e) => Engine.Play();
// And then, manage how application ends
btnExit.Click += (sender, e) => Close();
KeyDown += (sender, e) => { if (e.Key == Key.Escape) { Close(); } };
}
}
}
And that's all. When the application starts, you will have basic startup screen.
And by click Start Game, you will launch one of the few sample maps available in KihonEngine.SampleMaps
Kihon Engine technical architecture overview
Kihon Engine global architecture is the following
Kihon Engine Studio
Kihon Engine Studio helps for building maps
The actual basic features are the following
Some generic features
- Save and load maps from files based on a json format
- Possibility to change map global properties like map name, respawn player camera (position and direction)
- Source viewer for the currently edited map, in order to visualize the json format
- Game state viewer to analyse game state at any time
- Possibility to switch between edit mode and game mode in order to vizualise how map is rendered at play time
Edit mode
Play mode
Adding 3D models to maps
- Add floor
- Add ceilings
- Add walls
- Add volumes, like cube, rectangles
- Add lights to make the viewport3D scene visible
- Add skyboxes. Actually, three predefined skyboxes are availables
Possibility to edit the 3D models
- By dimentions
- By colors
- As proof of concept, actually only four textures are available for floors
Possibility to move 3D models on the map
- By rotation on axis X, Y and Z
- By translation on axis X, Y and Z
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net7.0-windows was computed. net8.0-windows was computed. |
-
net5.0-windows7.0
- Newtonsoft.Json (>= 13.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KihonEngine:
Package | Downloads |
---|---|
KihonEngine.SampleMaps
Sample maps for Kihon Engine 3D engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2023.11.6 | 213 | 11/6/2023 |