Skip to content

Commit

Permalink
Oozaru 0.6.0
Browse files Browse the repository at this point in the history
New `Transform` and `Color` APIs, improved backbuffer handling and
removal of some legacy Sphere v2 APIs.
  • Loading branch information
fatcerberus committed Mar 24, 2022
1 parent 991f758 commit 623336b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules/
.DS_STORE

web/game/
web/dist/
web/games/
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Oozaru Changelog
================

v0.6.0 - TBD
------------
v0.6.0 - March 23, 2022
-----------------------

* Adds support for the `Color.fromRGBA()`, `Color.EatyPig`, and
`Transform#matrix` APIs.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ into the official Sphere development toolchain.

## Download

**Oozaru 0.5.1**, released on January 27, 2021, is available for download here,
along with all previous releases:
Oozaru is available for download from the GitHub repository's Releases page,
which can be found here:

* https://github.com/spheredev/oozaru/releases

Expand Down
2 changes: 1 addition & 1 deletion web/oozaru.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Oozaru",
"publisher": "Fat Cerberus",
"version": "0.5.1+"
"version": "0.6.0"
}
2 changes: 1 addition & 1 deletion web/scripts/galileo.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ class Galileo
});

// TODO: see if there's a way to avoid needing a separate shader instance for flips.
flipShader = defaultShader.clone();
backBuffer = new Surface(canvas.width, canvas.height);
flipShader = defaultShader.clone();

Galileo.flip();
}
Expand Down
4 changes: 2 additions & 2 deletions web/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function main()
}
catch {
const iconImage = document.createElement('img');
iconImage.src = `game/icon.png`;
iconImage.src = `dist/icon.png`;
iconImage.width = 48;
iconImage.height = 48;
menu.appendChild(iconImage);
Expand All @@ -100,7 +100,7 @@ async function main()
await Fontso.initialize();
InputEngine.initialize(canvas);
Pegasus.initialize();
await Pegasus.launchGame(gameID !== null ? `games/${gameID}` : 'game');
await Pegasus.launchGame(gameID !== null ? `games/${gameID}` : 'dist');
}
else {
reportException("Please select a game from the top menu first.");
Expand Down

0 comments on commit 623336b

Please sign in to comment.