Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: a few questions  (Read 775 times)

0 Members and 1 Guest are viewing this topic.
a few questions
« on: August 02, 2006, 10:24:18 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 2245
1. should the duration of the frame be left up to the object that's using it, or the sprite itself
2. whats the best way to handle melee weapons, should the be considered separate or not
Logged

aab

^ Evolved from a Hobbit
Re: a few questions
« Reply #1 on: August 02, 2006, 10:32:38 am »
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 992
Are these C++ questions (*looks at icon*)?

I say make object components seperate in order to be flexible, (though not too seperate- As long as its still efficient).
For example, you could have a sprite, a timing/frame value object, and then have another object which encapsulates both of them together, in interaction.

What do you mean about Melee weapons? Seperate from the main sprite? (Yes) Seperate objects from other types of objects? (Yes and no: Polymorphism).


Logged




I ♥ Sol
.... I ♥ Sol ? wtf how long has that been there? >_> *rrrrrrrrar*
  • MySpace
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.276 seconds with 42 queries.

anything