AGS v2.55 RC2 - Back to Basics edition

Started by Pumaman, Tue 15/04/2003 22:58:49

Previous topic - Next topic

eVOLVE

Already reported that holodude, just read up. Good to see confirmation that it's not just me though.
James 'eVOLVE' Hamer-Morton

Spyros

And this is how it looks like:

top:background
middle:walkable areas
bottom:regions

Pumaman

#22
Thanks for the feedback people, yes there seems to be a bug with regions in 640x400-res rooms. I'll look into it.

DasJan: could this be a problem with the game being paused (and thus greying the button out)? Are the GUIs set to "Always on" or "Script only"? Do you use any PauseGame commands in the script?

Barcik: I could, but it's only 2 MB so it's not really worth the effort. If AGS was a 100 MB download, I would make a patch for the new versions. But as others have said, this way also makes sure that you keep your copy of the latest release version as well.

Pumaman

Ok, beta 1a is now up, which fixes the region problem.

Unfortunately if you saved any rooms with the problem, they are corrupt permanently and you'll have to copy back your backup of that room file.

See people, this is why we always tell you to backup before using beta versions :)

Trapezoid

#24
Yay. Coolness.
*deletes Glumol*

Edit: By the way, I suggest you keep the "Player stands on hotspot" interaction, because it'll probably still be useful sometimes.

NavyNuke04

QuoteBy the way, I suggest you keep the "Player stands on hotspot" interaction, because it'll probably still be useful sometimes.
Not to mention a pain in the butt, if you ever decide to go back and make newer versions of your old games... it would be a lot of work to convert all the hotspot interactions into region interactions...

eVOLVE

Perhaps the ability to cut, copy and paste (single and multiple) items in the interactions editor would make that nice and easy?

Or should I make a separate suggestion thread for that? :/
James 'eVOLVE' Hamer-Morton

rodekill

I vote for the old icon. :) (yes, I'm responsible for making it. :P )

Haha.

Anyways, is there any way to create our own templates for games? I think it would end up being a lot easier for noobies to use custom guis and things if they didn't have to insert code and all that, though it won't really promote any actual learning.
SHAWNO NEWS FLASH: Rodekill.com, not updated because I suck at animation. Long story.
peepee

DasJan

#28
Quote from: CJ on Wed 16/04/2003 21:22:57
DasJan: could this be a problem with the game being paused (and thus greying the button out)? Are the GUIs set to "Always on" or "Script only"? Do you use any PauseGame commands in the script?
No, it has nothing to do with the pause. I don't use it and when I said "greyed out" I meant the button uses the wrong sprite as a picture. I turn the GUI on and off in the script, so it's "Script only". I don't use PauseGame. Here is a picture:



(1) This is how it looks before I click.
(2) Now I am pressing and holding the right mouse button. The GUI appeared, but as you can see the part where the mouse pointer points to (the hand) is wrong.
(3) After I moved the mouse pointer off the hand icon, all appears right. When I move the mouse back on the hand, the hand opens as it is supposed to do.

More facts: I use the global integer img_use to store the sprite index of the current button pic. It's 104 for the greyed out image, 117 for the open hand and so on. Then in the repeatedly_execute I have a

SetButtonPic(3, 1, 1, img_use);
SetButtonPic(3, 1, 2, img_use);
SetButtonPic(3, 1, 3, img_use);

I know that img_use has the correct value (debugged) all the time, but although I set the ButtonPics in the repeatedly_execute, the correct Button pic is not shown. It seems as if SetButtonPic doesn't work under specific conditions.

Das Jan
"To be or not to be" - William Shakespeare
"To do is to be" - Friedrich Nietzsche
"Do be do be do" - Frank Sinatra

auhsor

Good work chris. Downloading now.

One comment however, whatever happened to the thing in the old roomedit where you could preview the walking animations(well it cycled through them). I found that useful, but it isnt in the windows version anymore.

Privateer Puddin'

Quote from: rodekill on Thu 17/04/2003 00:23:35
Anyways, is there any way to create our own templates for games? I think it would end up being a lot easier for noobies to use custom guis and things if they didn't have to insert code and all that, though it won't really promote any actual learning.

Yep, when making the game go up to Game, then near the bottom you will see Make template from this game...

Pumaman

Firstly let me say I have no plans to delete the "stands on hotspot" interaction, but just to be sure, please don't use it in any new games.

rode: yeah I'm sorry about that... I do actually feel bad whenever something like this happens, but it's a no-win decision because someone gets the disappointment either way. :)

As for making templates, look under "Templates, creating" in the manual index.

DasJan: starnge, I'll look into it

rodekill

