Jibble

There is a new version of the forums ready for testing. Please post here if you're willing to help test! We could also use the help of coders!

Author Topic: [SOLVED] Problems with BASS Template  (Read 885 times)

[SOLVED] Problems with BASS Template
« on: 25 Oct 2015, 22:50 »
Hi everyone !

I try to use the BASS Tamplate and i have found some stucking stuff.

1) When you try to move your inventory to the bottom of ste screen and set "always shown" - it change nothing =))
so your inventory now is in the bottom of the screen but not visible, so you must move your mouse to the top of the screen, and then inventory will apear but in the bottom =)

2) i can't find how to show the speech and thoughts in the text window GUI

in script i found that everythis is doing like this


      player.Say("Looks alright.");

"Display(...); " - is what i need, but i can't move it in the bottom of the screen.

HELP, please =))))

« Last Edit: 18 Nov 2015, 14:03 by Alex Trivien »

Snarky

  • Global Moderator
  • Global Moderator
  • Mittens Lord
  • Private Insultant
    • Best Innovation Award Winner 2018, for his numerous additions to the AGS open source ecosystem including the new Awards Ceremony client and modules
    • Snarky worked on one or more games that won an AGS Award!
    •  
    • Snarky worked on one or more games that was nominated for an AGS Award!
Re: Problems with BASS Template
« Reply #1 on: 27 Oct 2015, 15:08 »
1) I haven't looked at the BASS Template code, but it probably has some code that specifies that the inventory should open when you move the cursor to the top of the screen. (Something like "if(mouse.y < SOME_NUMBER)" inside a repeatedly_execute() function) If so, you'll have to change it to "if(mouse.y > SOME_OTHER_NUMBER)".

2) The Display() function is hardcoded to display a message in the middle of the screen. I don't think you can move it. When you want to display speech and thoughts, you should use the Character.Say() and Character.Think() functions.

Re: Problems with BASS Template
« Reply #2 on: 27 Oct 2015, 15:44 »
There is DisplayAt function that lets you specify Y coordinate for the message:
http://www.adventuregamestudio.co.uk/wiki/Text_display_/_Speech_functions#DisplayAtY
Similarily, you could use Character.SayAt:
http://www.adventuregamestudio.co.uk/wiki/Character_functions_and_properties#Character.SayAt
« Last Edit: 27 Oct 2015, 15:46 by Crimson Wizard »

Re: Problems with BASS Template
« Reply #3 on: 18 Nov 2015, 14:02 »
Snarky & Crimson Wizard

Thank you =)