@wasm-gaming/blastem-wasm 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blastem/app/app.css
CHANGED
|
@@ -89,7 +89,23 @@
|
|
|
89
89
|
.item.is-danger.is-focused small { color: #450a0a; }
|
|
90
90
|
.bem-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
91
91
|
.bem-panel .row .item { text-align: center; }
|
|
92
|
-
|
|
92
|
+
/* A dialog sits on its own layer, above anything the screen under it positions (the
|
|
93
|
+
character art on the slot cards is z-index 1), on a backdrop that hides that screen. */
|
|
94
|
+
.bem-layer {
|
|
95
|
+
position: absolute; inset: 0; z-index: 10; display: grid; place-items: center;
|
|
96
|
+
background: rgb(4 6 12 / 0.78);
|
|
97
|
+
backdrop-filter: blur(10px) saturate(0.8);
|
|
98
|
+
-webkit-backdrop-filter: blur(10px) saturate(0.8);
|
|
99
|
+
}
|
|
100
|
+
.bem-layer h2 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.2; }
|
|
101
|
+
.bem-layer .bem-panel {
|
|
102
|
+
width: min(500px, 92vw);
|
|
103
|
+
background:
|
|
104
|
+
radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
|
|
105
|
+
#151821;
|
|
106
|
+
border-color: rgb(255 255 255 / 0.14);
|
|
107
|
+
box-shadow: 0 40px 120px -20px #000, 0 0 0 1px rgb(0 0 0 / 0.4);
|
|
108
|
+
}
|
|
93
109
|
|
|
94
110
|
.bem-hints { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
|
|
95
111
|
.bem-hints span { display: inline-flex; align-items: center; gap: 7px; }
|
|
@@ -123,7 +123,7 @@ export declare class BlastemPlay extends EnginePlayBase<BlastemPayloads> {
|
|
|
123
123
|
export declare class BlastemSDK extends EngineSDKBase<BlastemPayloads> {
|
|
124
124
|
static readonly id = "blastem";
|
|
125
125
|
/** Kept in step with package.json by `node scripts/sync-version.mjs`. */
|
|
126
|
-
static readonly version = "0.1.
|
|
126
|
+
static readonly version = "0.1.2";
|
|
127
127
|
static readonly name = "BlastEm";
|
|
128
128
|
static readonly description = "BlastEm, the Sega Mega Drive / Genesis emulator by Michael Pavone, compiled to WebAssembly. Ships no games: the player provides the ROM, and it never leaves their browser.";
|
|
129
129
|
protected createPlay(init: EngineInit<BlastemPayloads>, events: EventEmitter<EventsOf<BlastemPayloads>>): BlastemPlay;
|
|
@@ -588,7 +588,7 @@ export class BlastemPlay extends EnginePlayBase {
|
|
|
588
588
|
export class BlastemSDK extends EngineSDKBase {
|
|
589
589
|
static id = ENGINE_ID;
|
|
590
590
|
/** Kept in step with package.json by `node scripts/sync-version.mjs`. */
|
|
591
|
-
static version = '0.1.
|
|
591
|
+
static version = '0.1.2';
|
|
592
592
|
static name = 'BlastEm';
|
|
593
593
|
static description = 'BlastEm, the Sega Mega Drive / Genesis emulator by Michael Pavone, compiled to WebAssembly. Ships no games: the player provides the ROM, and it never leaves their browser.';
|
|
594
594
|
createPlay(init, events) {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wasm-gaming/blastem-wasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "BlastEm (Sega Mega Drive / Genesis emulator) compiled to WebAssembly, with a self-contained JS SDK implementing the wasm-gaming engine contract.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/blastem/blastem.sdk.js",
|
package/src/app/app.css
CHANGED
|
@@ -89,7 +89,23 @@
|
|
|
89
89
|
.item.is-danger.is-focused small { color: #450a0a; }
|
|
90
90
|
.bem-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
91
91
|
.bem-panel .row .item { text-align: center; }
|
|
92
|
-
|
|
92
|
+
/* A dialog sits on its own layer, above anything the screen under it positions (the
|
|
93
|
+
character art on the slot cards is z-index 1), on a backdrop that hides that screen. */
|
|
94
|
+
.bem-layer {
|
|
95
|
+
position: absolute; inset: 0; z-index: 10; display: grid; place-items: center;
|
|
96
|
+
background: rgb(4 6 12 / 0.78);
|
|
97
|
+
backdrop-filter: blur(10px) saturate(0.8);
|
|
98
|
+
-webkit-backdrop-filter: blur(10px) saturate(0.8);
|
|
99
|
+
}
|
|
100
|
+
.bem-layer h2 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.2; }
|
|
101
|
+
.bem-layer .bem-panel {
|
|
102
|
+
width: min(500px, 92vw);
|
|
103
|
+
background:
|
|
104
|
+
radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
|
|
105
|
+
#151821;
|
|
106
|
+
border-color: rgb(255 255 255 / 0.14);
|
|
107
|
+
box-shadow: 0 40px 120px -20px #000, 0 0 0 1px rgb(0 0 0 / 0.4);
|
|
108
|
+
}
|
|
93
109
|
|
|
94
110
|
.bem-hints { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
|
|
95
111
|
.bem-hints span { display: inline-flex; align-items: center; gap: 7px; }
|
package/src/blastem.sdk.ts
CHANGED
|
@@ -666,7 +666,7 @@ export class BlastemPlay extends EnginePlayBase<BlastemPayloads> {
|
|
|
666
666
|
export class BlastemSDK extends EngineSDKBase<BlastemPayloads> {
|
|
667
667
|
static readonly id = ENGINE_ID;
|
|
668
668
|
/** Kept in step with package.json by `node scripts/sync-version.mjs`. */
|
|
669
|
-
static readonly version = '0.1.
|
|
669
|
+
static readonly version = '0.1.2';
|
|
670
670
|
static readonly name = 'BlastEm';
|
|
671
671
|
static readonly description =
|
|
672
672
|
'BlastEm, the Sega Mega Drive / Genesis emulator by Michael Pavone, compiled to WebAssembly. Ships no games: the player provides the ROM, and it never leaves their browser.';
|