Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

It has the illusion of inconsistency. Which I agree, is a problem.

  • {()} is expression form
  • All commands start with :
  • Attributes are allocation with =

Where can I use the expression form?

You can use expression form in string_dynamics. A dynamic string is a string that can be referenced from regular strings, but will recalculate every time referenced.

I purposefully chose not to document this in Adventuron Classroom for fear of putting beginners off.

BEGINNERS : Don't be put off please :-)

start_at = village

locations {
   village  : location "You are in the village. {linger_desc}" ;
}

strings {   
   linger_desc : string_dynamic {(
      "You have been hanging around for " + 
      linger () +
      " turns."
   )}
}

Yes! I can see why this would be scary. This is using some really unusual code design patterns. Is Adventuron a child of one of the old text game engines?

(+1)

No, it's a new engine. None of the old 8 bit engines have these particular design quirks. The quirks are my own doing For worse or better.

BEGINNERS: Don't be scared. This kind of thing isn't required.

(1 edit)

Is there a better place for me to suggest code additions/tweaks than in the jam community?

Maybe the reddit?

https://www.reddit.com/r/adventuron/

Thanks! Full disclosure, I'm also making a textbased game engine (called IFFY) - mine is in JS and JSON. Part of taking on this jam was seeing the process from a different perspective.