kittykatattack / ga

The world's tiniest, cutest and funnest game engine
451 stars 85 forks source link

Make any entity clickable #63

Open cawoodm opened 6 years ago

cawoodm commented 6 years ago

It seems only buttons can respond to a "press" event and only sprites can be buttons. That's quite limiting. Am I missing something or can we make more entities (e.g. rectangles) respond to mouse events?