Code improvement - 1
TextStew » Devlog
Aside from a few tests of Electronic Poetry those last few days have mostly been devoted to code improvement.
Before we had to write something like
#Start #Test:Hello:world #Test:param1:param2 @param1 @param2 !
To get the result :
Hello world !
I love that writing, but it quickly gets very complicated and unreadable.
Now, we write it in a more conventional way :
#Start #Test( Hello, world) #Test( param1, param2 ) @param1 @param2 !
That part works. But now, I must implement that new notation everywhere, and make full use of it. Such as nested commands :
#Start #Test ( Hello, #GetWorldType) #GetWorldType planet world universe #Test( param1, param2) @param1 @param2 !
Which could return those different lines (at random)
Hello planet ! Hello world ! Hello universe !
TextStew
A random text generator, and the exploration of Electronic Poetry for space games
Status | In development |
Category | Tool |
Author | vfabien21 |
Tags | Procedural Generation |
More posts
- Code improvement - 4 - tags, and negationAug 12, 2020
- Electronic poetry - round 21 : special planet featuresJul 31, 2020
- Electronic poetry - round 20 : planet descriptionJul 31, 2020
- Electronic poetry - round 19 : planet descriptionsJul 29, 2020
- Electronic poetry - round 18 : early planet descriptionJul 28, 2020
- Electronic Poetry - Round 17 : New syntax !Jul 27, 2020
- Code improvement - 3Jul 26, 2020
- Code improvement - 2Jul 25, 2020
- Electronic Poetry - Round 16 : STUCKJul 25, 2020
- Electronic Poetry - Round 15Jul 23, 2020
Leave a comment
Log in with itch.io to leave a comment.