Translations

Know another language? Translate this tutorial!

Optimization & Motivation: You don't need!

Favourite 22 favourites
Tutorial written by dcrewOriginally published on 1st, December 2011 - 3 revisions

Hello, and Welcome to a small tutorial (or should I say), rather it be a tips & tricks guide.

I dislike to call myself an expert at game-creation, but I can gladly say I care mostly about optimization in game-creation.. and that I believe if your game optimizes a-lot, not only can it save time, frustration, stress, and all that bad stuff, but once you grab the hang of optimizing your code/events, then it all goes up-hill (figure of speech) ;]

Level Editors & Random Generators
Recently, I've been thinking a-lot, I just couldn't believe it when I heard someone's world generator used 5 arrays! Let me get one thing straight here; You do not need to use a single array for level generation/level editors, The reason being so (100% correct) I created an example in-which you can find right here: Click Here!, It uses an array, yes but that was only because I added a feature to it in-which would require this, I didn't have to add that feature, That feature was "Grass-Growth" in-which the grass would grow if it had no other block above dirt, then it would turn that dirt into grass.. and blah blah blah. Just had to get that out of the way.

Optimization: The Way Through?
You DO NOT have to (in any circumstances) have to optimize your code straight off the bat! In my game-creation experiences this slows you down, This can not only frustrate you! But it can lower your motivation for your own damn game!!, Now what I'm saying is what I do now which works 100% legitimately and safe, whilst still keeping me occupied on my game at all angles and not just one particular spot! Keep to the safe zone!

Keeping in the Safe Zone, Keeping your Motivation and Stress-levels
Okay, When I create something.. If I've worked with it before (like I've worked with level editors & generators a load of times before) You can usually produce something similar or even better, and Optimize it right off the bat (like me)!, I can safely say that if you get stuck.. don't be affraid to look back to your existing project of your w/e (what-ever) it is!. When you create something and it's your first experience in that departure, Then don't worry how un-optimistic it will output! I can't stress this enough, Since I made this mistake for too long... If you can't optimize something right off the bat then put it to the back of your head and think about it over time! In that time work on other departures of your game and don't worry about the optimization until you can think of a way forward! Trust me, this'll lead to success, and you won't lose your motivation for your game!

Thank-you for reading!
If you enjoyed or found this tutorial helpful in any way, Then please go ahead and leave a like ;] Have a good day!

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Comments

1
Kyatric 75.7k rep

I edited the formating. (use of bbcode instead of "tutcode")
I think more concrete examples of optimization would be a good way to add meaning and informations to this tut.

Friday, December 02, 2011 at 3:36:22 AM
1
Nipponshin 5,358 rep

Thanks for the tips! I'm just starting at this and I find myself stuck often, losing time trying to fix some simple thing that maybe I could fix later.
I'm very fresh at this, I practically have no idea what I'm doing but I'll follow your advice and see how it goes :)

btw English is not my first language so I might have some mistakes in my writing.

Sunday, December 04, 2011 at 12:29:58 AM
1
dcrew 4,087 rep

Comment by Nipponshin

Thanks for the tips! I'm just starting at this and I find myself stuck often, losing time trying to fix some simple thing that maybe I could fix later. I'm very fresh at this, I practically have no idea what I'm doing but I'll follow your advice and see how it goes :)

btw English is not my first language so I might have some mistakes in my writing.
Haha, no problem! I've been programming (not just games) for around 3 to 4 years and this is the best strategy I find for keeping my motivation fresh, and keeping the code clean and optimized. If you don't know how to do something, why try when you can cook up an idea in your head over-time whilst focusing on the bits you can do!

P.S. Your english seems very good to me :]

Sunday, December 04, 2011 at 9:14:02 PM
1
Bigheti 17.5k rep

Interesting tips that should be followed ... thanks!

Sunday, December 18, 2011 at 9:51:15 AM
1
TheDom 9,348 rep

Good advice. I was feeling demoralized. I often get on a roll and then die for hours or even days losing motivation for my game.

Friday, August 17, 2012 at 3:34:13 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.