Skip to content

Commit

Permalink
Bump version to 0.3.5 (ryanisaacg#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanisaacg authored Jan 11, 2019
1 parent 5165325 commit 334c116
Show file tree
Hide file tree
Showing 23 changed files with 209 additions and 173 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## In-development

## 0.3.5

- Add a new event: `Typed(char)` that allows reading typed alphanumeric characters
- Add support for touch events on web
- Fix a bug with swapping textures in the WebGL backend
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "quicksilver"
description = "A simple game framework for 2D games in pure Rust"
version = "0.3.4"
version = "0.3.5"
authors = ["Ryan Goldstein <[email protected]>"]
categories = ["game-engines"]
homepage = "https://ryanisaacg.github.io/quicksilver"
Expand Down
37 changes: 20 additions & 17 deletions docs/camera.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,8 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_2034053b7b6771271a2dad3e5416b045a74488a1": function($0, $1, $2, $3) {
Module.STDWEB_PRIVATE.acquire_js_reference( $0 ).setTimeout( function() {Module.STDWEB_PRIVATE.dyncall( 'vi', $1, [$2] );}, $3 );
},
"__cargo_web_snippet_216c7045bad0aa79bff1f8b10b0e7a61cd417ecb": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof MouseEvent && o.type === "mousemove") | 0;
"__cargo_web_snippet_23639371cb88eaf0e4e3ff14ba63d1e5b5cea0b2": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).key;})());
},
"__cargo_web_snippet_275c52510376b526efc3b77789bb01b8a440efd4": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).width;})());
Expand All @@ -614,6 +614,9 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_3acb61e26a58d72c09ba72199a1768f2ed19718d": function($0, $1) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);($0).title=($1);
},
"__cargo_web_snippet_3d17cee4ae3cccb4085c0faa51d880595e9a073d": function($0, $1, $2) {
$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);Module.STDWEB_PRIVATE.from_js($0, (function(){($1).style.cursor=($2)})());
},
"__cargo_web_snippet_41648715735c41dd07f9e6ecd29694c149a1147f": function($0, $1, $2) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);($0).bindTexture(($1),($2));
},
Expand Down Expand Up @@ -641,15 +644,15 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_60a4678a86465066d08a972378bb333945f797a6": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof GamepadEvent && o.type === "gamepaddisconnected") | 0;
},
"__cargo_web_snippet_613b0f25af124f7a157482b1898be5a8759ccb97": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof PointerEvent && o.type === "pointerover") | 0;
},
"__cargo_web_snippet_614a3dd2adb7e9eac4a0ec6e59d37f87e0521c3b": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).error;})());
},
"__cargo_web_snippet_652a44a9a9c25aa377162e42c1c0ca2b47b621e6": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).buttons;})());
},
"__cargo_web_snippet_66854030cb00aaee7e67aa2a0497611bebdc1250": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof MouseEvent && o.type === "mouseout") | 0;
},
"__cargo_web_snippet_6895877ca617093d48433651d9853b2907713750": function($0, $1, $2, $3, $4) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);$3 = Module.STDWEB_PRIVATE.to_js($3);$4 = Module.STDWEB_PRIVATE.to_js($4);($0).clearColor(($1),($2),($3),($4));
},
Expand Down Expand Up @@ -689,18 +692,12 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_7bead6b563d52eee65504adb6b76c5cacb5428d3": function($0) {
$0 = Module.STDWEB_PRIVATE.to_js($0);($0).preventDefault();
},
"__cargo_web_snippet_7c664dd1f3243e61ec18f7d1638e34226ba687be": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof MouseEvent && o.type === "mouseover") | 0;
},
"__cargo_web_snippet_80d6d56760c65e49b7be8b6b01c1ea861b046bf0": function($0) {
Module.STDWEB_PRIVATE.decrement_refcount( $0 );
},
"__cargo_web_snippet_85b9ecbdb8513465b790546acfd0cd530441b8a4": function($0) {
$0 = Module.STDWEB_PRIVATE.to_js($0);($0).stopPropagation();
},
"__cargo_web_snippet_888b745991f21839297ff985ddd25fb66d630e67": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof MouseEvent && o.type === "mousedown") | 0;
},
"__cargo_web_snippet_8956c802ab8a6863a8347558d363df26d3d2b9ab": function($0, $1) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);($0).useProgram(($1));
},
Expand All @@ -719,6 +716,9 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_931b21f9ef477fd3f89116c8eca87dcc2964fabb": function($0, $1, $2, $3) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);$3 = Module.STDWEB_PRIVATE.to_js($3);($0).bufferSubData(($1),($2),($3));
},
"__cargo_web_snippet_93677063bfe06049229cc979f161294aa83b0bfe": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof PointerEvent && o.type === "pointerup") | 0;
},
"__cargo_web_snippet_99c4eefdc8d4cc724135163b8c8665a1f3de99e4": function($0, $1, $2, $3) {
$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);$3 = Module.STDWEB_PRIVATE.to_js($3);Module.STDWEB_PRIVATE.from_js($0, (function(){var listener=($1);($2).addEventListener(($3),listener);return listener;})());
},
Expand All @@ -728,6 +728,9 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_9bc28cbc8b224706449edaedfb4361572acd03fa": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).gamepad;})());
},
"__cargo_web_snippet_9cbe3f041910b7b8710cf6692e325e3c397db838": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof PointerEvent && o.type === "pointermove") | 0;
},
"__cargo_web_snippet_9d64a695070c583ca1db88f92170810d90b0bb4c": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof KeyboardEvent && o.type === "keydown") | 0;
},
Expand All @@ -752,6 +755,9 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_ab05f53189dacccf2d365ad26daa407d4f7abea9": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).value;})());
},
"__cargo_web_snippet_ab5cb3942c38455c95c95123489758fc220d9565": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof PointerEvent && o.type === "pointerdown") | 0;
},
"__cargo_web_snippet_ac7d2ed6b6f9c8022b4938c48fabf184cdb62103": function($0, $1) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);($0).compileShader(($1));
},
Expand All @@ -770,9 +776,6 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_b5279855d56d8dbb2124ea9f036133d0f76408de": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof FocusEvent && o.type === "focus") | 0;
},
"__cargo_web_snippet_b6617e999209f5b71f18f29d9a24d764b1c63845": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof MouseEvent && o.type === "mouseup") | 0;
},
"__cargo_web_snippet_b6fbe111e441333398599f63dc09b26f8d172654": function($0, $1) {
$1 = Module.STDWEB_PRIVATE.to_js($1);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).innerHeight;})());
},
Expand Down Expand Up @@ -809,6 +812,9 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_d6d59a188b8825cd58baaa4a29c4a918ec7cb003": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof WebGLShader) | 0;
},
"__cargo_web_snippet_e313f15435acbda1ee50355801d6dd989604ca8d": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof PointerEvent && o.type === "pointerout") | 0;
},
"__cargo_web_snippet_e741b9d9071097746386b2c2ec044a2bc73e688c": function($0, $1) {
$0 = Module.STDWEB_PRIVATE.to_js($0);$1 = Module.STDWEB_PRIVATE.to_js($1);($0).appendChild(($1));
},
Expand All @@ -830,9 +836,6 @@ Module.STDWEB_PRIVATE.acquire_tmp = function( dummy ) {
"__cargo_web_snippet_ee2ac14eaf4087d775bf8366e5a938975a26a075": function($0) {
var o = Module.STDWEB_PRIVATE.acquire_js_reference( $0 );return (o instanceof GamepadButton) | 0;
},
"__cargo_web_snippet_ef9d19e27baeefdd654630ea1bda9300440ea0ff": function($0, $1, $2) {
$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);Module.STDWEB_PRIVATE.from_js($0, (function(){($1).style.cursor=($2)?"auto":"none";})());
},
"__cargo_web_snippet_f1c5b555b7858c4f021b91769dce6f5bafdef9a2": function($0, $1, $2, $3) {
$1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);$3 = Module.STDWEB_PRIVATE.to_js($3);Module.STDWEB_PRIVATE.from_js($0, (function(){var callback=($1);var request=($2).requestAnimationFrame(callback);return{request:request,callback:callback,window:($3)};})());
},
Expand Down
Binary file modified docs/camera.wasm
Binary file not shown.
Loading

0 comments on commit 334c116

Please sign in to comment.