Skip to content

Commit

Permalink
v0.1.6 sync improvements and animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorBP committed Nov 3, 2023
1 parent dd504f7 commit 3046528
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 180 deletions.
Binary file added assets/boom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
<style>
body {
margin: 0;
padding: 0;
background: linear-gradient(-45deg, #a6a6a6, #5ac05a, #262626, #a6a6a6);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
height: 100vh;
/* height: 100vh; */
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
canvas {
background-color: white;
Expand Down
1 change: 1 addition & 0 deletions out/snippets/wasm_battle_arena-dc67b83de4cfb169/inline0.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export function is_secure() { return window.location.protocol == 'https:'; }
16 changes: 8 additions & 8 deletions out/wasm_battle_arena.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ export interface InitOutput {
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_export_2: WebAssembly.Table;
readonly wasm_bindgen__convert__closures__invoke0_mut__hfe44012eb9717685: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h045ce970ea65c3e0: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0eb225a3b49e08bb: (a: number, b: number) => void;
readonly wasm_bindgen__convert__closures__invoke1_mut__h03386591ab5fa143: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke0_mut__hee0b8f1ed4879a72: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4ddbefef98eb797d: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5739f3beabd56c39: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke1_mut__h3d5054d97dd1e16f: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hd66e4530344786c5: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h11c2a23e40cbe3a9: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb625e58414b155b2: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h16695bdefd7a34c3: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke0_mut__hb86012114ef6f9eb: (a: number, b: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1cb9aa5a16ad638d: (a: number, b: number, c: number) => void;
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h72e9b35d2e2c5320: (a: number, b: number, c: number) => void;
readonly wasm_bindgen__convert__closures__invoke1_mut__hbfe7579966b4785e: (a: number, b: number, c: number) => void;
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
readonly __wbindgen_exn_store: (a: number) => void;
readonly __wbindgen_start: () => void;
Expand Down
Loading

0 comments on commit 3046528

Please sign in to comment.