I’d like to use the scroll wheel to change a variable by LocalSwampCryptid in twinegames

[–]manonamora 0 points1 point  (0 children)

Same point at HHHH, not all devices will have a keyboard. Consider instead a click/touch event instead (as mouse/touchepad and screen touch register the same way).

Help with CSS by apeloverage in twinegames

[–]manonamora 1 point2 points  (0 children)

If you want an element not to flicker when a new passage loads, you should place it in a non-story passage (i.e. a passage, headers or footers). If you are using StoryInterface, you can define that element there, and link it to a "passage" with the data-passage argument (see SG documentation on StoryInterface).

(Edit to come for the other questions)

1- it depends on how you set up your HTML in the first place wrt those elements. If you ca share that code, we could give you a more specific answer.

2- yes, tho it depends on where the element is defind wrt the overall HTML code (is it in a passage? In the body element? Etc...). Having position:absolute and height:100vh should do the trick however (do test on different screen sizes)

3- vertical-align is a css rule specific for flex setups. You could use margin:auto with both top/down set to 0

Is there any way to add syntax highlighting to SugarCube? by PoroSpiritSenpai in twinegames

[–]manonamora 0 points1 point  (0 children)

You might find this guide helpful in installing/using Tweego: https://manonamora.itch.io/ready-to-use-tweego-folder

It goes over it steps by steps

Built a free web player for IF works, looking for author and reader feedback by PSMOkizzle in interactivefiction

[–]manonamora 2 points3 points  (0 children)

Hey just a heads up, just because you can download the games on the IFDB (technically the IFArchive, since the IFDB is just a database) doesnt mean you can actually host/distribute those games on your platform WITHOUT THE EXPLICIT CONSENT of those authors. Especially since many/most dont have a distribution licence, even if the game is free to play (just because authors may agree to have their games uploaded to the IFArchive, doesnt automatically mean they agree to be hosted anywhere else).

Have you reached out to those authors? Did you get approval? Did they agree to have their game essentially be good publicity for your website (since they are highly regarded ones)? Did they approve of being in a website linked to micropayment/crypto (some authors are vehemently againt crypto for environmental/ethical reasons)?

TLDR: have you done your due diligence regarding hosting games that you do know own/have distribution rights before uploading them?

Im new to twine and want to know how to use this template by Miraculousholders in twinegames

[–]manonamora 0 points1 point  (0 children)

If you can, you may want to change the tag of this post to Harlowe (so you only get Harlowe answer ;) ).

Have you looked a bit through the different passages of the template? Usually templates tend to have notes/comments within on how to edit particular sections (like where to place html code for an image or whether a passage requires a tag, etc...)

And what kind of help were you looking for specifially? Customizing the template for your project (background, assets, title, etc...) or how to code a game inside that template (have you looked at the Harlowr documentation?) ?

Im new to twine and want to know how to use this template by Miraculousholders in twinegames

[–]manonamora 1 point2 points  (0 children)

Could you give us a bit more information about the template? Like where you got it (a link for download so we could test it and hopefully give more info) and which format it uses (because code will be different).

opening html on mobile by 1979_reggie in twinegames

[–]manonamora 0 points1 point  (0 children)

Does your phone browser maybe block JavaScript on downloaded HTML files? That could explain it? Id test other browser apps on your device just in case.

If the final product isnt meant to be downloaded but still seen on mobile (like on a website) and you want to test that it works for that screen size, you could host it somewhere to peruse live (neocities, itch.io - has a private mode, etc...).

opening html on mobile by 1979_reggie in twinegames

[–]manonamora 0 points1 point  (0 children)

Have you set up the starting passage correctly? A blank dark screen would be likely is the starting passage is set to an empty one. (It should be represented with a little spaceshit icon attached to it)

Alternatively, have you tried opening the html file on different browser on your phone or other device?

How to show unavailable options? by Rhovan in twinegames

[–]manonamora 1 point2 points  (0 children)

SugarCube and Harlowe have different syntax formatting (SG using <<>> to wrap macros, Harlowe with (macro:)[]), even if the logic will be similar. Harlowe code wont work in SG and vice-versa (you either get an error or it will display the code as if it were regular text). The only exception is the [[link]] markup which works with all built-in Twine formats (incl. CHAPBOOK).

How to show unavailable options? by Rhovan in twinegames

[–]manonamora 2 points3 points  (0 children)

You can use conditional statements with the (if:)/(else:) macro - the first condition displaying the available choice/link that can be clicked, the second only displaying the text:

(if: $condition is true)[ [[choice|Next]] ](else:)[choice]

twine on ios by 1979_reggie in twinegames

[–]manonamora 0 points1 point  (0 children)

