alexrsworld 1.0.1 → 1.0.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.
Files changed (42) hide show
  1. package/Apps/codeeditor.html +163 -0
  2. package/Games/WAflash/vex.html +1 -1
  3. package/Games/emulated/GBA/mariokartsupercircuit.html +30 -0
  4. package/Games/emulated/GBA/mother.html +30 -0
  5. package/Games/emulated/GBA/mother3.html +30 -0
  6. package/Games/emulated/GBA/pacmanworld.html +30 -0
  7. package/Games/emulated/GBA/sonicadvance.html +30 -0
  8. package/Games/emulated/GBA/sonicadvance2.html +30 -0
  9. package/Games/emulated/GBA/sonicadvance3.html +30 -0
  10. package/Games/emulated/GBA/superstarsaga.html +30 -0
  11. package/Games/emulated/N64/majorasmask.html +31 -0
  12. package/Games/emulated/N64/ocarinaoftime.html +31 -0
  13. package/Games/emulated/SNES/linktothepast.html +31 -0
  14. package/Games/ruffle/bcubed.html +40 -0
  15. package/Games/ruffle/hobo.html +41 -0
  16. package/Games/ruffle/maxdirtbike.html +40 -0
  17. package/Games/ruffle/raftwars2.html +40 -0
  18. package/Games/ruffle/useboxmen.html +40 -0
  19. package/Games/ruffle/whackyourboss.html +40 -0
  20. package/Games/ruffle/whackyourex.html +40 -0
  21. package/Games/singlefile.html +2322 -54
  22. package/Games/standalone/amongus.html +1 -0
  23. package/Games/standalone/bendy.html +141 -0
  24. package/Games/standalone/chess.html +204 -0
  25. package/Games/standalone/gdremastered.html +247 -0
  26. package/Games/standalone/highwayracer3D.html +50 -0
  27. package/Games/standalone/omnomrun.html +45 -0
  28. package/Games/standalone/retrobowlcollege.html +0 -65
  29. package/Games/standalone/slope2player.html +76 -0
  30. package/Games/standalone/soniccd.html +229 -0
  31. package/Games/standalone/station141.html +25 -8
  32. package/Games/standalone/tanukisunset.html +19 -0
  33. package/Games/standalone/ultrakill.html +108 -0
  34. package/games.json +101 -1
  35. package/iframetrue.json +2622 -0
  36. package/index.html +107 -25
  37. package/package.json +1 -1
  38. package/singlefilegames.json +7 -0
  39. package/singleiframetrue.json +2581 -0
  40. package/start.html +25 -0
  41. package/test.html +132 -0
  42. package/port.html +0 -2372
package/index.html CHANGED
@@ -827,6 +827,49 @@ body.theme-red .game-modal > div:first-child { background: #3a0000 !important; c
827
827
  outline: 3px solid var(--ps-light-blue);
828
828
  }
829
829
 
830
+
831
+ /* ===== TV-ONLY FIX: DO NOT AFFECT DESKTOP ===== */
832
+
833
+ /* Samsung TV fails to render transformed flex rows */
834
+ body.tv-detected .carousel-container {
835
+ transform: none !important;
836
+ overflow: visible !important;
837
+ }
838
+
839
+ /* Ensure carousel area has height */
840
+ body.tv-detected .main-stage {
841
+ min-height: 220px;
842
+ }
843
+
844
+ /* Ensure cards are paintable */
845
+ body.tv-detected .card {
846
+ min-width: var(--card-size);
847
+ min-height: var(--card-size);
848
+ flex-shrink: 0;
849
+ visibility: visible;
850
+ }
851
+
852
+ /* Force images to paint on Tizen */
853
+ body.tv-detected .card img {
854
+ display: block;
855
+ width: 100%;
856
+ height: 100%;
857
+ }
858
+
859
+ /* Tizen does not support flex gap */
860
+ body.tv-detected .social-icons a {
861
+ margin-right: 14px;
862
+ }
863
+ body.tv-detected .social-icons a:last-child {
864
+ margin-right: 0;
865
+ }
866
+
867
+ /* Focus outline for TV */
868
+ body.tv-detected .card:focus {
869
+ outline: 5px solid var(--ps-light-blue);
870
+ outline-offset: 4px;
871
+ }
872
+
830
873
  </style>
831
874
  </head>
832
875
  <body>
