Ramus update
by Felix Pleșoianu on Jul.06, 2011, under News
We interrupt our regular program to let you know that Ramus has been updated. The new version has two changes:
- A bug was fixed whereas the the starting fragment was not being parsed for templates when initially displayed.
- Smooth scrolling has been added, based on this ITnewb tutorial.
The latter may still need some fine-tuning, but I cleaned up the most egregious idiocies in the code, and in any event it’s better than without the effect. Enjoy!

July 11th, 2011 on 13:03
It’s great to know you’re still working on Ramus.
For my part, I’ve updated textallion with your latest version of Ramus.
I’ve also added support to convert the original lightweight markup to Inform7 source code (it’s only on the dev repository at the moment). You can test it there:
http://ifiction.free.fr/parchment/parchment.html?story=http://ifiction.free.fr/jeux/the_blue_death.z5
The Ramus export to compare:
http://anamnese.online.fr/site2/textallion/showcase/the_blue_death/the_blue_death_ramus.html
(still not updated to the latest Ramus code)
July 11th, 2011 on 19:43
Good work! I love the colors. And the smooth scroll looks much better when it has a longer distance to travel.
July 23rd, 2011 on 18:49
Ramus looks promising indeed!
I made a tiny cyoa game with php and would like to port it to Ramus (see my website link for the php version of the game).
However, in order to do so, I need a way to generate random numbers. For example from 1 to 4, 1 to 6, 1 to 12 and so on. I suppose this is not possible with the current version of Ramus?
If that is the case, could you please consider making a random numbers template for the next update?
Cheers!
July 24th, 2011 on 08:55
You can use arbitrary Javascript in Ramus, via the [?do ... ?] template. That includes the Math.random() function.
July 24th, 2011 on 16:19
Oh, I see. Thanks!
There is one more thing, the inventory. The inventory itself is just a fragment with [?if’s to show some text, based on the item flags set.
I’d like to show the inventory after every fragment.
I guess I could put the inventory script into every fragment but perhaps there is a more efficient way to do it?
July 24th, 2011 on 17:30
Well, if you want Undum-style inventory you’ll have to create an element to hold it, and position it somewhere to the side with CSS. Then you can render a template into it the same way it’s done in window.onload(). You can even alter setup_links() to do it at every turn.
July 24th, 2011 on 21:20
Finished the port from php to Ramus! Given the Ramus interface, I started to have second thoughts about the inventory and dropped it.
The game can be found here:
http://www.roguelantern.com/ramus/quest.html
Good luck killing the beast!
July 25th, 2011 on 00:11
Well… I tried to make Ramus generic… and simple. That means it may not be the best solution for you. Glad to see it does what you want, though.
Now, if only I had any clue as to how to beat the beast…