0.2.2 • Published 1 year ago
@tcool86/zylem v0.2.2
Zylem
A powerful and easy-to-use framework for creating simple 3D digital interactive applications using TypeScript.
Note: This project is still in alpha. There are unfinished features and some APIs that may change.
Installation
pnpm installnpm run devExamples
Check out the examples repo here
Basic Usage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Zylem - Basic Usage</title>
<link rel="stylesheet" href="./index.css" />
</head>
<body>
<script src="./src/index.ts" type="module"></script>
</body>
</html>import { game, stage, sphere } from '@tcool86/zylem';
const example = game(
stage(),
sphere({
update: ({ entity: ball, inputs }) => {
const { horizontal, vertical } = inputs[0];
ball.moveXY(horizontal * 5, -vertical * 5);
}
})
);
example.start();Repository Governance
Conventional commits
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)refactor: A code change that neither fixes a bug nor adds a featurecleanup: Removal of dead code, unused functionality, or code changes involving renamingperf: A code change that improves performancetest: Adding missing or correcting existing testsbuild: Changes that affect the build system or external dependencies (example scopes: vite, npm, typescript, etc)
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.29
1 year ago
0.1.28
1 year ago
0.1.27
1 year ago
0.1.26
1 year ago
0.1.25
1 year ago
0.1.24
1 year ago
0.1.23
1 year ago
0.1.22
1 year ago
0.1.21
1 year ago
0.1.20
1 year ago
0.1.19
1 year ago
0.1.18
1 year ago
0.1.17
1 year ago
0.1.16
1 year ago
0.1.15
1 year ago
0.1.14
1 year ago
0.1.13
1 year ago
0.1.12
1 year ago
0.1.11
1 year ago
0.1.10
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.1
2 years ago