Compare commits

13 Commits
main ... dev

Author SHA1 Message Date
6c8970dd95 Upload files to "Blends" 2025-03-26 16:20:26 +00:00
d6e6690e5c Update Materials 2025-03-26 16:24:45 +01:00
a9293b0ccc Update materials 2025-03-26 16:19:36 +01:00
ef421398ba Update 2025-03-26 14:01:32 +01:00
6d9b4c97b0 Update 2025-03-25 17:59:58 +01:00
22bb660d23 Update 2025-03-25 11:36:14 +01:00
350084a913 Update 2025-03-25 08:19:21 +01:00
73ba51a812 Update 2025-03-25 08:09:09 +01:00
e1ee18b2aa Update 2025-03-25 07:41:12 +01:00
06ef1ceb66 Update 2025-03-25 07:28:02 +01:00
298161cf39 Update 2025-03-25 07:18:18 +01:00
5690bd3806 add build and vscode to ignore 2025-03-24 18:31:21 -06:00
375b3599ca add-main-blender-scene 2025-03-24 16:37:44 -06:00
16 changed files with 159 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.blend1
khafile.js
build_PuzzlePocalypse
build
.vscode\*

32
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,32 @@
{
"configurations": [
{
"name": "Kha: HTML5",
"request": "launch",
"type": "chrome",
"cwd": "${workspaceFolder}/build/debug-html5",
"runtimeExecutable": "${command:kha.findKhaElectron}",
"runtimeArgs": [
"--no-sandbox",
"--force-device-scale-factor=1",
"."
],
"outFiles": [
"${workspaceFolder}/build/debug-html5/*.js"
],
"preLaunchTask": "Kha: Build for Debug HTML5",
"internalConsoleOptions": "openOnSessionStart",
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "krom",
"request": "launch",
"name": "Kha: Krom",
"preLaunchTask": "Kha: Build for Krom",
"internalConsoleOptions": "openOnSessionStart"
}
],
"compounds": []
}

BIN
Assets/Pinkend.ttf Normal file

Binary file not shown.

BIN
Assets/RollandinEmilie.ttf Normal file

Binary file not shown.

BIN
Assets/menu_bg_music.mmpz Normal file

Binary file not shown.

BIN
Assets/menu_bg_music.wav Normal file

Binary file not shown.

BIN
Blends/3D_Models.blend Normal file

Binary file not shown.

BIN
Blends/Chain_Ball.blend Normal file

Binary file not shown.

BIN
Blends/Objects.blend Normal file

Binary file not shown.

BIN
Blends/Title.blend Normal file

Binary file not shown.

6
Credits.txt Normal file
View File

@ -0,0 +1,6 @@
Font (Creative Commons Attribution License (CC BY))
RollandinEmilie by Emilie @ http://www.archistico.com/
------------
Font (Creative Commons Attribution-NoDerivs License (CC BY-ND))
Syafrizal a.k.a. Khurasan @ https://www.paypal.me/khurasantype
------------

BIN
PuzzlePocalypse.blend Normal file

Binary file not shown.

BIN
PuzzlePocalypse_LNX.blend Normal file

Binary file not shown.

26
Sources/Main.hx Normal file
View File

@ -0,0 +1,26 @@
// Auto-generated
package;
class Main {
public static inline var projectName = 'Title';
public static inline var projectVersion = '1.0.0';
public static inline var projectPackage = 'lnx';
public static function main() {
iron.object.BoneAnimation.skinMaxBones = 8;
iron.object.LightObject.cascadeCount = 4;
iron.object.LightObject.cascadeSplitFactor = 0.800000011920929;
leenkx.system.Starter.main(
'Scene',
0,
false,
true,
false,
1920,
1080,
1,
true,
leenkx.renderpath.RenderPathCreator.get
);
}
}

16
Sources/lnx/Game.hx Normal file
View File

@ -0,0 +1,16 @@
package lnx;
class Game extends iron.Trait {
public function new() {
super();
// notifyOnInit(function() {
// });
// notifyOnUpdate(function() {
// });
// notifyOnRemove(function() {
// });
}
}

74
Sources/lnx/Html.hx Normal file
View File

@ -0,0 +1,74 @@
package lnx;
/**
* This adds the correct css styling for a nice automatic full screen html5
*/
class Html extends iron.Trait {
var css = "#khanvas {
display: block;
outline: none;
border: none !important;
bottom: 0 !important;
height: 100vh !important;
left: 0 !important;
min-height: 100% !important;
min-width: 100% !important;
position: fixed !important;
right: 0 !important;
top: 0 !important;
width: 100% !important;
}";
public function new() {
super();
notifyOnInit(function() {
#if kha_krom
#else
js.Syntax.code('var style = document.createElement("style"); style.type = "text/css"; style.appendChild(document.createTextNode({0})); document.getElementsByTagName("head")[0].appendChild(style);',
css);
#end
});
// notifyOnUpdate(function() {
// });
// notifyOnRemove(function() {
// });
}
}
/*
<style>
html,
body,
canvas,
div {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
p {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
#khanvas {
display: block;
outline: none;
border: none !important;
bottom: 0 !important;
height: 100vh !important;
left: 0 !important;
min-height: 100% !important;
min-width: 100% !important;
position: fixed !important;
right: 0 !important;
top: 0 !important;
width: 100% !important;
}
</style>
*/