Faey
Explore posts from serversTTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I see! I can't wait for it
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
In any case, I am very grateful for all the information and context you and vauxs have provided, I'm sorry to have basically turned this 0.2.0-next thread into a library Q/A haha
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
but since I only care about a predefined list of actor documents, if I could wrap them in TJSDocument, that would save me a lot of headache
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I am currently doing actor reactivity by listening to the updateActor hook, which thankfully fires on /stream
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
it uses the (barely supported) /stream page
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
one functionality is having a reactive overlay to display actor values on stream
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I should actually look into TJSDocument for obs-utils
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
My other large module, ethereal-plane, has Foundry-to-(Twitch/Youtube) bridging, which is only really interesting on the GM client, so there again, I am only loading the UI components on the GM client, to make the module less impactful on player clients that can't utilize its functionality anyway
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I think I should also give some context why I am so concerned about bundle size and lazy loading. One of my modules, obs-utils, is intended for use in a "GM Client" + "OBS Spectator Client" setup, so I'd rather avoid loading any code that the user does not absolutely need in that OBS Browsersource
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I am thrilled to finally have a module usecase where those 75kb of position code do more than put the window somewhere ;D
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
Do you have example code somewhere for how to integrate TJSPosition into a custom component?
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
As my module is intended to provide a "Splash Scene" kind of experience, I can't just not render anything for weak machines, so an HTML-only renderer for the overlay I am developing is a must
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
Rendering a second canvas does not work well on lower-power computers, so I need to provide an alternative, non-pixi renderer for the module as well, so position would come in handy for tweening in that usecase
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
That's still handy
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I am using TJS in a new project of mine so I can cleanily instantiate a second canvas for some overlay effects and destroy it wholesale with the svelte component it lives in, and I'd definitely not mind if anything TJS has on board would save me the time of having to write a tweening/animation system myself, or import another one into my growing bundle
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
If its a full position tweening system, is it limited to be used only on DOM or Svelte, or could I use Position to tween pixi.js objects as well?
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
Ah I do have a question about Position, as it came up in the size discussion. I assume it is used internally for the SvelteApplication stuff, which is why it auto-imports?
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
Yeah, I'm well aware that JSDoc types sometimes resolve differently from how tsc would resolve them
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
I am happy to just report any typing issues I see in 0.2.0
104 replies
TTyphonJS
•Created by TyphonJS (Michael) on 10/3/2024 in #typhonjs-runtime
Discussion: TRL 0.2.0-next.1 Pre-release
Which is why the class type assignment fails if the constructor options are a record
104 replies