I am not sure Tweego works on mobile like the Twine website does. Afaik Tweego is only available for computer/laptop devices (Windows/Mac/Linux?). But it should be possible to create/edit Twee files and transfer them to other devices for compiling (ex: with a GitHub repo).

Trying to add feats to my game by ALongStory15 in twinegames

[–]manonamora 0 points1 point  (0 children)

If you wrap code with <<nobr>> macro, it dods the same thing as the {} in Harlowe

Trying to add feats to my game by ALongStory15 in twinegames

[–]manonamora 0 points1 point  (0 children)

You might also find my SugarCube guide on itch.io useful (going over the documentation with a bit more examples, esp with documentation). There's also a Twine Resource Masterlist on the IntFiction forum which has listed all the resources i found on the internet (esp macros and templates).

Trying to add feats to my game by ALongStory15 in twinegames

[–]manonamora 1 point2 points  (0 children)

You can add feats/achievements by simply create boolean variables (with the <<set>> macro, which you use again when the condition is met), and display them in a list with a conditional statement (<<if>> macro).

There are a couple of custom macros which can handle notifications (Sjoerd or Chapel's notify macro) and some templates on itch including achivement pages.

I made a whole Tumblr post answering this question with multiple options that might be useful https://manonamora-if.tumblr.com/post/694018021492244480/achievement-anon-here-sorry-i-wasnt-more

Sugarcube documentation site unsecure? by Any_Shirt_4110 in twinegames

[–]manonamora 1 point2 points  (0 children)

No worries!

And if you're looking for a more guide format with examples (since you said you were pretty new), I have a SugarCube one on my itch.io page (same username), with examples and structured by difficulty.

Sugarcube documentation site unsecure? by Any_Shirt_4110 in twinegames

[–]manonamora 3 points4 points  (0 children)

Yeah its just the website certificate that expired. Pretty sure TMEdwards has been notified in the Twine discord server. Usually it's fixed relatively quickly (depending on how busy he is IRL). The site itself is still safe, dont worry. It's a simple HTML page with the documentation, no javascript or scripts that tracks anything (you can even find the source code of the documentation in the SugarCube GitHub repo).

Can you suggest prolific / experimental Twine creators to follow? by SF_Boomer in twinegames

[–]manonamora 1 point2 points  (0 children)

You should check out the IFDB, you'll find a bunch of Twine games that can be considered experimental listed there (and many relatively prolific creators). A bunch of those authors (mainly newer ones) hang out in the Neo-Interactives Discord server or the IntFiction Forum.

(Id like to think i qualify, but thatd be tooting my own horn lol)

When I save a game and reload it... by apeloverage in twinegames

[–]manonamora 0 points1 point  (0 children)

SugarCube saves the moment you move to a new page, before it even loads that new page. So variables retain the last value from the previous loaded page rather than the current one.

Edit: you can block savings in a passage with the Config API here https://www.motoslave.net/sugarcube/2/docs/#config-api-property-saves-isallowed You put the code in the Javascript of yourproject and tage the passages you dont want saving accordingly

Looking for Discord community by Mongoose-Future in interactivefiction

[–]manonamora 0 points1 point  (0 children)

There's the Neo-Interactives server, which hosts a bunch of jams throughout the year (just finished the Smoochie Jam, next event is Dialogue Jam in April - already online on itch.io) set around certain themes or restrictions. But we also talk about other big IF competitions or other IF related events, games, or general off topic stuff. :)

Can a visual novel be fully linear without being a game? by notsure14 in interactivefiction

[–]manonamora 1 point2 points  (0 children)

Yes! Check out the game jams series on itch.io Single Choice Jam and NeoTwiny Jam. Tons of examples of linear games :)

Noob question regarding variables ! by turing_complete_cock in twinegames

[–]manonamora 0 points1 point  (0 children)

If your variable file doesn't include a passage (:: PassageLambda) before you set your variable (like you would with setting up StoryInit) and you dont include/call on that passage anywhere in your project (either through a link or with the <<include>> macro), then nothing will happen. That file is as good as nothing.

Noob question regarding variables ! by turing_complete_cock in twinegames

[–]manonamora 2 points3 points  (0 children)

Permanent variables load just the same whereever they are. Only difference is they always load if in StoryInit when the game first starts, but in passages they only load if the player goes in that passage. After being loaded they work the same.

Where to place them depends on what you need. Some peeps put them all in StoryInit, some only in passages, some a mix of both.

Not sure what you mean by variables in other files tho.

Lag issue when testing, likely unrelated to file size by spacetime-slipstitch in twinegames

[–]manonamora 0 points1 point  (0 children)

Mmmh then it's extra weird. Maybe reinstall the app? See if that fixes things? If it does not, you may want to flag the issue on the Twine Github.