jeromeetienne / threex

Game Extensions for three.js
http://www.threejsgames.com/extensions/
MIT License
334 stars 59 forks source link

Marbletablechange #46

Open jeromeetienne opened 10 years ago

jeromeetienne commented 10 years ago
jeromeetienne commented 10 years ago
jeromeetienne commented 10 years ago
jeromeetienne commented 10 years ago
jeromeetienne commented 10 years ago
jeromeetienne commented 10 years ago

There is a global GAME.

It contains .ball .table .player .gems .enemies

jeromeetienne commented 10 years ago

A microevent at global space, a yeller

KillPlayer becomes events in the yeller

SpawnPlayer become event in the yeller

What about event like ball.collide ?

jeromeetienne commented 10 years ago

PlayerControls

The controls of the ball by the keyboard