I want to "Instantiate" a custom type to the scene. I made it inherit from GameObject by doing so:
Block.prototype = new GameObject();
So,
-will this work, will it inherit from GameObject?
-And how can I "Instantiate" it?
Any help is appreciated, thanks.