Go to page 1, 2, 3  Next  [ 50 posts ]  This topic is locked, you cannot edit posts or make further replies.Forum locked 
Author Message
 [us]
 Post subject: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 4:59 pm 
User avatar
C# Programmer
Member
[*]
[*]
[*]
[*]
The game is pretty simple- poke fun at how MFGGers code or just joke about coding in general.

1) When you're having trouble with a lot of if-statements, change to a switch-statement instead.
2) Math? Who cares. You can't handle that much power. With great power comes great responsibility.
3) Just throw code at the source until it works.

Continue!

_________________
MFGG TKO (scrapped) - Animations
Image
"It feels that time is better spent on original creations" - Konjak
Focus on the performance, the idea, not the technical bits or details - Milt Kahl
 
Top
Offline 
 
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 5:06 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
4) Variables take up valuable space in your project that you need to reserve for large MP3 files. Instead, try hardcoding every value.
5) Flexibility is a luxury you can't afford. But it's okay - the game will be scrapped before you need to rework aspects of the game, anyways.
6) The one method your heart truly desires:
public void MakeGame(GameObject hero, GameObject[] enemies, GameObject collectible, Font hudFont, float lengthOfGame, ... ) + 2147 overloads

_________________
Image

Cliax Codec is a combination of top-down and third-person shooter. The gameplay will blend platforming, puzzle and shmup elements together to create a unique gameplay experience. You will take control of four playable characters which rise against a team that seemingly wants to take over the world - but are their motives really that cliché, or are there deeper motives behind their actions?

Currently designing Chapter 1-6, 5%

GOTM titles
Spoiler:
Fan Art
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [gb]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 5:23 pm 
User avatar
Oops! All Berries
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
7) Manually initialising variables? Pah! Just go into Global Game Settings and tick "Treat uninitialised variables as 0".
8) Don't ever change the "loading, please wait" box. That red on blue design with yellow font is sleek as heck.
9) Why use "x += 1" when "x = x+1" will suffice?

_________________
Image
Insert Club Saturn logo here because otherwise my signature would be too big :(

Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 5:39 pm 
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
10) why actually finish your game when you can just trap yourself in a vicious cycle of engine re-writes even though you're a novice?

_________________
Spoiler:
 
Top
Offline 
 
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 6:26 pm 
User avatar
Thanks SonicZetrex!
Member
[*]
[*]
[*]
[*]
[*]

11) Even though you understand everything, you must comment your code. You MUST.
12) Why use random() when you can use choose()?
13) Use a default icon! Those green-and-black PacMen look good!

_________________
Vitiman wrote:
I never get quoted :(

I find it really ironic that the day after a holiday celebrating being thankful for what we have is a day where a lot of people rush to department stores and shop until they drop.
Refs:
Me (1) | Me (2) | Me (3) | Me (Shlyoh) | Mors | Q-Nova
If you sprited/referenced me but not on this list, PM me and I'll change it.

My favorite BGM:

Image
 
Top
Offline 
 
 
 [tr]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 6:47 pm 
User avatar
Thanks DonnieTheGuy!
Administrator
[A]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
14) sprite145 is better than spr_bunny or sBunny
15) Optimizing is for n00bs.

_________________
Image
 
Top
Offline 
 
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 8:41 pm 
User avatar
Obey.
Member
[*]
[*]
16. Who cares about coding style? After all, I don't have to worry about it until I get a job.
17. Break, continue, goto, multiple return statements? Oh no, those are evil to my computer science teacher.
18. Oh, my professor told me not to use friend classes because they break object-oriented design. Speaking of that, I think the amount of friend classes I use is limited by the number of friends I have. I don't have many friends.
19. Who cares about efficient code? My professor told me to use good object oriented design, even if I have to dynamically allocate particles.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 8:56 pm 
User avatar
Resident Ninnyhammer
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
Qwerty Triple6 wrote:
11) Even though you understand everything, you must comment your code. You MUST.

-11) Never use comments, especially when you understand everything! You can't possibly forget any code you write! Never!

_________________
 
Top
Offline 
 User page at mfgg.net
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 9:01 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
20) Uninitialized variable errors never happened back in Game Maker 8, because that program truly was ahead of its time!
21) Game Maker: Studio is worse than Game Maker 8, because it has a dark skin and it corrupts my projects twice an hour ):
22) Datatypes? What's that?
23) I am a professional programmer, but how do I make enemies face the other direction again?

_________________
Image

