Loading...
374
2 years ago

A few days ago I created a system to automatically create options without the dreaded task of duplicating objects and making more code manually.


This system is simple, with list objects I create options based on global values, the list uses this "syntax" to make the option:

OptionMode.OptionTitleTextID.OptionsTextID.GlobalValueIndex.Purpose

So this is how looks like a option syntax real:

0.options_languagesTitle.options_languageOption.9.languages


I used a spreadsheet to store texts with their localisations.

afafteads.png

So this system helps me to create options quickly and easily, I can create new options without writing any code, just by adding their syntax to the list object (and adding the necessary texts in my spreadsheet).



6 comments

Loading...

Next up

Guess my upcoming fangame by looking at the main gameplay scene hierarchy!

This may be obvious, but if not, a good way to create AI for your FNaF-like characters is to create different behaviour scripts and combine them to make a complete, functional character. Think modular.

I only do this when I'm working alone, I promise

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

For the final trick, I converted my old Bluesky account into my new blog profile.

Follow me there to receive the latest updates on my games, like I usually do here!

📎 - https://bsky.app/profile/cesarz.bsky.social

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @Lightson-Hero to open today's slot on the calendar.

#AdventCalendar2025

fix

FNATI, But Dumb! and The Springlock: Aftermath are now on itch.io!

[links below]

Happy Joltidays! A new quest has entered your quest log. Accept the quest and follow @XHeheX to open today's slot on the calendar.

#AdventCalendar2025

Oblitus Casa, But Cringe!