Game
Old Gramps
13 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

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

So

i may or may not make an full art of some person or i may just leave this like that-

Bandana Dee the Dream Friend

"Thanks guys for endless hours of fun." 👍

(My first fan art. Read the article, please.)

#sonic #mario #photoshop

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.

Path of Kami: The Evolution of the Lore

brung back my old oc plus a new one

...they don`t have names yet tho

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

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!

A sneak peek at the new OST, can you guess what this song will be used for? 🤔