Jump to content

  • Log In with Google      Sign In   
  • Create Account


How/Who create the GameObjects?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
41 replies to this topic

#41 willpowered   Members   -  Reputation: 491

Like
0Likes
Like

Posted 16 November 2012 - 09:31 AM

HEY GUYS

Remember when this thread was about "How/Who create the GameObjects?"

Right now, I just make the GameObjects myself, and use something like World::add(GameObject obj) to add it to the game world. I don't use any factories or anything, because my GameObjects have various types of subclasses depending on the game. For instance, a puzzle game has a BoardPiece, a space shooter has a Ship, a sidescroller has BouncySpring, etc. where all these would be subclasses of the class GameObject as defined by my framework.

Sponsor:

#42 Khatharr   Crossbones+   -  Reputation: 2908

Like
0Likes
Like

Posted 16 November 2012 - 04:17 PM

If there are no objections maybe we could just close this?
void hurrrrrrrr() {__asm sub [ebp+4],5;}

There are ten kinds of people in this world: those who understand binary and those who don't.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS