Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Anralore

#1
Quote from: Crimson Wizard on Sat 04/09/2021 19:08:26
In AGS you have to create a new font with different size. Either importing a TTF font telling wanted point-size, or getting or drawing a bitmap font (SCI/WFN) of certain size.

Thank you.
#2
I cannot see a setting for this in the properties list. Is it possible?
#3
Is there something along the lines of:

Code: ags

if (currentroom = 1) {
   playvideo("Room_1_exit", )
}
if (currentroom = 2) {
   playvideo("Room_2_exit", )
}
if (currentroom = 3) {
   playvideo("Room_3_exit", )
}
#4
Quote from: eri0o on Fri 03/09/2021 17:46:07
Try using either SetScreenTransition or SetNextScreenTransition before using change room, selecting instant

https://adventuregamestudio.github.io/ags-manual/Globalfunctions_Screen.html#setnextscreentransition

Alternatively maybe change to a room, play the video, then change to the room you want

Thank you, it worked.
#5
I want to have a video play showing the transition the character walk from one room to another.

I have this in the new room:

Code: ags

function room_FirstLoad(){
  PlayVideo("New Videos/2II.ogv", eVideoSkipAnyKey, 0);
} // End of FirstLoad


But this just results in a fade to black, then fade in to showing the background of the second room, then cutting to the video. How do I skip the fade out, fade in and background image of room 2?
#6
Quote from: Khris on Fri 03/09/2021 09:36:43
Windows hides known extensions, so is it possible that the file is called "1a.ogv.ogv"? I assume it's associated with VLC or something, so if you don't see .exe but see .ogv, that means the name is bad.
You can turn the option off in Windows explorer or use Total Commander to see the actual name.

That was the problem, I removed the .ogv at the end and now it works.

Thank you!
#7
Quote from: Khris on Fri 03/09/2021 09:23:55
By "game folder", do you mean "project folder" (where it's supposed to go) or "compiled game folder" where the .exe ends up?

The video file is in the same folder that stores the room(.asc and .crm) data. I also have it in the game folder in documents and neither seem to work.
#8
I want to play a video, the video file file "1a.ogv" is in the game folder and I have this code:

Code: ags
 PlayVideo("1a.ogv",eVideoSkipNotAllowed, 0); 


But everytime I click the hot-spot to trigger it this error appears: 'Unable to load theora video '1a.ogv"'. Why is this and how can I fix it?
#9
Quote from: Crimson Wizard on Tue 31/08/2021 20:06:06
It should be "Mouse.DisableMode(i);"

Now the mouse will appear if I right click first?

Which mouse triggers hot spots?
#10
Quote from: Crimson Wizard on Tue 31/08/2021 19:05:36
Code: ags
Mouse.DisableMode(); // this disables everything first


This line is causing this error: "Not enough parameters in call to function"

How do I fix that?
#11
Quote from: eri0o on Tue 31/08/2021 14:48:33
In the Editor, in mouse, do you have a cursor sprite/view specified for the modes you are using?

No, how do I do that? I am making an FMV game so I just need a cursor to click stuff not: "walk to" or "look at" or "Pick up" and so on.
#12
When I run the game and mouse over it, my cursor disappears so I cannot click anything.

How do I solve this?
#13
I realised you can click the padlock and now it works.
#14
How do I erase a hot spot? I can only find guides for previous versions of AGS with different user interfaces.

Whenever I select erase the hot spot greys out and a picture of a locked lock appears over the cursor?

What do I do?
#15
Quote from: Crimson Wizard on Sun 29/08/2021 19:16:58

Well, there's a zoom slider on top, its min is 25%, which should zoom 4032 x 2272 image out to 1008 x 568, I hope that would be enough.

Not really, but if I downscale the image it should be fine. Thank you for your help.
#16
Quote from: Crimson Wizard on Sun 29/08/2021 19:01:33

4032 x 2272 is really huge. Is it a special room of some kind, or your whole game will be like that?

I must mention that AGS is not very well suited for graphics of that high resolution.

Also, if you set your game to 4032 x 2272, most computers will not be able to run it in that size, and will have to downscale, reducing the quality of image.

It works, thank you.

I shall down scale it.

Is there a way that I can zoom out further in the editor?
#17
Quote from: Crimson Wizard on Sun 29/08/2021 18:22:39
Quote from: Anralore on Sun 29/08/2021 16:26:15
It is the background of a room. I want to be able to see all of it but it is zoomed in to a small section at the top right.

I get it, but do you want to zoom out your room in the room editor, for easier editing, or you want to see more of the room while playing the game? These are two different use cases.

Quote from: Anralore on Sun 29/08/2021 16:26:15
In the visuals section it says width: 4032 and Height: 2272

That's probably room's size.
You may find the game's resolution in "General Settings", "Basic properties", where it sais "Resolution". That defines how much do you see in game, by default. Note that this also defines the resolution of your game's GUI and on screen text.

You may also zoom out by changing camera's size. For example, if you have smaller game resolution but larger room, and you want to show more of it for a particular scene, you may increase the camera's size in script. This is done by calling "Game.Camera.SetSize(width, height);". You could do that in "Enter room before fade-in" room event, for instance.

I want to be able to see the whole room when playing the game.

I have found the resolution in "Basic Properties", it is set to 320x200 but will not let me change it. How do I do that?
#18
Quote from: Crimson Wizard on Sun 29/08/2021 16:14:44
Are you speaking about working with this background in the editor, or seeing more room when the game is running?

What is your game's resolution?

It is the background of a room. I want to be able to see all of it but it is zoomed in to a small section at the top right.

In the visuals section it says width: 4032 and Height: 2272
#19
I have a background that is 4032x2272. It is very zoomed in and I cannot work out how to zoom it out so I can see the whole image and not just a small section.

Is this possible?
#20
Quote from: Crimson Wizard on Mon 23/08/2021 17:38:13
The error sais that it cannot *write* a file, which could mean that location where you create your game is not writeable, program does not have enough permissions to do this, or something (like windows defender or antivirus) is preventing it from doing so.

I have tried storing it in Documents and that still did not work. How do I tell windows defender to leave the programme alone?
SMF spam blocked by CleanTalk