Making a game from scratch

This is a discussion on Making a game from scratch within the Game Programming forums, part of the General Programming Boards category; Originally Posted by mramazing What attributes or benefits should the musician class/job have? Let me see... A musician class should ...

  1. #16
    Programming Ninja In-T...
    Join Date
    May 2009
    Posts
    827
    Quote Originally Posted by mramazing View Post
    What attributes or benefits should the musician class/job have?
    Let me see...
    A musician class should have functions which any musician will have, such as:

    getInstrument() to get the type of instrument the musician is current playing.
    setInstrument() to set the musician's instrument to a particular instrument, such as a guitar.
    sing() to get the musician to sing lyrics (probably specified in a string parameter), and probably synchronised with the music he's playing (don't know how you would implement this, it would probably take a lot of work).

    Since there are different types of musicians (e.g. guitarists, bass players, drummers, etc.), you should probably make the musician class generic enough to derive specific musician classes off of. Also, since every musician is a person with his/her's own personality, you could probably derive the musician class off a person class which provides functions for the person talking, walking, etc..

  2. #17
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,584
    This thread is over 3 months old. Please do not bump old threads. Closed.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-21-2006, 11:23 PM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-25-2006, 11:14 PM
  4. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  5. Lets Play Money Making Game
    By ggs in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-04-2001, 08:36 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21