dcsimg
A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Preparing for a Pro....

  1. #1
    Member
    Join Date
    Jun 2009
    Posts
    30

    Arrow Preparing for a Pro....

    hy

    i am currently working on a project but i am not too sure on using functions or classes...the project is going to be given to a ActionScript Profressional who will put the finshing touches on it and also make it so that players could upgrade to become members...therefore would it be ideal to use classes or functions also the project is intended for single player only not a MMO...if you want more details please dont hesitate to ask.

    thank you

  2. #2
    Senior Member fil_razorback's Avatar
    Join Date
    Jul 2005
    Location
    Paris, France
    Posts
    607
    You message is a bit vague but I think that no matter what your project is, if you're going to hand the code over to someone else, then the most important thing is to use some techniques you're familiar with. This will let you write some clean code because it will be easy for you to imagine the structure of your program right from the beginning.
    If you're familiar with both traditional and OOP programming, then I can't help you =)

  3. #3
    Member
    Join Date
    Jun 2009
    Posts
    30
    sorry about the message...basically im gonna hand the project to someone else but how should i prepare it for a freelancer for example...should i code it using the old skool procederal way i.e using functions or the OOP way i.e classes...also are classes more flexible and would be benefical to the other person in terms of adding new features?

  4. #4
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766
    well, it depends on the person you are handing to, but in general, OOP is a lot better to work with, as it is flexible, and easy to understand and modify! Just don't forget to include a design doc along with your project files, so that he knows what you want the finished product to be like!
    If you like me, add me to your friends list .

    PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!

    My Arcade My Blog

    Add me on twitter:

  5. #5
    Member
    Join Date
    Jun 2009
    Posts
    30
    thanks...but are there any good OOP tutorials you can recommend to me because ive never used OOP but i am keen to learn...how do i know if i am using OOP instead of standard procedral coding?....just out of curiosity bluemagica, are u using OOP for your MMO Project?

  6. #6
    Senior Member bluemagica's Avatar
    Join Date
    Jun 2008
    Posts
    766
    yeh, well kindof, cause some codes are easier left on the timeline! But that's my own way!

    Every programmer has his own way of coding, and frankly speaking, the application of OOP itself varies from programmer to programmer! But the basic is simple, associate your code with real world "objects", and think how it should play out in the real world! What I really suggest is, you get rid of the FlashIDE and start using something like FlashDevelop, without the timeline and the visual stage, you will soon see your coding style changing towards OOP!
    If you like me, add me to your friends list .

    PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!

    My Arcade My Blog

    Add me on twitter:

  7. #7
    President PhobiK's Avatar
    Join Date
    Jan 2005
    Location
    Guatemala
    Posts
    918
    Don't know which one is better as I don't use classes but the advice I can tell you is to use a lot of comments :P That will make the other developer's life easier.
    This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.

    This is my Blog!... The gaming Process
    Please check out my site: Giddel Creations

  8. #8
    Flash Intermediate XenElement's Avatar
    Join Date
    Sep 2008
    Location
    At my computer
    Posts
    196
    If I understand correctly, you are having a AS pro add a membership thing to your program. If so, he will probably be blocking certain features to "Non Members" correct?

    The easiest way for him to do this would to not allow the program to call certain classes for a non Member.

    Seriously, if you are adding code to something that someone gives you, OOP is much nicer and in my opinion preferred. If you give him/her OOP code, then he/she never has to see the inner workings, and/or accidentally add a period.

    It makes life much easier if you don't have to search through the entire code to figure out where to add the Membership function.


    [EDIT] I am only moderately experienced with OOP, but compared to the jumbled mess thrown into one frame, I just like it more.[/EDIT]
    In the process of designing a quirky little game engine called gulp. Check out it's progress below: @ my blog.

    ---

    Check out my blog at XenElement.com

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