@@ -970,7 +1013,7 @@ body.theme-red .game-modal > div:first-child { background: #3a0000 !important; c
970
1013
  </div>
971
1014
 
972
1015
  <p style="font-size:0.85rem; color:#aaa; margin-top:15px;">
973
- Sound effects include card hovers, selection, and a menu background track.
1016
+ Sound effects include card hovers, selection, and the PS4 Menu Music.
974
1017
  </p>
975
1018
 
976
1019
  <hr style="margin:20px 0; border-color:rgba(255,255,255,0.1);">
@@ -1002,9 +1045,7 @@ let draggedLibTitle = null;
1002
1045
  const gameSuggestionsDatalist = document.getElementById('game-suggestions');
1003
1046
  const subContent = document.querySelector('.sub-content');
1004
1047
 
1005
- // Play select sound when interacting with the library/favorites search input
1006
1048
  if (libSearchInput) {
1007
- // Use focus and Enter; avoid click to prevent double-trigger (focus + click) on some browsers
1008
1049
  libSearchInput.addEventListener('focus', () => playSound('select'));
1009
1050
  libSearchInput.addEventListener('keydown', (e) => {
1010
1051
  if (e.key === 'Enter') {
@@ -2250,33 +2291,38 @@ const response = await fetch('https://raw.githubusercontent.com/dskjfoisjfsjio/a
2250
2291
 
2251
2292
  loadCloak();
2252
2293
 
2253
- let lastWheelTime = 0;
2254
- const wheelCooldownMs = 120;
2255
- window.addEventListener('wheel', (e) => {
2256
- try {
2257
- if (isLibraryOpen || isOtherOpen) return;
2258
- if (document.querySelector('.game-modal')) return;
2294
+ let lastWheelTime = 0;
2295
+ const wheelCooldownMs = 120;
2259
2296
 
2260
- const now = Date.now();
2261
- if (now - lastWheelTime < wheelCooldownMs) return;
2297
+ window.addEventListener('wheel', (e) => {
2298
+ try {
2299
+ if (isLibraryOpen || isOtherOpen) return;
2300
+ if (document.querySelector('.game-modal')) return;
2262
2301
 
2263
- const delta = e.deltaY || e.wheelDelta || 0;
2264
- if (Math.abs(delta) < 5) return;
2302
+ const now = Date.now();
2303
+ if (now - lastWheelTime < wheelCooldownMs) return;
2265
2304
 
2266
- if (e.preventDefault) e.preventDefault();
2305
+ const delta = e.deltaY || e.wheelDelta || 0;
2306
+ if (Math.abs(delta) < 5) return;
2267
2307
 
2268
- if (delta > 0) {
2269
- updateSelection(Math.min(displayList.length - 1, selectedIndex + 1));
2270
- } else {a
2271
- updateSelection(Math.max(0, selectedIndex - 1));
2272
- }
2308
+ if (e.preventDefault) e.preventDefault();
2273
2309
 
2274
- playSound('hover');
2275
- lastWheelTime = now;
2276
- } catch (err) {
2277
- console.warn('Wheel navigation error:', err);
2278
- }
2279
- }, { passive: false });
2310
+ let nextIndex;
2311
+ if (delta > 0) {
2312
+ nextIndex = (selectedIndex >= displayList.length - 1) ? 0 : selectedIndex + 1;
2313
+ } else {
2314
+ nextIndex = (selectedIndex <= 0) ? displayList.length - 1 : selectedIndex - 1;
2315
+ }
2316
+
2317
+ updateSelection(nextIndex);
2318
+
2319
+ playSound('hover');
2320
+
2321
+ lastWheelTime = now;
2322
+ } catch (err) {
2323
+ console.warn('Wheel navigation error:', err);
2324
+ }
2325
+ }, { passive: false });
2280
2326
 
2281
2327
  (function(){
2282
2328
  let touchStartX = 0;
@@ -2365,6 +2411,42 @@ body.theme-red {
2365
2411
  outline: 3px solid var(--ps-light-blue);
2366
2412
  }
2367
2413
 
2414
+
2415
+
2416
+ body.tv-detected .carousel-container {
2417
+ transform: none !important;
2418
+ overflow: visible !important;
2419
+ }
2420
+
2421
+ body.tv-detected .main-stage {
2422
+ min-height: 220px;
2423
+ }
2424
+
2425
+ body.tv-detected .card {
2426
+ min-width: var(--card-size);
2427
+ min-height: var(--card-size);
2428
+ flex-shrink: 0;
2429
+ visibility: visible;
2430
+ }
2431
+
2432
+ body.tv-detected .card img {
2433
+ display: block;
2434
+ width: 100%;
2435
+ height: 100%;
2436
+ }
2437
+
2438
+ body.tv-detected .social-icons a {
2439
+ margin-right: 14px;
2440
+ }
2441
+ body.tv-detected .social-icons a:last-child {
2442
+ margin-right: 0;
2443
+ }
2444
+
2445
+ body.tv-detected .card:focus {
2446
+ outline: 5px solid var(--ps-light-blue);
2447
+ outline-offset: 4px;
2448
+ }
2449
+
2368
2450
  </style>
2369
2451
 
2370
2452
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alexrsworld",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Released! Will improve overtime.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2231,6 +2231,10 @@
2231
2231
  "category": "Arcade",
2232
2232
  "iframe": false
2233
2233
  },
2234
+
2235
+
2236
+
2237
+
2234
2238
  {
2235
2239
  "title": "Soundboard",
2236
2240
  "img": "https://raw.githubusercontent.com/dskjfoisjfsjio/dskjfoisjfsjio.github.io/main/assets/game%20images/soundboard.png",
@@ -2264,3 +2268,6 @@
2264
2268
  "iframe": false
2265
2269
  }
2266
2270
  ]
2271
+
2272
+
2273
+ // DONT USE THIS