Can someone make GUI what is in Beneath a steel sky game, and then post it here.
Thanks ;)
You may have better luck asking here (http://www.agsforums.com/yabb/index.php?topic=10001.0) instead. :P
You're in luck, someone has made one already. Go to this site:
http://www.freewebs.com/skimbleshanks/templates.htm
and scroll down a bit, you'll find a template there.
Thanks a lot dude!!!
Thanks again, but now I have another prob.
I do starting screen, Start, load etc.
I make hotspot: Interaction -> Any click on hotspot -> Player goto room2
Game regonizes only right mouse button click, but when I click left mouse button, pointer becomes invisible and game jammes.
Right button works ok.
Any ideas?
-Thanks
What were you doing? Asking for someone to do something for you, then handing it over to you?
I'm asking how I can make left mouse button work in starting screen.
EDIT: And how I can hide GUI in my starting screen. Hide GUI doesn't work.
Sorry, I meant your first post:
QuoteCan someone make GUI what is in Beneath a steel sky game, and then post it here.
You simply replied a few seconds faster than I did.
As for your problem, this mght sound stupid, but make sure that room 2 exists and is named correctly (room2.crm). Also, make sure you're not in WALK cursor mode when clckng on the hotspot. Change the cursor mode to USE, for example.
Uh oh, I think I need better baSS GUI, beacuse I'm getting error: SetGUIzize invalid dimensions...
EDIT: Lazy Z had same kind of problem long time ago:
QuoteWell, the error message is this:
(Global script line 134)
Error: SetGUIPosition: co-ordinates must lie in range (0,0) - (RMWID,RMHIT)
And the line from my global script is:
SetGUIPosition(TEXT, xpos, ypos);
I'm using the Beneath a Steel Sky template, by the way. I apologise for posting this here, I should have made a thread in the technical forum long ago, but I haven't had the time to do so...Ã,Â
I'm sorry about that. I fixed it. | Characters -> apply no interaction.
Now, I still have starting screen prob...
Quote from: Qwerty on Thu 17/06/2004 08:24:06EDIT: And how I can hide GUI in my starting screen. Hide GUI doesn't work.
GUIOff(X); // X = the GUI number you want to shut off
Thanks!
Only one more problem to go...
What's the final problem?
Quote from: Qwerty on Wed 16/06/2004 19:56:54
I do starting screen, Start, load etc.
I make hotspot: Interaction -> Any click on hotspot -> Player goto room2
Game regonizes only right mouse button click, but when I click left mouse button, pointer becomes invisible and game jammes.
Right button works ok.
That is...
EDIT: Weird... When I put player character visible, it works ok...
EDIT: Well... I solved it, I made empty sprite, and did view, what contains only empty sprite. Then I make walkable area, and changed player view to empty, when player is in area.
I hope, someone understand ;D
Thanks for all, who helped newbie!!
I had that problem with the left click too, that was a clever way of getting around it! Although I've no idea why that happens when you're hiding the player character in a room. Any ideas why this happens, anyone?
That's probably because of the script in the BASS template. You can try to workaround it by explicitly handling mouse clicks in the room with menu:
// room script (a menu with load/save etc.)
function on_mouse_click(int button) {
ProcessClick(mouse.x, mouse.y, GetCursorMode());
ClaimEvent();
}
But be sure you use the latest AGS version, otherwise the code would have no effect.
Quote from: Scorpiorus on Fri 18/06/2004 15:00:16
That's probably because of the script in the BASS template. You can try to workaround it by explicitly handling mouse clicks in the room with menu:
// room script (a menu with load/save etc.)
function on_mouse_click(int button) {
ProcessClick(mouse.x, mouse.y, GetCursorMode());
ClaimEvent();
}
But be sure you use the latest AGS version, otherwise the code would have no effect.
Thanks, but I don't modify the script, beacuse it's working now...
The template link is sadly dead.
Any other leads on where to get this?
It's not surprising the link is dead - this thread is nearly three years old!
The 'Read before posting' thread contains a link to the AGS Resources site (http://www.americangirlscouts.org/agsresources/), which also has the template for download. I'm not sure how much use it'll actually be, though. Due to its age it'll be written in old-stlye AGS scripting, and may cause problems if used with a newer version. It may be easier to consider what exactly you want and re-make it for yourself, than to try to update this template.
To be fair though, I was a bit confused when I first came here... one rule said "make sure you search I the forums before starting a new thread", and another rule says "don't dig up old threads". so in Wham's case, He honored the first rule by finding a link in a very old thread, but the link was dead... If he'd have started a new thread asking the same question he probably would have been told off for asking an old question.
I wasn't telling WHAM off, just commenting.
Well, possibly a little telling off for not having checked the 'Read before posting' thread very well, but not for using an existing (if very old) thread over starting a new one.