Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

sometimes when I’m talking to heracross she draws out my name when she says it, but only the vowels, how did you do this if my name isn’t preset? I thought it was really interesting

(+2)

Thank you, it was a tricky little algorithm to write!

https://gitgud.io/argonvile/monster-mind/-/blob/main/source/MmStringTools.hx#L15...

The algorithm is here but basically it looks for the first two vowels in your name and adds more of that vowel. There are a few edge cases if your name is something bizarre like "grt" or "j" but that's about it!

that’s super cool! also how does she know when I play the game? that’s pretty creepy

I can kind of understand it, But my friend understands coding much better than I can that’s super impressive you can do all this is the code c++ or what?

(+1)

This was written in something called "HaxeFlixel"! The ".hx" in the filename means "Haxe". But to me honest if your friend already understands C++ than they would mostly understand this Haxe stuff too. It is all the same!