Skip to content

Commit 290c66c

Browse files
committed
Add sounds file
1 parent a4343d8 commit 290c66c

File tree

122 files changed

+238
-43167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+238
-43167
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Bundled/laser.wav

93.2 KB
Binary file not shown.

Sources/Main.hx

+7-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,14 @@ class Main {
5050
var windowMode = config.window_mode == 0 ? kha.WindowMode.Window : kha.WindowMode.Fullscreen;
5151
#if (kha_version < 1807) // TODO: deprecated
5252
if (windowMode == kha.WindowMode.Fullscreen) { windowMode = kha.WindowMode.BorderlessWindow; config.window_w = kha.Display.width(0); config.window_h = kha.Display.height(0); }
53-
#end
5453
kha.System.init({title: projectName, width: config.window_w, height: config.window_h, samplesPerPixel: config.window_msaa, vSync: config.window_vsync, windowMode: windowMode, resizable: config.window_resizable, maximizable: config.window_maximizable, minimizable: config.window_minimizable}, function() {
54+
#else
55+
var windowFeatures = 0;
56+
if (config.window_resizable) windowFeatures |= kha.WindowOptions.FeatureResizable;
57+
if (config.window_maximizable) windowFeatures |= kha.WindowOptions.FeatureMaximizable;
58+
if (config.window_minimizable) windowFeatures |= kha.WindowOptions.FeatureMinimizable;
59+
kha.System.start({title: projectName, width: config.window_w, height: config.window_h, window: {mode: windowMode, windowFeatures: windowFeatures}, framebuffer: {samplesPerPixel: config.window_msaa, verticalSync: config.window_vsync}}, function(window:kha.Window) {
60+
#end
5561
iron.App.init(function() {
5662

5763
iron.Scene.setActive('Scene', function(object:iron.object.Object) {

SpaceShooterblend.blend

-716 Bytes
Binary file not shown.

SpaceShooterblend.blend1

0 Bytes
Binary file not shown.

build/SpaceShooterblend-debug-html5-intellij/.idea/.name

-1
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/compiler.xml

-22
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/copyright/profiles_settings.xml

-3
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/haxe.xml

-4
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/misc.xml

-61
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/modules.xml

-8
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/.idea/vcs.xml

-6
This file was deleted.

build/SpaceShooterblend-debug-html5-intellij/SpaceShooterblend.iml

-35
This file was deleted.

build/SpaceShooterblend-debug-html5.hxproj

-60
This file was deleted.

build/debug-html5-resources/Material_003_mesh-webgl2.frag.essl

-45
This file was deleted.

build/debug-html5-resources/Material_003_mesh-webgl2.vert.essl

-16
This file was deleted.

build/debug-html5-resources/Material_003_mesh.frag.essl

-45
This file was deleted.

build/debug-html5-resources/Material_003_mesh.vert.essl

-16
This file was deleted.

build/debug-html5-resources/Material_003_shadowmap-webgl2.frag.essl

-8
This file was deleted.

build/debug-html5-resources/Material_003_shadowmap-webgl2.vert.essl

-12
This file was deleted.

build/debug-html5-resources/Material_003_shadowmap.frag.essl

-8
This file was deleted.

0 commit comments

Comments
 (0)