Game
Old Gramps
12 years ago

The making of: Metaprogramming


As some of you might know, Old Gramps has a few dialogues. Actually, it has quite a lot of dialogues. To be even more precise: I dare to say the game contains about 2000 lines for the two episodes that it contains right now.

I think you can imagine writing those texts was a lot of work. But the thing that has cost me most time so far, is implementing the texts in the game, since this happened manually so far.

Manually, yes. I manually CTRL-C/V’d all texts in a huge database-like script. All of those bloody 2000 lines. It took weeks, even months and the worst thing: it was boring as hell. As I reached the end of implementing the texts of Episode 2, I felt a lack of motivation: this wasn’t programming or game design anymore. No, it was work that could be done by everyone, even 6 year old children of 90 year old grandmothers - or even by a zombie. Dang, it was such a struggle.

As I walked through the streets of Karaköy, Istanbul, this holiday I realized that this problem - implementing texts manually and the fight against boredom while doing it - would definitely mean the end of Old Gramps: the lack of motivation this work caused would result into something horrific, namely, the game ending up on a huge pile of unfinished, dead games. Now that’s something I do not want to happen. Old Gramps is a project that could be my personal masterpiece. It would be a waste of time and effort not to finish it. I have so many ideas left for the game.

Yesterday, I came home from Turkey. I had an awesome holiday with the guys from the study association; I feel like I’m ready for a new semester and my motivation for practically everything has been reestablished. So today, I spent my time making a Java program that can automatically create the database-script for Old Gramps. There are a few things left I need to do manually (such as the Witness Accounts, Examinations and question answering, since these structures are more complex), but for normal texts and commands (shouts, fades, et cetera) this program does all the work for me. I simply CTRL-C/V everything in the program and it creates the database-script in less than a second. For your image: 50 lines would take me at least 30 minutes to implement, while it would now take less than a second.

I’m kind of stupid I didn’t come up with this earlier, am I not?

I hope this program will help me a lot and that it makes sure my motivation level doesn’t drop. With this preperatory work done, I’m ready for Episode 3. Thanks for reading and stay tuned!



0 comments

Loading...

Next up

art comission.

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

The whole squad is here!

Interested? Follow me!

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Demonstration of the spells and their effects :)!

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!

Animation test. Not an actaul conclusion to who wins sonic vs Mario. Just a test animation combo.

Pigs can push buttons for you!

#gamedev #pixelart #screenshotsaturday

Don't forget to wishlist Toodee and Topdee on Steam!

https://store.steampowered.com/app/1303950/Toodee_and_Topdee/