Author Topic: MODULE: Credits v1.19  (Read 21228 times)

paolo

  • This City at Night Demo - while stocks last!
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
    • paolo worked on a game that was nominated for an AGS Award!
Hm, I'm not sure whether this should go here or in the modules forum, or whether I should just contact SSH directly, but anyhow...

So, I'm using SSH's credits module, and two things aren't working as I want them to.

1. The first thing in the credits is an image, and I'd like this to stay fixed in position for a second or two before scrolling up to show the rest of the credits. Is it possible to do this within the credits module, or do I need to script this separately (which shouldn't be too hard to do). If I have to do it myself, then how do I get the credits to pause for a certain time before starting?

2. When my credits come up, all of the text appears in boxes of solid colour. It looks like these boxes are the GUI I am using for the text displayed when I use the "Think" command, but if I set the game not to use this GUI for Think before displaying the credits, the boxes still appear.

Can anyone help? Thanks.
« Last Edit: 03 May 2009, 13:22 by paolo »
url=http://www.adventuregamestudio.co.uk/site/games/game/2036/]This City at Night - Demo[/url]

SSH

  • Flying round the world at the speed of haggis
    • I can help with scripting
    •  
    • SSH worked on a game that was nominated for an AGS Award!
      SSH worked on a game that won an AGS Award!
Module problems are usually best in the module thread, I think, then anyone else with the same problem can find it easily. But anyway:

1. I think is probably easier done separately.

2. Can you upload an example game, or ideally your who game dir (you can send it to me in PM if you prefer)

paolo

  • This City at Night Demo - while stocks last!
    • I can help with play testing
    •  
    • I can help with proof reading
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
    • paolo worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #42 on: 20 May 2009, 09:25 »
I found out what the problem was in the end - the credits use the speech GUI (GUI number 3) and I had modified this. I changed it to use an invisible sprite, and now everything works fine.
url=http://www.adventuregamestudio.co.uk/site/games/game/2036/]This City at Night - Demo[/url]

Re: MODULE: Credits v1.19
« Reply #43 on: 01 Aug 2009, 03:54 »
Using Credits Module v1.19 with AGS 3.2 Beta 2 and had to make a few changes to "credits.asc" to get it to work:

changed
this.fontimage[ln]

to
eFontNormal

Not sure if this is proper or if I changes the intent of the code but it compiles without error.

The problem I am having is that each title/credit has a white bar under the text.

Any idea how to make it transparent?

Joe

  • Anywhere you think I am, I am
    • I can help with scripting
    •  
    • I can help with translating
    •  
    • I can help with web design
    •  
Re: MODULE: Credits v1.19
« Reply #44 on: 13 Aug 2009, 11:27 »
Broken link?

EDIT: Nevermind, I downloaded it from your website
Copinstar © Oficial Site

Re: MODULE: Credits v1.19
« Reply #45 on: 31 Aug 2011, 14:46 »
With CreditStyle eCreditStatic and eCreditCentered, the credit text doesn't appear to be centered properly in the x-axis.  The game's resolution is 800x600. Is this related to the use of GetTextWidth, which apparently returns the width in 320-resolution pixels, or some other problem?  Is there a fix?  Thanks.
« Last Edit: 31 Aug 2011, 17:35 by pcj »
Space Quest: Vohaul Strikes Back is now available to download!

Re: MODULE: Credits v1.19
« Reply #46 on: 25 Apr 2015, 05:07 »
Hi all, I guess I'm bringing up an old topic, but that's what us newbies do. I was looking for a way to easily add credits at the end of a game. This module seemed like the answer, but the link is broken. Maybe somebody has this laying around. :-D
completed: Beyond Eternity

abstauber

  • Cavefish
  • Mittens Knight
  • still mowing the lawn
    • abstauber worked on a game that was nominated for an AGS Award!
      abstauber worked on a game that won an AGS Award!
Re: MODULE: Credits v1.19
« Reply #47 on: 25 Apr 2015, 16:38 »

Re: MODULE: Credits v1.19
« Reply #48 on: 02 Jun 2015, 22:05 »
Thanks for the Link  :)
_______________________________________ ____________________

