Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 04 17:04
    elisee closed #19
  • Mar 04 17:04
    elisee commented #19
  • Mar 04 17:04
    elisee closed #18
  • Mar 04 14:04
    MuskettDev opened #19
  • Mar 04 13:59
    MuskettDev opened #18
  • Mar 01 20:40
  • Mar 01 20:40
    Travis superpowers/superpowers-game@857ba57 (dependabot/npm_and_yarn/SupEngine/three-0.125.0) failed (355)
  • Mar 01 20:16
    dependabot[bot] labeled #194
  • Mar 01 20:16
    dependabot[bot] opened #194
  • Mar 01 20:16

    dependabot[bot] on npm_and_yarn

    build(deps): bump three from 0.… (compare)

  • Mar 01 20:16

    dependabot[bot] on npm_and_yarn

    build(deps): bump three from 0.… (compare)

  • Mar 01 20:16
    dependabot[bot] labeled #16
  • Mar 01 20:16
    dependabot[bot] opened #16
  • Jan 28 22:29
    Travis superpowers/superpowers-app@3ade581 (dependabot/npm_and_yarn/electron-9.4.0) passed (320)
  • Jan 28 19:43
    dependabot[bot] commented #174
  • Jan 28 19:25

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jan 28 19:25
    dependabot[bot] closed #73
  • Jan 28 19:25
    dependabot[bot] commented #73
  • Jan 28 19:25
    dependabot[bot] labeled #77
  • Jan 28 19:25
    dependabot[bot] opened #77
Vianney Petit
@Ikalou
But even then, superpowers uses some features of web audio not supported by safari
Mathieu Triay
@MathieuLoutre
Hum it probably needs an HTML audio fallback
Vianney Petit
@Ikalou
I've added 0001-Fix-webaudio-detection-on-old-Safari.patch to the gist
As long as you don't need panning at least it'll fix playback on safari
Mathieu Triay
@MathieuLoutre
That's perfect!
You're a lifesaver
Vianney Petit
@Ikalou
And that's what I use to deal with iOS's annoying restrictions:
(function() { // Workaround for iOS function unmuteWebAudio() { Sup.log("unmuteWebAudio() called"); PlayMusicBehavior.playEmpty(); window.removeEventListener("touchend", unmuteWebAudio); } window.addEventListener("touchend", unmuteWebAudio, false); })();
Mathieu Triay
@MathieuLoutre
Yep I think that's quite common
Vianney Petit
@Ikalou
// Workaround for iOS public static playEmpty() { if (this.musicPlayer === null) { return; } const context = (this.musicPlayer["__inner"]["audioCtx"] as AudioContext); const buffer = context.createBuffer(1, 1, 22050); const source = context.createBufferSource(); source.buffer = buffer; source.connect(context.destination); source.start(0); }
Mathieu Triay
@MathieuLoutre
Ah that's neat actually. Better than playing an empty MP3 or something.
Well you've just turned an afternoon of hell into a pretty interesting evening
Vianney Petit
@Ikalou
I'm glad my hack... I mean my patch folder was useful for something
Mathieu Triay
@MathieuLoutre
:)
Mathieu Triay
@MathieuLoutre
I think I got it!
At the moment it's pretty bad
since I need to comment out some stuff just to get the slimmed down build
but it's working
Vianney Petit
@Ikalou
Good to know. How much MB do you think it'll go down to?
Mathieu Triay
@MathieuLoutre
Well the runtime for the typescript plugin is now 10kb!
from 3.5mo
and if the typescriptAPI.js are never included
then that plugin is light as hell now!
Vianney Petit
@Ikalou
Someone's having a heart attack right now looking at all these workarounds
Mathieu Triay
@MathieuLoutre
haha probably it's really not clean
It's last resort type of thing
Aaron
@apalm1341
anyone good with gimp here?
Ali Al-Khalifa
@alimalkhalifa
Does Sup.Actor.getBehavior(T) work for mixin classes?
got a class implementing onClick, onHover, etc
however, it fails when running Sup.Actor.getBehavior(OnClickBehavior).onClick(), as the clicked item's behavior doesn't inherit from OnClickBehavior, but rather inherits from it
Ali Al-Khalifa
@alimalkhalifa
nvm i just passed the function as a callback
Mathieu Triay
@MathieuLoutre
Anyone configured CORS with superpowers to load textures from a different server? superpowers/superpowers-game#170
Aaron
@apalm1341
Hey all
Any of u have links u can share for me being able to get discounts/free coding stuff as a student or jut in general even if u r not a student?
Epowerj
@Epowerj
try the github student pack if you haven't already
Ali Al-Khalifa
@alimalkhalifa
Hi, is there any progress on Superpowers? We miss having updates =D
Paul
@Pangoraw
Hi everyone, I just released a latex plugin for Superpowers web. Check it out !
Punita Ojha
@punitaojha
This message was deleted
XeFoxxy
@XeFoxxy
@Pangoraw Excelent plugin
Mikael Brassman
@spoike
Is there anyway to set the TypeScript compiler to use ES6 features (HashMap, Array.findIndex are two that I tried to use but had errors)? Tried to find a tsconfig file but with no avail.
I meant WeakMap, not HashMap. :-P
Renato Marinho
@renatomarinho
This message was deleted
Renato Marinho
@renatomarinho
This message was deleted
bug
@bugQ_gitlab
wow what an awful idea. thanks spambot
AbrisM
@AbrisM
Hello
I keep seeing a Renato Marinho across several different chatrooms, weird
Anyone does SuperPowers just utilize HTML5/Javascript or does it also support JAVA and Ruby On Rails?
bug
@bugQ_gitlab
@AbrisM only Javascript/Typescipt. it is theoretically possible to support other languages via transpilers but there is no built-in support for anything else.
BrsDreamer
@BrsDreamer
hey guys anyone around? have question about electron packaging