Adventure Game Studio

AGS Support => Modules, Plugins & Tools => Topic started by: SSH on Thu 17/11/2005 13:33:10

Title: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: SSH on Thu 17/11/2005 13:33:10
SSH Productions are pleased to unleash upon the poor public the StarWars scroller module.

Download here (http://ssh.me.uk/modules/StarWars.zip) (Requires AGS v2.71)
Mirror (http://www.2dadventure.com/ags/StarWars.zip)
Download a quick demo of it in action here. (http://ssh.me.uk/Scrollertest.rar)

The instructions ain't long so here we go:




Module 'StarWars'

Abstract: Provides a Star Wars-style perspective scroller

Dependencies: AGS 2.71RC3 or later

Functions:

StarWarsScroller.Run(String t, int font, optional int vanishy, optional int speed, optional int separation, 
         optional int color, optional int colog, optional int colob);

This runs a scroller with the text in t, word-wrapped and centred. The font specified is used.

StarWarsScroller.Stop();

Turns off the scroller, after it has been run

StarWarsScroller.SetSpeed(int speed);

Can be used to pause (speed=0) or even make the scroller run backwards (speed<0)

Configuration:

  The font used should be quite large (for TTF, say around 30 points) and it should NOT have an outline, as these tend to give lots of artefacts as they shrink into the distance

Example:

   RawSetColorRGB(180, 180, 180);
   StarWarsScroller.Run("How much is that doggy in the window? The one with the waggly tail", 3, 50, 5, 200);


Caveats:

Due to the AGS RawDrawColour and NormalFont not being readable, I coudl not save their old values when this module is run: therefore the user will have to reset these to their correct values themselves, after having used the scroller.

Revision History:

17 Nov 05: v1.0  First release of StarWars scroller module
17 Nov 05: v1.01 Fixed a wee RawRestoreScreen bug

Licence: LGPL
Title: Re: MODULE: Starwars perspective scrolling 1.0
Post by: Rui 'Trovatore' Pires on Thu 17/11/2005 13:37:35
Wee! Up it goes in my sitey.
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Marion on Thu 20/11/2008 20:36:42
Hi !
I have downloaded and tried this module for my next game.
But all I have when I launch the game are black moving empty rectangles, instead of my text with fonts.
It's a 30 large TTF font, without outline. It's the same with AGS 2.71 or AGS 3.1.
Can you help me ?
Thank you !

EDIT : Ok, it's fixed now.
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: SSH on Mon 24/11/2008 06:59:53
To be honest, I'm astounded this still works.  :=
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Marion on Mon 24/11/2008 07:12:52
It works with the AGS 2.71 (I have just forgot one line in the script).
But not with the 3.1, I have an error message.
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Dualnames on Tue 25/11/2008 17:49:03
You probably get a version error. I had no trouble testing the module with AGS 3.0 so something's changed.
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Marion on Sun 03/12/2023 12:22:29
Hello, is this module still available ? Does it work with AGS 3.6 ? :)
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Mehrdad on Mon 04/12/2023 06:21:28
Quote from: Marion on Sun 03/12/2023 12:22:29Hello, is this module still available ? Does it work with AGS 3.6 ? :)

Hi. I had a copy in my archive. Here you are
https://www.dropbox.com/scl/fi/5cbcxn0m0iachb6apmv7p/StarWars.zip?rlkey=bh6ehb6zvlx6jxynrafarwqa2&dl=0

I don't know works with 3.6 or not.
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Crimson Wizard on Mon 04/12/2023 07:02:09
AGS 3.6.0 has a number of backwards compatibility settings; these may be used to enable all the old script commands back.

More information may be found in the manual:
https://adventuregamestudio.github.io/ags-manual/GeneralSettings.html#backwards-compatibility
Title: Re: MODULE: Starwars perspective scrolling v1.01 (new dl site)
Post by: Marion on Mon 04/12/2023 08:17:41
Thank you very much ♥