Re: MODULE: Credits v1.19
« Reply #49 on: 31 Oct 2015, 07:11 »
Sorry for digging up this topic, but is there a way of displaying credits in more than one column? I tried something like this:
Code: Adventure Game Studio
  1. Credits[0].AddCredit("line 1",30);
  2. Credits[0].AddCredit("line 2",300);
This makes the two lines appear at the same time, but "line 2" one line lower than "line 1", not on the same level like I want it to.

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #50 on: 27 May 2016, 13:21 »
Uhm... I was going to use this module for my MAGS game, but all the links to it seem to be broken. :~(

Anyone has a new & working link to it?
There are those who believe that life here began out there...


Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #52 on: 27 May 2016, 20:27 »
Thank you! (nod)

EDIT: Crap! How do I remove the background from the text?!
I'm using Sierra With Background style and have a background text gui, and it's using that one. :(
I just want a transparent BG and the text scrolling, with the color I wish (it's also using the color of the Speech text gui).

I can't find anything setting in the module that is referring to speech or gui (even just searching for the gui number doesn't help) that is relevant. :/

EDIT 2:
Okay! For others that may have the same problem:
I created a new Text Window GUI, made the BG color 0 and all the 8 borders to a dummy invisible sprite.
Then added the following line just before running the credits:
Code: Adventure Game Studio
  1. game.speech_text_gui=x; // replace the x with your new dummy GUI.
  2.  
Problem solved. :-D Remember to change it back to your normal GUI after the credits are over.

PS - The PlaySound gives an error (using 3.4.07) I just commented the 4 lines out.
« Last Edit: 27 May 2016, 21:29 by Cassiebsg »
There are those who believe that life here began out there...

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: MODULE: Credits v1.19
« Reply #53 on: 27 May 2016, 22:16 »
PS - The PlaySound gives an error (using 3.4.07) I just commented the 4 lines out.
What error?

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #54 on: 27 May 2016, 22:30 »
Okay, had to create a new project and import the module, to be sure... (roll)

Undefined token 'PlaySound'
There are those who believe that life here began out there...

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
    • Crimson Wizard worked on a game that was nominated for an AGS Award!
      Crimson Wizard worked on a game that won an AGS Award!
Re: MODULE: Credits v1.19
« Reply #55 on: 27 May 2016, 23:48 »
Okay, had to create a new project and import the module, to be sure... (roll)

Undefined token 'PlaySound'

This is because PlaySound is a deprecated function. To enable it you need to turn "Enforce new Audio scripting" off in the Backwards-compatibility settings of your project.

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #56 on: 28 May 2016, 01:02 »
Okay, thanks for the info CW, will be handy if I decide to use it.
There are those who believe that life here began out there...

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #57 on: 15 Oct 2017, 19:52 »
Okay, me again with a new old problem...

I need to add the credits more than once! 8-0 Is there a way to clear the array(?), so I can then add them again?

Reason for this, is that I decided to add an option to let the player change translations in game, not just via winsetup, and since the Credits are being loaded at Game_Startup, this is not working desirable. :-\ So ideally, I would like to reset/clear them and then add them again in the the proper language, so that they display correctly.

Is this possible?

EDIT: I solved my "problem" without needing to clear the credits, but there's still a problem when using a translation. Which might have been solved with a clear command. (wtf)

Anyway, right now the problem only happens when I load the game with a translation selected and I then wish to return to the default (english) language. If I change it from the games settings GUI (not winsetup), the credits are still displayed in the original translated language. ???
This problem does not happen when I  start the game with the default language selected, I then have no problem changing the text in game from one language to the other and back and the credits will be displayed in the current "selected language".

Any idea why it might be messing up when I start the game in another language? ???
« Last Edit: 18 Oct 2017, 15:14 by Cassiebsg »
There are those who believe that life here began out there...

Nishuthan

  • Peace
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
Re: MODULE: Credits v1.19
« Reply #58 on: 27 Oct 2017, 06:34 »
I cant download the plugin Help

Cassiebsg

  • Cavefish
  • Fleeing the Cylon tyrrany...
    • Cassiebsg worked on a game that was nominated for an AGS Award!
Re: MODULE: Credits v1.19
« Reply #59 on: 27 Oct 2017, 17:52 »
If you go 7 posts up, you'll find the link... but I'll make it easier for you: http://www.adventuregamestudio.co.uk/forums/index.php?topic=28659.msg636536414#msg636536414
There are those who believe that life here began out there...