dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] 1 class per stage?

  1. #1
    Member
    Join Date
    Sep 2009
    Posts
    88

    resolved [RESOLVED] 1 class per stage?

    In a game with many different stages that each display a unique playscreen do you make a class for each stage or what is the right approach?

  2. #2
    Member
    Join Date
    Sep 2009
    Posts
    88
    Still hoping to get someone's experienced opinion o.o

  3. #3
    Senior Member
    Join Date
    Oct 2009
    Posts
    118
    You can do that.
    Or, you can create a general game engine and loads in level data. It creates the level using that data. The data could be a class, or it could be XML or array data.. there's no one right way.
    There are many ways this can be done. You just have to find a way that you're comfortable with depending on your needs and level of experience.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center