Where communities thrive


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

    dependabot[bot] on npm_and_yarn

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

  • Mar 01 2021 20:16

    dependabot[bot] on npm_and_yarn

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

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

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jan 28 2021 19:25
    dependabot[bot] closed #73
  • Jan 28 2021 19:25
    dependabot[bot] commented #73
  • Jan 28 2021 19:25
    dependabot[bot] labeled #77
  • Jan 28 2021 19:25
    dependabot[bot] opened #77
Mathieu Triay
@MathieuLoutre
At the moment I'm not looking for a clean solution but rather any solution
haha
Vianney Petit
@Ikalou
Honestly, for plugins, I just took kinda just took a dump of the data structure out of the compleTypescript function
Mathieu Triay
@MathieuLoutre
AH
Why didn't I think about this?
That's great
Vianney Petit
@Ikalou
I'll just share that other patch to you. Kinda ashamed of how ugly it is but ho well
Maybe it can save you a couple minutes
Mathieu Triay
@MathieuLoutre
haha if you looked at the state of my version of Superpowers you'd be scared I think
You'll get a mention in the credits of the game if it comes out in time! haha
Vianney Petit
@Ikalou
Basically what I said... add I added a URL parameter ?dump=1 to make it dump the data structure ^^'
Mathieu Triay
@MathieuLoutre
haha
Well for a hack the patch is quite readable
It's great
I think you just saved me a sleepless night or two
If that works out it shouldn't be too complex to build that in the production build process
Vianney Petit
@Ikalou
You don't actually need defs or code if you use my other patch as well
compGlobalCache.js is the script I have in my build pipeline that runs on the previous dump
But yeah, if you build a cleaner solution and/or manage to slim down the typescript plugin, please let me know
Mathieu Triay
@MathieuLoutre
For sure!
So with your compGlobalCache.js you can skip linking the runtime/component?
(not 100% sure I followed that sorry!)
Vianney Petit
@Ikalou
Not at all, that only allow you to get rid of the typescriptAPI.ts
Mathieu Triay
@MathieuLoutre
oh right!
Yes I think I get the code now
sorry
Vianney Petit
@Ikalou
The best you can do is to find a way to slim down the typescript plugin
Mathieu Triay
@MathieuLoutre
Yep that's what I'm after
I think if I can do that
the rest is acceptable as a payload
Vianney Petit
@Ikalou
Provided that there's no more compiling that should be possible
Mathieu Triay
@MathieuLoutre
Yes, good point. I think that is it though so I'm hopeful
Also I've tweaked the plugins.json so that it only includes the plugins I actually use
so I can further reduce the payload here
(I'm a web dev at heart so I'm all about that payload haha)
Vianney Petit
@Ikalou
Yeah, I've done that too
Mine looks like this:
"common/three",
"default/arcadePhysics2D",
"default/cubicModel",
"default/font",
"default/gameSettings",
"default/light",
"default/model",
"default/scene",
"default/shader",
"default/sound",
"default/sprite",
"default/tileMap",
"default/typescript",
"extra/eventEmitter",
"extra/p2js",
"extra/tweenjs",
"florentpoujol/dom",
"florentpoujol/fmouseinput",
"florentpoujol/threejs"
Mathieu Triay
@MathieuLoutre
I've removed "default/cubicModel"
and "common/three" (it's empty for me)
otherwise pretty much the same
"extra/p2js" is gone because I only use the basic arcadePhysics
Thanks for sharing!
Vianney Petit
@Ikalou
Btw, unrelated but, don't you have sound issues on safari iOS?
Mathieu Triay
@MathieuLoutre
I do...
Not sure what it is
Haven't looked into it just now
Vianney Petit
@Ikalou
I think I know
I have a patch for that too