Skip to content

Commit

Permalink
openfl 9.3.1 and Haxe 4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Oct 18, 2023
1 parent 798303d commit 724185a
Show file tree
Hide file tree
Showing 42 changed files with 2,507 additions and 2,169 deletions.
253 changes: 136 additions & 117 deletions demos/BunnyMark/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/BunnyMark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"copy-webpack-plugin": "^11.0.0",
"haxe": "^5.2.1",
"haxe-loader": "^0.10.0",
"openfl": "^8.9.6",
"openfl": "^9.3.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"haxeDependencies": {
"haxe": "3.4.7"
"haxe": "4.0.5"
},
"scripts": {
"build": "npm run build:prod",
Expand Down
253 changes: 136 additions & 117 deletions demos/HerokuShaders/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/HerokuShaders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"copy-webpack-plugin": "^11.0.0",
"haxe": "^5.2.1",
"haxe-loader": "^0.10.0",
"openfl": "^8.9.6",
"openfl": "^9.3.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"haxeDependencies": {
"haxe": "3.4.7"
"haxe": "4.0.5"
},
"scripts": {
"build": "npm run build:prod",
Expand Down
8 changes: 4 additions & 4 deletions demos/HerokuShaders/src/App.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import js.html.webgl.Program in GLProgram;
import js.html.webgl.RenderingContext in GLRenderContext;
import js.html.webgl.Shader in GLShader;
import js.html.webgl.UniformLocation in GLUniformLocation;
import js.html.Float32Array;
import js.lib.Float32Array;
import openfl.display.OpenGLRenderer;
import openfl.display.Sprite;
import openfl.display.Stage;
Expand Down Expand Up @@ -164,8 +164,8 @@ class App extends Sprite
gl.useProgram(glCurrentProgram);

gl.uniform1f(glTimeUniform, time / 1000);
gl
.uniform2f(glMouseUniform, 0.1, 0.1); // gl.uniform2f (glMouseUniform, (stage.mouseX / stage.stageWidth) * 2 - 1, (stage.mouseY / stage.stageHeight) * 2 - 1);
gl.uniform2f(glMouseUniform, 0.1,
0.1); // gl.uniform2f (glMouseUniform, (stage.mouseX / stage.stageWidth) * 2 - 1, (stage.mouseY / stage.stageHeight) * 2 - 1);
gl.uniform2f(glResolutionUniform, stage.stageWidth, stage.stageHeight);
gl.uniform1i(glBackbufferUniform, 0);
gl.uniform2f(glSurfaceSizeUniform, stage.stageWidth, stage.stageHeight);
Expand Down Expand Up @@ -210,7 +210,7 @@ class App extends Sprite
js.Browser.document.body.appendChild(stage.element);
}).onError(function(e)
{
trace(e);
trace(e);
});
}
}
185 changes: 99 additions & 86 deletions demos/NyanCat/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/NyanCat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"copy-webpack-plugin": "^11.0.0",
"haxe": "^5.2.1",
"haxe-loader": "^0.10.0",
"openfl": "^8.9.6",
"openfl": "^9.3.1",
"swf-loader": "^1.0.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"haxeDependencies": {
"haxe": "3.4.7"
"haxe": "4.0.5"
},
"scripts": {
"build": "npm run build:prod",
Expand Down
Loading

0 comments on commit 724185a

Please sign in to comment.