User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 32

Thread: Best Practices

  1. #1
    Clicker Fusion 2.5 Developer
    bradley's Avatar
    Join Date
    Apr 2009
    Location
    South Africa
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Best Practices

    Hi - I want to start making my first app now, but before I start I would like to know if there is a 'best practices' tutorial somewhere (I couldnt find one).

    Or, if not, could someone please give me a quick rundown on 'always do this, put this first, never do this and that together' etc. etc.

    Thanks, any and all help will be greatly appreciated.

    PS. My main interest in in building apps right now. I'll give making games a try later on...

  2. #2
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Window Controls like Buttons, Lists and so on are drawn by the OS, therefore you cannot use them in transitions and you will have problems with layers and sub applications overlapping those.

    Keup User controls alive, like ATLF+F4, Minimize, Restore, and so on. Nothing more anoying then an application that is always on top and you can't do other things while it is running.

    Make sure you trigger file operations correctly and do not loop them and therefore stress the hardware of the user. Try to avoid Always as much as possible.

    Group your code, put comments whenever you need. Rename your objects with your own Name Convention. Insert Folder into your Frame and put Background and or Actives into them.

    All this will make your code easy to read, even by other people and you may get help faster then "Active 67 is not working with Editbox 37 on a colision with Backdrop 766"

    Good Luck

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Naming conventions are a HUGE help. I always use the format:
    BG: Dirt: Left Wall Edge
    or
    Particle: Small Explosion

    so they are always grouped up together when you need to do events like 'create' because it puts them alphabetically.

  4. #4
    No Products Registered

    Join Date
    May 2009
    Location
    Somewhere in the visible universe
    Posts
    149
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Also, what product do you have? MMF2, MMF2 Developer, or TGF2? And what do you plan to do? Do you want to sell your application? Do you want to use it for personal use?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Naming is a key thing to make sure you do, and make sure you add words like Button or String for easier identification in case the icon doesn't help.

    Also, groups help A LOT. As long as you use groups with useful names and put sections in them, it will help you stay organized. That way you wont have to search your WHOLE event list for what an action does. Groups are sort of like an index.

    Finally, if you use Global Values/Alterable Values, make comments that identify what each represents. Use comments for stuff that is not obvious, in case you try interpretting it later.

  6. #6
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Comments are your friend. Use them for every event if you have to.

  7. #7
    Clicker Fusion 2.5 Developer
    bradley's Avatar
    Join Date
    Apr 2009
    Location
    South Africa
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Thanks everyone for the useful info... Much appreciated.

    Be nice if people could just keep adding to it - perhaps?

    Just a thought...

  8. #8
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Actually some sort of guide or list would actually be pretty useful.
    But like most things in life, most of it is trial and error. There are usually many ways to achieve something and as you do more and more you will learn what is the best practices with time.

  9. #9
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    I might add one:

    Start small.

    Break down your main goal into several smaller goals and try to achieve them one by one.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,410
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Best Practices

    Don't forget about Windows best practices.
    Don't try to write to the same location of the application, it won't always work unless the user has admin or domain admin.
    Use the users profile area
    Your software may not work in a corporate domain based environment if it relys on the network due to strict firewall/network rules.
    Quite a few software developers fail miserably at all of these because they don't cater for corporate environments.

    On the other hand windows terminal services (2008), Vmware and citrix is becomming quite popular with virtulising hardware environments this can sometimes fix a few of these issues.

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Best Practices for XNA Indie Games
    By geothefaust in forum XNA Export Module Version 2.0
    Replies: 0
    Last Post: 24th September 2011, 02:58 AM

Posting Permissions

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