Very new to this.

magnes
07 Jun 2018, 09:15

Is there any way to get the out border to another colour?
When I "play" the game I have teh game and an ugly white left and right border. Ive seen one game manage to put something in it.
Any help


K.V.
07 Jun 2018, 09:39

Hello.

There is a 'Margin color' option on the 'Display' tab of the game object.

ONLINE

image


DESKTOP

image


magnes
07 Jun 2018, 14:16

I only have that in Text adventure not in Gamebook... any ideas?


K.V.
07 Jun 2018, 14:40

Oh. You didn't mention this was a game book, and I assumed incorrectly. (I had a 50/50 shot. Go figure.)


I do not know what color you want it to be, but, if you want it to match your selected background color, paste this into script on the game object:

JS.eval ("$('body').css('background', '"+game.defaultbackground+"')")

magnes
07 Jun 2018, 14:44

black


magnes
07 Jun 2018, 14:46

Im really sorry where do I place that?


K.V.
07 Jun 2018, 14:51

If you want it black, you can just put this:

JS.eval ("$('body').css('background', 'black');")

image


image


magnes
07 Jun 2018, 15:01

im using the downloads version to my computer im seeing stuff on ur screen that i don;t have. The link you sent don't change the margin colour for some reason. Sorry to bother you like this


magnes
07 Jun 2018, 15:02

Fuck the online version is different


K.V.
07 Jun 2018, 15:07

I can't get into Windows at the moment.

There should be a"Script when entering a page" tab on the game object, though. You should be able to click 'Code view' on that script and paste my code in there.


magnes
07 Jun 2018, 15:09

no code view button but i do have the script in java on that page. For some reason its just not changing. Mind you i did it with teh online version worked first time.


magnes
07 Jun 2018, 15:09

thank you for your help


K.V.
07 Jun 2018, 15:14

image


image


K.V.
07 Jun 2018, 15:54

PS

The different versions of Quest (online or desktop) and the different modes (Text Adventure or Gamebook) do make things a little complicated at first.


magnes
07 Jun 2018, 23:27

Thank you again. I reset the computer and tried again. It finally worked


magnes
07 Jun 2018, 23:42

My next question If I can take your time... is it possible to embed a video that isn't sourced from the net? Like you would in powerpoint.


K.V.
08 Jun 2018, 00:00

There is a 20 MB upload limit if you plan to upload your game to this site, just to warn you up front.

http://docs.textadventures.co.uk/quest/publishing.html


...but the answer is yes.

Like you would in powerpoint.

Well, I don't know how you do it in PowerPoint, but in Quest you do it pretty much in HTML.

You have to be sure the video is in the same folder as your game's .aslx file.

You have to add the proper extension to the list of published extensions on your game object.

An mp4 will not play in the desktop version of Quest. It will play on Windows and Linux. It will play on Macs if the user has a plugin installed (I think most Mac users have this plugin installed and don't even know it). It will play on Android, but I don't know if it will play on iThings.

An ogv will play in the desktop version of Quest, but it seems like someone said there are issues on iThings. (I don't own any Apple hardware, so this is hearsay at best.)

Wait, wait, wait... I forgot about the new documentation...

This starts off talking about adding YouTube videos (which I advise you to do if you're not familiar with HTML and JS). Step 1 and Step 2 are usually all people use. Anything beyond that, and you're going to be doing some coding.

http://docs.textadventures.co.uk/quest/adding_videos.html

The HTML bit (which is what you'd have to do) begins here:

http://docs.textadventures.co.uk/quest/adding_videos.html#using-html-video-elements


If you're still brave enough to press on after reading that and you get stuck, post some code and we'll help you out.


K.V.
08 Jun 2018, 00:05

PS

If you are wanting to do things like this, you probably don't want to be using the Gamebook mode in Quest. I would advise Squiffy or making a text adventure look like a gamebook.

Quest's Gamebook mode is VERY basic. I'm not sure the exact percentage, but I'd guess it only does 30% of the things a Quest text adventure will do. Maybe less.

If you DO stick with a Quest Gamebook, be double sure you mention that you're making a gamebook every time you create a new thread here. Otherwise, we'll tell you how to do things in a text adventure. You'll try, and it probably won't work. Everyone will be let down.


magnes
08 Jun 2018, 02:58

Im using it for a new kids comedy show I'm doing. I'm looking for a new way to present and play games with the kids. It won't be uploaded it will be used from my laptop as a pick a path presentation. Quest was the one I picked up easier that the others. Because I'll be constantly changing stuff, upgrading and improving.. over time I'll get much better at this... lol I hope. Problem is I have ZERO ability with coding and what I remember of HTML goes back to when I use to use Front page to make website for myself.
I'm working with it for a week or so if i can't get what I need out of the program I'll have another look around. I have less than 55 days till I'm on stage and I'm writing the show as I go as well. The show is defined by tech I have.
Thanks again I will see what can be done re the video a little later on. I'll see how many I need in the show and if they can be done without.


K.V.
08 Jun 2018, 04:25

If you get everything BUT the adding links to your videos done around 2 weeks or so in advance, you can post your game's code with a note in each place you want a video with the file's name, like:

// video_name1.mp4 should play now!

...and we could probably get you going within a day or three, as long as there weren't any other issues with your code.

All I can promise is that someone would try, though, without knowing what all we'll be working with... And it wouldn't bode well if it came right down to it and you couldn't use your videos.


Also, I just realized, using Squiffy won't help with the videos. You'd need to write code that would be nearly identical to what you'd need in Quest.

It's not that bad, as long as the video's dimensions aren't too big.

filename = "video_name1.mp4"
src = GetFileURL(filename)
msg("<video src=\""+src+"\" autoplay style='max-width:90%;' />")

jmnevil54
09 Jun 2018, 18:43

(I'm using the black code too. I hope you don't mind. Thanks.)


jmnevil54
09 Jun 2018, 18:51

(It did not work when I put it in the game start script, but ir did when I put it into the game's inter user face (is that what that is?) script. Thanks.
http://textadventures.co.uk/games/view/5jllte-m4e2e2whw4gf5jq/pokemon-type-harley-johto-and-sinnoh
)


K.V.
09 Jun 2018, 19:41

Sorry, I didn't see your last post, jmne.

You're always welcome to use any code I post (at your own risk; no guarantee; no warranty).

...and I thought your game was a text adventure? If so, you should be able to just use the GUI:

http://textadventures.co.uk/forum/quest/topic/dzq9yf4s00un7dhx5hxmea/very-new-to-this#fc3ed2de-8922-4dfb-aea7-5fb9451fc3f4


jmnevil54
09 Jun 2018, 23:30

@K.V. I either did not find that thing, or it didn't work. Either way.


Boomslang
10 Jun 2018, 18:19

How do you put items in a container?


K.V.
10 Jun 2018, 19:11

How do you put items in a container?

Are you creating a game or playing a game?


Boomslang
10 Jun 2018, 19:11

Creating


K.V.
10 Jun 2018, 19:20

If it's a game-book, I wish you the best of luck! (You'd need to make a page and a link to handle this, creating the illusion of performing the action, just like everything else in a game-book.)

If it's a text adventure:

http://docs.textadventures.co.uk/quest/containers.html


jmnevil54
10 Jun 2018, 20:18

In a gamebook, you can't create any objects other than the player, so you cannot create a container. You will have to use your imagination.
But you can make a text adventure look like a gamebook, if you want.