Jump to content

  • Log In with Google      Sign In   
  • Create Account

ButchDean

Member Since 10 Aug 2001
Offline Last Active Jun 10 2013 10:19 AM

#5066905 what the mechanics behind this ?

Posted by ButchDean on 02 June 2013 - 11:18 AM

In addition to what was said above, you could look into thinking about a double-tap jump being higher than a single tap for example. It will help to simplify the mechanic.




#4947572 Singleton pattern abuse

Posted by ButchDean on 08 June 2012 - 11:29 PM

I actually am pro singleton for the following reasons:

1. It is a generally recognized useful design pattern that is easy to grasp.

2. It makes a single instance of an object easily accessible.

3. It is not the same as a global because it has global scope. A well written singleton can have very controlled access even though it can be referenced globally.

4. If a singleton wrecks havoc in your code, blame the programmer and not the tool.

5. Singletons make the game states that they represent easy to debug.

These are just five points that come to mind.


PARTNERS