No prob CJ, just messing with ya.
Besides, I'm still the master of AGS IN-EDITOR ICONS!  ;D
SHAWNO NEWS FLASH: Rodekill.com, not updated because I suck at animation. Long story.
peepee

Erica McLane

I`ve downloaded it and managed to start it under Linux. I haven`t found any problems with the new features - delete GUI and so on. But the fonts are messed up.

Pumaman

Quote from: rodekill on Fri 18/04/2003 03:05:32
No prob CJ, just messing with ya.

Hehe I know ;)

Quote
Besides, I'm still the master of AGS IN-EDITOR ICONS!  ;D

Indeed. Rode is king!
:)

BlackBaron

#35
Do you have any idea when the definitive version will come out?

Is that I'm just starting to make a game, there are a lot of cool features in the 2.55 version, it seems like it'll be a lot of work to do a conversion later and I'd like to know if it's worth waiting until the 2.55 version comes out before I start doing some serious work on my game.

Thanks a lot.
"Do you thirst for knowledge no matter the cost?"
            -Watrik, master glassblower

eVOLVE

As far as I'm aware, most of the updating needing to be done is carried out automatically. Take the regions system that has now taken over lighting, when loading the new version of the editor, it had no problem loading the rooms made with the old version of the editor and sorting it all out into regions automatically.

That said, I've just found another bug that seems to crash my game every time. I can't work out exactly what it is, but it happened twice in my game. The first time it happened was when I had a 'Game - Play Sound Effect' command in the interactions editor. Never happened in any previous version of the editor, and repeatedly happened with the new version. All I did to fix it was to remove the play sound interaction command and replace it with a run script command that merely had 'PlaySound(6);' in it. Worked find after that.

The second time that I still haven't figured out yet gives the same error: (prepare_script: error -2 (no such function in script) trying to run 'region2_a' (Room 11)

This happens after you 'use' a window. I've got a 'Game - display a message' command that correctly displays, then following it is a run script with the following code:

PlayMusic(6);
SetScreenTransition(TRANSITION_FADE);
Wait(200);
NewRoom(12);

It crashes immediately after the message displayed has disappeared. Any ideas, CJ?
James 'eVOLVE' Hamer-Morton

Jimi

I am downloading....NOW! It's great to see that CJ is still ontop of things in his old age. ( :P Just Kidding!)

I like the sound of this region thing! It will be much easier to create the right lighting etc.

Can the region mask be used with the shadows plugin made a while ago?

Pumaman

Quote from: BlackBaron on Fri 18/04/2003 19:28:15
Do you have any idea when the definitive version will come out?

No. Please don't ask for release dates, it depends on several factors and I have no idea when it will finally be released.

Just use 2.54 for now, the upgading process is automatic so it shouldn't be a problem to upgrade when 2.55 comes out.

Quote
That said, I've just found another bug that seems to crash my game every time. I can't work out exactly what it is, but it happened twice in my game. The first time it happened was when I had a 'Game - Play Sound Effect' command in the interactions editor. Never happened in any previous version of the editor, and repeatedly happened with the new version.

What was the crash? In the editor? In the engine? Do you have the crash printout anywhere?

Quote
The second time that I still haven't figured out yet gives the same error: (prepare_script: error -2 (no such function in script) trying to run 'region2_a' (Room 11)

This happens after you 'use' a window. I've got a 'Game - display a message' command that correctly displays, then following it is a run script with the following code:

PlayMusic(6);
SetScreenTransition(TRANSITION_FADE);
Wait(200);
NewRoom(12);

Can you open up the room script (from the Room Settings pane) and see what function name that script code has been placed under?

eVOLVE

Quote
What was the crash? In the editor? In the engine? Do you have the crash printout anywhere?
During playthrough... The error says this:

An internal error has occured. Please note down the following information.
If the problem persists, contact Chris Jones.
(ACI version 2.55.534)

Error: prepare_script: error -2 (no such function in script) trying to run 'region2_a' (Room 11)

Quote
Can you open up the room script (from the Room Settings pane) and see what function name that script code has been placed under?
function hotspot3_a() and function hotspot4_a() (I have two different hotspots that do the same script, but have a different displaymessage to begin with, so they have to be two separate hotspots). Interestingly I've done a bit more testing and if your character is outside the walkable area (and therefore I assume the regions) it doesn't crash. To do this I merely skipped to the room from an earlier room with my character in a different position in the first screen. Then skipping back, moving my character back to where he would be in the walkable area and finally teleporting back to the room in question made it crash, so I'm pretty sure it's just being inside a walkable area that causes it.
James 'eVOLVE' Hamer-Morton

SMF spam blocked by CleanTalk