I was just trying to use the example and quick start tutorial for poink and clink and found that it wouldn't display properly in my browser or in Catmint.
I believe the issue is line 20 in index.html
because when inspecting the html of the example game on itch, the same line was instead
and I found that changing the line to this fixed this issue.
I don't want to pull request since I'm not sure if this is a proper fix but wanted to share! Thanks for making Poink and Clink! <3
Hi! It seems like the code snippets are missing from the text of your post for some reason, but when looking at the hosted version in the inspector myself it seems the only difference from the template on line 20 is the style="aspect-ratio: 1.5 / 1;" attribute, so I assume that's what you changed in your version?
In theory this should be set at runtime by the main script, assuming you included the # CANVAS_SHAPE: 96 64 global tag at the top of the ink file. Is it possible you missed that step in the tutorial?
Hi there :)
I was just trying to use the example and quick start tutorial for poink and clink and found that it wouldn't display properly in my browser or in Catmint.
I believe the issue is line 20 in index.html
Hi! It seems like the code snippets are missing from the text of your post for some reason, but when looking at the hosted version in the inspector myself it seems the only difference from the template on line 20 is the
style="aspect-ratio: 1.5 / 1;"
attribute, so I assume that's what you changed in your version?In theory this should be set at runtime by the main script, assuming you included the
# CANVAS_SHAPE: 96 64
global tag at the top of the ink file. Is it possible you missed that step in the tutorial?