Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
6c8970dd95 | |||
d6e6690e5c | |||
a9293b0ccc | |||
ef421398ba | |||
6d9b4c97b0 | |||
22bb660d23 | |||
350084a913 | |||
73ba51a812 | |||
e1ee18b2aa | |||
06ef1ceb66 | |||
298161cf39 | |||
5690bd3806 | |||
375b3599ca |
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*.blend1
|
||||||
|
khafile.js
|
||||||
|
build_PuzzlePocalypse
|
||||||
|
build
|
||||||
|
.vscode\*
|
32
.vscode/launch.json
vendored
Normal file
32
.vscode/launch.json
vendored
Normal 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
BIN
Assets/Pinkend.ttf
Normal file
Binary file not shown.
BIN
Assets/RollandinEmilie.ttf
Normal file
BIN
Assets/RollandinEmilie.ttf
Normal file
Binary file not shown.
BIN
Assets/menu_bg_music.mmpz
Normal file
BIN
Assets/menu_bg_music.mmpz
Normal file
Binary file not shown.
BIN
Assets/menu_bg_music.wav
Normal file
BIN
Assets/menu_bg_music.wav
Normal file
Binary file not shown.
BIN
Blends/3D_Models.blend
Normal file
BIN
Blends/3D_Models.blend
Normal file
Binary file not shown.
BIN
Blends/Chain_Ball.blend
Normal file
BIN
Blends/Chain_Ball.blend
Normal file
Binary file not shown.
BIN
Blends/Objects.blend
Normal file
BIN
Blends/Objects.blend
Normal file
Binary file not shown.
BIN
Blends/Title.blend
Normal file
BIN
Blends/Title.blend
Normal file
Binary file not shown.
6
Credits.txt
Normal file
6
Credits.txt
Normal 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
BIN
PuzzlePocalypse.blend
Normal file
Binary file not shown.
BIN
PuzzlePocalypse_LNX.blend
Normal file
BIN
PuzzlePocalypse_LNX.blend
Normal file
Binary file not shown.
26
Sources/Main.hx
Normal file
26
Sources/Main.hx
Normal 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
16
Sources/lnx/Game.hx
Normal 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
74
Sources/lnx/Html.hx
Normal 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>
|
||||||
|
*/
|
Reference in New Issue
Block a user