Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 18 10:35
    tvortsa opened #17
  • Aug 12 15:54

    bilou84 on master

    (compare)

  • Aug 12 13:51

    bilou84 on master

    Fix onEntriesReceived being cal… (compare)

  • Jul 26 12:23
    LeandroStanger opened #70
  • Jul 12 11:52

    bilou84 on master

    Fix typescript errors not faili… (compare)

  • Jun 03 15:03

    bilou84 on master

    Bump three to v0.88 to get the … (compare)

  • May 22 18:50

    bilou84 on master

    Add controls (Page Up/Down) to … (compare)

  • Apr 24 15:19

    bilou84 on master

    Improve search asset popup by i… (compare)

  • Apr 19 00:15
    waxapi opened #167
  • Apr 12 09:06
    mikeroyal opened #69
  • Mar 18 15:11

    elisee on master

    Remove any slash at the end of … (compare)

  • Mar 18 14:48

    elisee on v4.0.0

    (compare)

  • Mar 18 14:48

    elisee on gh-pages

    Update for Superpowers v6.0 rel… (compare)

  • Mar 18 14:47

    elisee on master

    Update to use Pug and for Super… (compare)

  • Mar 18 14:46

    elisee on master

    .travis.yml: Update encrypted O… Update for latest changes in Su… (compare)

  • Mar 18 14:38

    elisee on v4.0.0

    (compare)

  • Mar 18 14:06

    elisee on deps-update

    (compare)

  • Mar 18 14:05

    elisee on v6.0.0

    (compare)

  • Mar 18 14:05

    elisee on v6.0.0

    (compare)

  • Mar 18 14:05

    elisee on master

    Fix favorite server passwords n… Add TODO about dropdownbox for … Fix special cases with hostname… (compare)

Vianney Petit
@Ikalou
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
Iman Hosseini
@ImanHosseini
Hi lads.
Can anyone help me with a simple Electron (actually it's just html/css issue I guess) question? I want my whole window to be a "canvas" object, so the windows is 800 x 1200 but when I set the canvas size to 800x1200 it overflows.
so some of it is menubars right? But I removed menubars too. And my windows is not resizable, so I believe there should be a "clean" way of setting the canvas to be the size of the whole windows
LemonAndroid
@LemonAndroid
 When you want to show someone something cool And they ask "What's cool about it?" Don"t try to e x p l a i n Try to ask them what other things they could find cool that you could show them It"s annoying to explain why things are cool over and over again And why is that annoying? Because it"s annoying to understand what"s cool about something Hence: How will it be cool for the person you are showing it to when they are trying to understand it and the understanding part is already uncool for you?