Comments on 2011-07-06 Ramus update

8 Comments.

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)

-- Eric 2017-10-20 07:14 UTC


Good work! I love the colors. And the smooth scroll looks much better when it has a longer distance to travel.

-- Felix 2017-10-20 07:14 UTC


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!

-- Marko 2017-10-20 07:15 UTC


You can use arbitrary Javascript in Ramus, via the [?do … ?] template. That includes the Math.random() function. 🙂

-- Felix 2017-10-20 07:15 UTC


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?

-- Marko 2017-10-20 07:15 UTC


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.

-- Felix 2017-10-20 07:16 UTC


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!

-- Marko 2017-10-20 07:16 UTC


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… 😉

-- Felix 2017-10-20 07:17 UTC