erkyrath / quixe

A Glulx VM interpreter written in Javascript
http://eblong.com/zarf/glulx/
MIT License
169 stars 33 forks source link

A couple of issues with text and graphics display #43

Open uecasm opened 4 years ago

uecasm commented 4 years ago

https://www.mirality.co.nz/if/glulxetest/

This contains a couple of demos of problems I've noticed when using Quixe.

Both of these demos work as expected if you run the blorb file through another Glulx interpreter, such as Git, or the Inform IDE built-in one.

The complete source text is also included on that page so you can see what it's trying to do.

(I also had a problem with images not displaying at all at first, since the IDE release process doesn't set up the loose files that Quixe wants for that. But after some hunting around I found the script for that.)

uecasm commented 4 years ago

Hmm. Interestingly it appears that demo2 does work as expected if I use the version from master instead of the Quixe-217.zip Inform template package. I'm not sure why.

uecasm commented 4 years ago

Ok, I think I've figured out demo2. The issue is that for some reason when using the Inform template package it generates an extra window-refresh event, which was clearing the window since I was just drawing directly into the window rather than making a refresh rule. I'm not sure why the other template and other interpreters don't show this, but I can work around it.

Any ideas on demo1? I assume this is because Quixe doesn't implement "style support". Are there any workarounds?

uecasm commented 4 years ago

I've added a demo3 command now, which demonstrates a worse issue that locks up the interpreter due to constant layout switching. I've also included an option to play in either Quixe or the new Parchment build that uses Quixe; interestingly they don't have identical behaviour -- compare demo2 and demo3 in each in particular.