First run try

Started by , Fri 01/06/2012 12:19:33

Previous topic - Next topic

Guybrush379

After setting up the GUI this way I got a first run that way! :) What the hell is that? I've changed many parameters, do you know which thing cause this kind of mess?



Need some help, I cannot figure out.
320x200 is too small for playing, how to play at 640x480? I cannot play windowed mode the adventures i've tried. They run full screen. Edited the GUI at 640x480 but it seems not fitting the area well.

abstauber

#1
Jepp, this happens because of the GUI's multi language feature. So you don't need to change the graphics in the AGS editor but in the code. Go to guiscript.asc, scroll down to line 540 and change the sprite numbers there too.

I suppose you didn't switched over to italian (which can be done in line 15 of guiscript), so you need to adjust the english buttons.

An easier way would have been to just replace the english GUI sprites with you custom ones.

--edit: I just spotted, that you imported your sprites with the top left colour being transparent. That's why you're having this pink highlight in the gui editor. When you import sprites, you can also choose to leave the transparency as-is.

Guybrush379

I've actually done a mix of what you have told :) I will try to start again and see what happens, thanks.

Guybrush379

I've noticed also that each time I click the [...] under the interface flash simbol on the right, it creates automatically a string code in the actionscript, so maybe it's that that may have caused my problems. I've clicked it a bunch of times (tought to go directly in the code)

Khris

As for the resolution: stick to 320x200. As is obvious from the screenshot, using 640 screws up everything, from the blurry upscaled background to the blocky upscaled sprite.
I'd start afresh, because you've already upscaled the GUI and it's more painful to undo all the upscaling.

Compile the game (F7), then go to the game's compiled folder and run winsetup.exe. Select the "3x nearest-neighbour" filter and check "run in a window", then click "Save".

The next time you test the game (F5), it'll use these settings, a 960x600 window with sharp pixel graphics.

To test how the game looks in fullscreen mode, use the x2 or x4 filter.

When you click the [...] button in an empty field, AGS a) creates the function and links it to the event and b) sends you to the function in the script. If the field isn't empty, AGS does only b).
This is necessary to tell AGS what's supposed to happen in case of an event (e.g. interacting with an object).
The template uses the "any click on x" event for almost all verbs, the check for the used verb is done inside the function. (Refer to the template's doc)
The only exception are inventory items, those use the "look at" and "interact" events, too, afaik, could be wrong though.

Guybrush379

Thank you for this clarification, I will edit all in 320x200. Now I'm basically trying to understand connections in the scripts and how they work. The youtube videos are also very good. Cya soon :)

Guybrush379

I'm really happy, in few days with this fantastic program I was able to see one of my dream ever come true, a LucasArts adventure in old style!
I've tried with Lassie adventure Studio but flash was way too hard and interface was limited (it's a great software too anyway).
For amateurs like me, these days I've already learned the basics of the 9 verb coin module and that is fantastic. Now I can make dialogues, interactions with items, add invetory items and change rooms and that's for me is much more than I expected :)

Sorry if I was a bit hard, mostly because I felt lost in the scripting codes. I don't know if I will have the will to continue the adventure but for now thanks to the program and his creator (and also the 9 verb gui creator of course).

Can you tell me how to start learning coding little animations that start for example when the player push an object or for example when a dialogue ends and a character move away... Thanks

Guybrush379

You can remove this thread of mine, since I'm going to create a new one where I put all my problems, hoping some good coders help me with my scripting walls (figurative of course) :)

Snarky

We don't remove threads; you can just stop posting to it. Also, it's better to keep each thread about one particular problem/issue, rather than have one thread for "all my problems". Remember, the point of the thread isn't just to help you, but to help anyone who might face a similar problem in the future.

SMF spam blocked by CleanTalk