Advertisement

[Free] Interesting Text Game RPG Design

Started by September 03, 2024 02:45 PM
0 comments, last by JeremyB 3 months ago

Hello,

I want to share a design that I'm using in my RPG text game. You may have heard about the dictionary method for parsing a command, but might have missed this. I've created some emitters in my development that follow simple and known constructs. I have count down emitters, pulse or timer pulse emitters, and constant emitters. However, it got really interesting when I joined that with action fields on the emitter in the database. Consider this string:

deals elemental fire damage 2d8.

Not a big deal, but what if we go farther with it?

deals elemental fire damage 2d8 while on ship

Or

replenish hp 2d12 racial exclusion orc.

Pretty nifty eh?

This topic is closed to new replies.

Advertisement