Jump to content

  • Log In with Google      Sign In   
  • Create Account

skullfire

Member Since 22 Jun 2003
Offline Last Active Oct 11 2014 10:13 AM

Posts I've Made

In Topic: GDnet Birthday Thread

15 June 2013 - 11:42 AM

Great job Gaiiden. I've been along for about 10 years now, such an awesome community. I still remember an april fools where this site was changed to a dolphin sex site lOL


In Topic: Drawing 2d humac char in 3d

08 March 2013 - 01:41 PM

I hope this helps!

http://www.lighthouse3d.com/opengl/billboarding/


In Topic: Drawing 2d humac char in 3d

07 March 2013 - 02:22 PM

Hi Nick,

 

What you are looking for is something called "Billboards". If the 3D camera moves, the sprites will always face the camera, always displaying the image. Games like Ragnarok Online do this. Normally what you do is just draw a quad and transform it so it's always facing the camera. 
I'd link a tutorial but it really depends on what technology you are using for the iPhone app. Is it cocos3d? Unity? OpenGL?

 ragnarok-online-6.jpg

Try looking for


In Topic: Design patterns and game development

02 March 2013 - 04:16 PM

Hi Puyover,

 

In my opinion, componentization has been a very good architecture design decision for games as it provides a lot of reusability as well as elegance. In games, try to prefer components over inheritance. I'll leave this references here:

 

http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/

http://www.richardlord.net/blog/what-is-an-entity-framework

http://www.richardlord.net/blog/why-use-an-entity-framework

 

Hope this helps!


In Topic: Some game architect problem

28 February 2013 - 08:19 AM

Hi lucky,

 

I know what you asked has probably already been answered, but looking at your design based on inheritance, I feel there's a need to at least tell you about architectural decisions in a game engine. As your game grows and you need to keep on adding functions and different classes over the inheritance system, things start to mess up. You need to copy some code from one class to another that does not directly correlate via inheritance.

 

Some bibliography:

http://cmpmedia.vo.llnwd.net/o1/vault/gdccanada09/slides/marcinchadyGDCCanada.ppt

http://www.learn-cocos2d.com/2010/06/prefer-composition-inheritance/

http://gamearchitect.net/2008/06/01/an-anatomy-of-despair-aggregation-over-inheritance/

 

Hope this sheds some light if not for this, for future projects.

Andy


PARTNERS