Cliax Codec is a combination of top-down and third-person shooter. The gameplay will blend platforming, puzzle and shmup elements together to create a unique gameplay experience. You will take control of four playable characters which rise against a team that seemingly wants to take over the world - but are their motives really that cliché, or are there deeper motives behind their actions?

Currently designing Chapter 1-6, 5%

GOTM titles
Spoiler:
Fan Art
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 9:36 pm 
User avatar
Resident Ninnyhammer
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
24) Make like Luigi and do absolutely nothing. Instead, have people do everything for you. You can't possibly fail!

_________________
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 9:39 pm 
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
25) why go to the trouble of making functional code when you can have people fix your broken code?

_________________
Spoiler:
 
Top
Offline 
 
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 10:07 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
26) The most important aspect about game development is having an idea. Once you have that, you'll easily find a team to take care of everything for you.

_________________
Image

Cliax Codec is a combination of top-down and third-person shooter. The gameplay will blend platforming, puzzle and shmup elements together to create a unique gameplay experience. You will take control of four playable characters which rise against a team that seemingly wants to take over the world - but are their motives really that cliché, or are there deeper motives behind their actions?

Currently designing Chapter 1-6, 5%

GOTM titles
Spoiler:
Fan Art
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 10:13 pm 
User avatar
Obey.
Member
[*]
[*]
27. I randomly name variables because it's cute.
28. Ugh! I hate queues; it's so hard to understand. I love computer science though :>
29. Programming is so hard! Simple if statements, nested if statements, compound if statements, else if. So hard!
30. Getters and setters? I just use public fields because I'm lazy.
31. I don't know how to use for loops, so I'll just write 480 lines of if statements.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 10:14 pm 
I hate yellow balls of consumption.
Member
[S]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
32) Using for loops can get really confusing. You can get the same results by using a bunch of if statements, and even keep track of your specific variables!
ninja'd

33) Uncompressed audio = better quality!

_________________
GOTM Awards:
Spoiler:
ImageImage
 
Top
Offline 
 User page at mfgg.net
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 10:27 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
34) Always remember to give your variables distinct names! Name it "ready" and clearly everyone knows what it does!
35) There is a 102% chance loops will crash your game. Always use code duplication and do everything by hand! It also helps make specific cases easier to customize!
36) I managed to fix the bug in my code - I don't know how though :)
37) The bug is back ): Please take a look at my code that consists to 75% of hard-coded numbers

_________________
Image

Cliax Codec is a combination of top-down and third-person shooter. The gameplay will blend platforming, puzzle and shmup elements together to create a unique gameplay experience. You will take control of four playable characters which rise against a team that seemingly wants to take over the world - but are their motives really that cliché, or are there deeper motives behind their actions?

Currently designing Chapter 1-6, 5%

GOTM titles
Spoiler:
Fan Art
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 06, 2015 11:40 pm 
User avatar
Obey.
Member
[*]
[*]
38. Aw, my code has a boo-boo. Band-Aid variables should fix the problem.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Mon Dec 07, 2015 9:01 am 
User avatar
Always have a Shy-Guy in your avatar
Administrator
[A]
[S]
[W]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

39. If you're a GM user, ALWAYS do everything using Drag & Drop. Do not use GML.

_________________
Course clear! You got a card.

Image
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Mon Dec 07, 2015 7:12 pm 
User avatar
Thanks SonicZetrex!
Member
[*]
[*]
[*]
[*]
[*]

40. Exclamation marks in coding??? That doesn't even follow conventional English! Instead, use a "if then else exit" string.

_________________
Vitiman wrote:
I never get quoted :(

I find it really ironic that the day after a holiday celebrating being thankful for what we have is a day where a lot of people rush to department stores and shop until they drop.
Refs:
Me (1) | Me (2) | Me (3) | Me (Shlyoh) | Mors | Q-Nova
If you sprited/referenced me but not on this list, PM me and I'll change it.

My favorite BGM:

Image
 
Top
Offline 
 
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 12:07 am 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

41. If you're making an engine, add as many features as possible. Remember: by definition, it's not an engine unless it's a completed SMW:ASE-scale-featured game with only three levels.

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 1:24 am 
User avatar
Resident Ninnyhammer
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
DarkBlueYoshi wrote:
38. Aw, my code has a boo-boo. Band-Aid variables should fix the problem.

Is this a game for poking fun at how MFGGers code, or is this a contest to be as condescending as possible?

_________________
 
Top
Offline 
 User page at mfgg.net
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
Go to page 1, 2, 3  Next  [ 50 posts ]  This topic is locked, you cannot edit posts or make further replies.Forum locked 


Who is online

Users browsing this topic: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group