Ghorthalon / audiogame-tools

Tools for providing audio game-like experiences in the web browser
MIT License
9 stars 4 forks source link

eventemitter3 not defined. #2

Open purvasingh96 opened 2 years ago

purvasingh96 commented 2 years ago

After cloning the repository locally, I faced build errors in audiogame-tools > engine > resonator > data-pool.ts file line 2. Module eventemitter3 is not defined in the project which is throwing error. Line which throws error: import EventEmitter from 'eventemitter3';

Ghorthalon commented 2 years ago

Ah yes. This is because I wanted to switch out eventemitter3 with the event-bus in the package already. It seems I forgot. I'll fix that.

TheQuinbox commented 2 years ago

This was fixed in #3.

Ghorthalon commented 2 years ago

It was, but I'm going to push a fix soon which swaps out the eventemitter3 package with engine/event-bus. That was the original idea. Sorry it's taking so long...

I also really want to finish up making the examples easier to use. The reason I didn't include them yet was because there was a lot of manual setup involved, and I wanted to make a game that shows off how to use these packages instead. But since this is taking longer than expected, I'm just going to see if I can include little demos for each specific module at first.

There's also quite a lot of stuff that isn't implemented yet. So there's still a lot of work to be done. If there's actual interest, I can go through and create GitHub issues for all of my ideas and assign labels based on how important/how soon I want those things to happen. Maybe that or I'll just open a topic in the conversation view. I do have a specific vision for this though so most of what I want to do is already in my head.

TheQuinbox commented 2 years ago

I definitely think a milestone and/or project goals and their priorities would be good to see. I think this library has a lot of possibilities :)