Go to page Previous  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: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 3:01 am 
User avatar
C# Programmer
Member
[*]
[*]
[*]
[*]
No, band-aid code is a real problem that some coders have.

DJ Coco wrote:
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


Instead of fixing the root of the problem, they just try to add "patches"- code that seems to fix the problem despite the coder not knowing why the bugs occurs. The patch may be as simple as adding code just to prevent a visual bug at the highest level of the code. The bug s still present, though, now a bit tougher to find and thus fix. It gets worse when the bug propagates to other code. You'll have to add more and more band-aid code- deteriorating the code base. However, if you fixed the core of the problem, you can remove all the band-aids and of course have no worries of future bugs stemming of from it, again, because it's been fixed appropriately.

_________________
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 
 
 
 [tr]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 5:51 am 
User avatar
Thanks DonnieTheGuy!
Administrator
[A]
[*]
[*]
[*]
[*]

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

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

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

[*]
42. Hello Guys! I'm Mors, A Professional Indie Game Programmer. I Made A Game Called Stickman Adventures 3 And Starting A Kickstarter. But I Need To Add Multiplayer To My Game. My Code: *shows a bag of poop*
Please Say Good Things And Don't Give Criticism! Thanks!

_________________
Image
 
Top
Offline 
 
 
 [gb]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 11:27 am 
User avatar
Dank Memester
Member
[*]
[*]
43. Ignore all criticism. After all, you can learn on your own, right. And all people who criticise your games are just bullies.

_________________
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 1:26 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

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

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

[*]
[*]
44. "Unknown variable xy" What am I doing wrong??

_________________
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: Tue Dec 08, 2015 5:52 pm 
User avatar
Kootie Patootie
Member
[*]
[*]
[*]
[*]
[*]

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

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

[*]
[*]
45) Always use English expressions. "if not a = b" is so much nicer than "if a != b".
46) Use as many global variables as possible! It is much more efficient than attaching all persistent variables to one persistent object.

_________________
Image
My mains
 
Top
Offline 
 User page at mfgg.net
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 6:08 pm 
User avatar
Obey.
Member
[*]
[*]
47. I have a problem: it doesn't work! *fills page with horribly formatted code*
48. Using several variables instead of an array.
49. Just in case my RAM flips out one in a billionth chance, I'll put in all of these unnecessary conditions in my if statements.
50. Adding extra unnecessary padding to collision detection just in case it goes too fast.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [at]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 8:03 pm 
Cliax Codec X Splatoon
Member
[*]
[*]
[*]
[*]
[*]

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

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

[*]
[*]
51) = is the same as ==, right?

_________________
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: Tue Dec 08, 2015 8:04 pm 
I hate yellow balls of consumption.
Member
[S]
[*]
[*]
[*]
[*]

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

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

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

[*]
[*]
[*]
52. Making your own game takes a lot of unnecessary work. Just edit someone else's engine by changing one or two levels and you're good to go.

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

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

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

[*]
[*]
53) My favorite loop is an if loop

_________________
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
 
 [tw]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 8:17 pm 
福瑞退化者
Member
[*]
[*]
[*]
[*]
[*]

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

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

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

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

[*]
[*]
[*]
[*]
54) my codes are a mess, sorry I have to cancell my game

_________________
 
Top
Offline 
 User page at mfgg.net
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Tue Dec 08, 2015 9:47 pm 
User avatar
Obey.
Member
[*]
[*]
Hypernova wrote:
54) my codes are a mess, sorry I have to cancell my game

Me on all my games.

55. Who cares about simplified code? if (something); else { /* something */ } works.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [br]
 Post subject: Re: How to program as an MFGGer
PostPosted: Mon Dec 14, 2015 3:13 pm 
User avatar
zzz...
Member
[*]
56) HELLO My Name Is Recent314 And I Made A New Engine Featuring Mario, Luigi, WAAAHLuigi and Toad!!! And Its Bloated With Like 5972556TB Of Resorces IDK I Am Not A Pro Coder (shrugger emoji) Plz Like And Subscribe

_________________
forum games suck blablabla im dumb
discord: recent#2457
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Fri Dec 25, 2015 10:23 pm 
User avatar
Member
[*]
[*]
57) Above all, ALWAYS ask for criticism. You don't actually need to listen to what anyone says, though, since saying "I am open for criticism" is just one of those things that magically makes your project 20x better.

 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Fri Dec 25, 2015 10:25 pm 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

58) Unit testing? What's that?

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [br]
 Post subject: Re: How to program as an MFGGer
PostPosted: Fri Dec 25, 2015 10:42 pm 
User avatar
Not a bird
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
59) Use a fat long script and shorten it later when you feel less lazy

_________________
Please contact me for any broken links below.
Spoiler:

Spoiler:
 
Top
Offline 
 
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Fri Dec 25, 2015 11:01 pm 
Always have Jason Voorhees in your sig
Member
[*]
[*]
[*]
[*]
[*]

60) Comments? WHAT'RE THOOOSE?

_________________
Image

Image Image
Bibby Team | MFGG3 Github
 
Top
Offline 
 User page at mfgg.net
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sat Dec 26, 2015 3:15 am 
User avatar
Obey.
Member
[*]
[*]
61. Profiling my code? I already have a profile on this website.

_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [us]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sat Dec 26, 2015 3:34 am 
User avatar
C# Programmer
Member
[*]
[*]
[*]
[*]
62) Add a new member to your team.
63) have em clean up yer code an' dun forget em nasty buggers too

_________________
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 
 
 
 [aq]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 27, 2015 4:18 am 
User avatar
Obey.
Member
[*]
[*]
64. Not enough RAM? Just use the hard drive.
65. I don't need version control because I only have one version.
66. I hate Java; it's too verbose! Actually, I'm just scared of compiler errors.
67. Everything is so verbose! Readable keywords and identifiers such as "function" are too verbose. Better change that to "fn". I actually just type slow, and my monitor is a potato.
68. Can I index an array through floating point numbers?
69. Just in case integers turn into strings, I'll make an Integer interface.
70. Computers are very slow, so I have to use bit-shifts for multiplication and division.
71. On top of the Integer interface, it'll be constructed through an IntegerBuilderFactoryFactory.
72. Why is my game running so slow? Integer looks fine. Maybe I didn't use enough bit-shifts.


Last edited by DarkBlueYoshi on Sun Dec 27, 2015 4:50 pm, edited 1 time in total.
_________________
I am your supreme leader
 
Top
Offline 
 User page at mfgg.net
 
 [tr]
 Post subject: Re: How to program as an MFGGer
PostPosted: Sun Dec 27, 2015 6:25 am 
User avatar
Thanks DonnieTheGuy!
Administrator
[A]
[*]
[*]
[*]
[*]

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

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

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

[*]
73. Ppppfff surface_free? I don't have to use that, my surface is pretty small.
*2 hours later*
WHY IS MY GAME SO SLOW?!

_________________
Image
 
Top
Offline 
 
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
Go to page Previous  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