DaanWet / gamesense-client

A JavaScript GameSense(TM) Client
MIT License
27 stars 7 forks source link

Examples are out of date #19

Open BopItFreak opened 3 years ago

BopItFreak commented 3 years ago

Tried to run some of the examples, got gamesense.GameEventHandler is not a constructor

Turns out the GameEventHandler class doesn't exist. Are the examples out of date?

BopItFreak commented 3 years ago

@DaanWet

DaanWet commented 3 years ago

Yes examples are out of date, you should now use one of the following event handlers:

I will try to update the examples in the near future, for now look ath my other repo for an up to date (altough not well documented) example

mathbles703 commented 2 years ago

@DaanWet I cannot seem to get the examples to run even with the new event handlers. I see the events in my console but my keyboard does nothing. Any suggestions?