NOTE: I ended up switching to asyncScheduler instead of animationFrameScheduler. I still don't actually know why yet, but when I tried using animationFrameScheduler somewhere else unrelated in the app, it somehow prevented my existing stream with animationFrameScheduler to stop emitting, asyncScheduler didn't have this problem.
My team and I are transitioning our state management from NgRx to Signal Store. Could you create a video explaining the best practices for making this change? Additionally, are there any guidelines we should follow, especially for managing larger state objects?
I have written Phaser inside Angular before but found Angular wasn’t much necessary. What parts of angular did you use inside phaser? I am assuming it is the Auth and routing with the phaser rendered in its own route?
The UI is my main motivator for using Angular (the UI is overlaid on top of the game canvas), but I also like being able to use services for data management, and schematics like the web worker generator
Before I watch this: Can you control whether or not youtube translates your videos titles for viewers from other countries? if yes, can you turn it off? I'm german and this title was translated with "rxjs-Beobachtung"... which is just bad. I wish youtube would offer a setting for this for viewers. It's so dumb... my dashboard is flooded with horribly translated titles.
Not as far as I can tell, I've looked through the channel settings and can't see any options for disabling title translations (I got similar comments about the translations being bad on the last video). I've seen that some people are using an extension to disable it, but aside from straight up changing your language settings it doesn't seem there is any way to stop it through settings.
@@JoshuaMorony Alright thanks for trying :) I'll look for a plugin. UA-cam really needs to recognize there are people that are fluent in multiple languages. Must be a weird concept for some folk in silicon valley :D
I'm not (and wasn't before) using a worker thread for the item generation, as this needs direct DOM access. I am using a worker thread for the generation of the tile layout (the ground essentially). Both of these things are triggered on a "chunk change".
My team and I are transitioning our state management from NgRx to Signal Store. Could you create a video explaining the best practices for making this change? Additionally, are there any guidelines we should follow, especially for managing larger state objects?
NOTE: I ended up switching to asyncScheduler instead of animationFrameScheduler. I still don't actually know why yet, but when I tried using animationFrameScheduler somewhere else unrelated in the app, it somehow prevented my existing stream with animationFrameScheduler to stop emitting, asyncScheduler didn't have this problem.
I don't understand why you dont not simply use requestAnimationFrame here?
Neat.I use observeOn to make sync code async for consistency or to delay code execution by changing the context scheduler
I love watching your vids man... so knowledgeable
Neat trick, well done!
My team and I are transitioning our state management from NgRx to Signal Store.
Could you create a video explaining the best practices for making this change?
Additionally, are there any guidelines we should follow,
especially for managing larger state objects?
Do you have any course/content about this game development with Angular?
Literally says it as 0:24 😅
(Regarding your first question)
@@rnd_equilibrium edited. haha. thanks
I have written Phaser inside Angular before but found Angular wasn’t much necessary. What parts of angular did you use inside phaser? I am assuming it is the Auth and routing with the phaser rendered in its own route?
The UI is my main motivator for using Angular (the UI is overlaid on top of the game canvas), but I also like being able to use services for data management, and schematics like the web worker generator
Before I watch this: Can you control whether or not youtube translates your videos titles for viewers from other countries? if yes, can you turn it off? I'm german and this title was translated with "rxjs-Beobachtung"... which is just bad. I wish youtube would offer a setting for this for viewers. It's so dumb... my dashboard is flooded with horribly translated titles.
Not as far as I can tell, I've looked through the channel settings and can't see any options for disabling title translations (I got similar comments about the translations being bad on the last video). I've seen that some people are using an extension to disable it, but aside from straight up changing your language settings it doesn't seem there is any way to stop it through settings.
@@JoshuaMorony hahaha for me is rxjs observes, is so damn weird for a second I didn't even know what the video was about
@@JoshuaMorony this is for me "rxjs observa" like someone is stalking you
@@JoshuaMorony Alright thanks for trying :) I'll look for a plugin. UA-cam really needs to recognize there are people that are fluent in multiple languages. Must be a weird concept for some folk in silicon valley :D
Here in PT-BR "observação rxjs" hahaha
Is this game you are working on open source?
It isn't, but if there is anything specific you'd like to know I'm happy to talk about it
@@JoshuaMorony I'd buy the course, if you were to make one, for this game development with angular/phaser. Cool stuff Joshua.
@@JoshuaMorony Nothing specific, just thought it was going to be great learning resource. Keep up good work!
Does using observeOn here mean you are not using a worker thread anymore ?
I'm not (and wasn't before) using a worker thread for the item generation, as this needs direct DOM access. I am using a worker thread for the generation of the tile layout (the ground essentially). Both of these things are triggered on a "chunk change".
i like debounceTime hehe
My team and I are transitioning our state management from NgRx to Signal Store.
Could you create a video explaining the best practices for making this change?
Additionally, are there any guidelines we should follow,
especially for managing larger state objects?