Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Pumaman on Fri 17/10/2008 19:01:06

Title: Tip of the Day suggestions
Post by: Pumaman on Fri 17/10/2008 19:01:06
Ok, I mentioned this in the 3.1 beta thread but I don't think anyone noticed, so I'll try again.

The next version of AGS will include a "Tip of the Day" area on the Start Page, to give you random tips on using AGS.
Initially I have two:
"You can right-click sprites and use Assign To View to easily set up views"
"You can right-click a variable in the script and use Go TO Definition to see wher eit was defined"

Does anyone else have any suggestions for tips? Ideally these would be things you can do in AGS that aren't immediately obvious and are easily missed.
Title: Re: Tip of the Day suggestions
Post by: Gilbert on Fri 17/10/2008 19:08:07
Don't have much in my mind ATM, I think something like:

"Object index starts from 0"
"xx index starts from 0"

May get to this later.
Title: Re: Tip of the Day suggestions
Post by: TwinMoon on Fri 17/10/2008 19:19:00
"You can right-click the colour palette (in 256-colours mode) to export it to or replace it."

"Click the pulldown menu at the top of a script to easily navigate through it."

Not sure how to phrase this, but:
"Use #DEFINE to make AGS recognise a word as a value. Example: #DEFINE Left 1  will make AGS recognise the word Left as the number 1."
Title: Re: Tip of the Day suggestions
Post by: monkey0506 on Fri 17/10/2008 19:51:46
I'm not sure that #define macros would be a good idea for a tip of the day as it would be likely to confuse beginners.

I do have some suggestions for this though:

1) Could it be made possible to view the Start Page without having to open it with the editor? AFAIK unless it's the first page opened, it doesn't open at all. I don't normally want it opened, but I would find it useful to look and see what everyone else is seeing from time to time. ;)
2) Could Tip of the Day be made into a window that could also be opened separately (in its own tab perhaps), from say, the Help menu?
3) Would it be reasonable for a "Next tip" option?
4) Could the tips have hyperlinks to relevant help file entries and/or game tabs?

As for the actual tips...

-Trying to use variables between several scripts? Take a look at the Global variables pane where you can create variables to use in all your scripts. For functions, see import.
-Trying to set up that first character and feeling a bit lost? First you'll need to import the sprites into the Sprite Manager. Next, assign the sprites to a View. Finally, set the view in the character's properties window.
-For smooth-edged sprites you can use alpha channeled sprites. However, these are only available in 32-bit mode, so consider this carefully as it will run more slowly on some older systems.
-Looking for a scripting solution that you're not quite sure how to tackle yourself? Check out the script modules in the AGS forums! Many useful scripts have been provided to make your job easier.

Things like that I guess would be useful for new users.
Title: Re: Tip of the Day suggestions
Post by: SSH on Fri 17/10/2008 19:59:00
Some of these are serious:

Take two bottles in to the shower? I just want to wash and go!

Trouble managing lots of audio files? You could try the media manager editor plugin (LINK)

There's lots of information in the AGS Wiki (LINK) about scripting and AGS topic in general

If you find that MS Paint isn't powerful enough for you, check out the big list of paint programs in the forums (LINK)

Does your artwork need a little help? Check out the tutorials thread (LINK) on the forums

For the latest goings on in AGS and game reviews, check out SSH's AGS blog

Limescale is just calcium that sticks! Cillit Bang and the dirt is gone

Title: Re: Tip of the Day suggestions
Post by: LimpingFish on Fri 17/10/2008 20:22:44
SSH, you're such a dirty big pimp! I agree with you're suggestions, though, and Monkey's.

I think the Tip of the Day feature would also be a good place to highlight some of the most requested basic scripting solutions. Using a inventory item on a hotspot, changing character views, the old "locked door" conundrum, etc. Of course, these are scripting tips, and not technically related to the workings of the actual editor itself, but I think they would prove popular.
Title: Re: Tip of the Day suggestions
Post by: Shane 'ProgZmax' Stevens on Fri 17/10/2008 21:34:27
Press the 'F' key to quickly flip frames in views.

The Character's Loop variable may be set manually to change their direction without using FaceLocation.

Stuck and the AGS help file isn't solving your problem?  Try searching the official forums for a solution, and if there is none, post your question!

Want an object that can change rooms and talk?  Use a Character instead!

By setting the LightLevel of a Region you can effectively make a room lighter or darker without having to redraw it.

Want to organize your sounds, music, and speech?  Try the Audiomanager plugin!
Title: Re: Tip of the Day suggestions
Post by: on Sat 18/10/2008 02:36:33
"After making a walk-behind area, don't forget to set its baseline!"

"You can select multiple sprites and move/delete them!"

"You can make a template out of any game to use it later- just make your GUI and save it as a template!"

"You can add a custom icon to your game and setup."

Title: Re: Tip of the Day suggestions
Post by: Laukku on Sat 18/10/2008 07:46:54
Quote from: Ghost on Sat 18/10/2008 02:36:33"After making a walk-behind area, don't forget to set its baseline!"

This reminds me... Wouldn't it be more logical to have walk-behind areas be always drawn on top by default, if one forgets to set its baseline?
Title: Re: Tip of the Day suggestions
Post by: Trent R on Sat 18/10/2008 19:59:05
Quote from: Laukku on Sat 18/10/2008 07:46:54
This reminds me... Wouldn't it be more logical to have walk-behind areas be always drawn on top by default, if one forgets to set its baseline?
No, because what if your walkbehind is something like a table? On one side, you'd be behind it. On the other side you'd be in front/on top of it.

As for a tip,
"Want to make a game other than an adventure game? It's possible with AGS if you know how to script."

"There is a 'Recruit A Team' thread in the forums where you can post about your project to recruit other team members. Or you can browse through the recent posts and find someone that's already submitting their talents to the public."


That's all I got for now, though I will back up the ones that have been already said.
~Trent
Title: Re: Tip of the Day suggestions
Post by: Khris on Sun 19/10/2008 10:55:16
"Check player.ActiveInventory to find out which inventory item was used."

"Your room background flashes like crazy? Delete the second background animation frame."

"Got a question you think nobody has ever asked before like 'How to make the player change rooms?'
Post it right away, using the forum search is overrated anyway."

"Want to create a complex remake of a commercial game without any programming experience? Ask for help in the technical forum, others will gladly post huge working scripts so you don't have to bother learning how to 'program'."

Title: Re: Tip of the Day suggestions
Post by: Pumaman on Sun 19/10/2008 17:51:07
Thanks for your suggestions so far, guys. I'll incorporate some of them into AGS :)

I'll leave this thread open though -- as with the splash screen's tagline, this is something that can be continually added to over time.
Title: Re: Tip of the Day suggestions
Post by: GarageGothic on Sun 19/10/2008 18:51:37
Quote from: ProgZmax on Fri 17/10/2008 21:34:27By setting the LightLevel of a Region you can effectively make a room lighter or darker without having to redraw it.

Huh? This tip seems a bit misleading. The LightLevel makes characters/objects appear lighter/darker, not the background. So you would still have to re-color your background or use TintScreen (which can't really be recommended due to the CPU load). Come to think of it, we should really have a module that uses DynamicSprite tinting to temporarily change the lighting of room backgrounds with a simple function call. Perhaps I could add that to my LightMap module.
Title: Re: Tip of the Day suggestions
Post by: Trent R on Mon 20/10/2008 07:51:11
Quote from: KhrisMUC on Sun 19/10/2008 10:55:16
"Check player.ActiveInventory to find out which inventory item was used."
Good lord, yes!!! I searched the manual for forever before I finally found this...

Another tip idea (to be worded as you please, CJ)
"Got a tip of your own you'd like to share? Post it it the designated thread in the Technical Forum."
Hopefully a 'tip' like that will get more suggestions from people that might normally shy away from the foreboding sounding Technical Forum.

~Trent
Title: Re: Tip of the Day suggestions
Post by: Technocrat on Mon 20/10/2008 11:16:14
"Contrary to popular belief, eating the crusts does not make hair on your chest grow."

Alright, to be honest, all I can think of are tips like that, useful as they are!
Title: Re: Tip of the Day suggestions
Post by: Gilbert on Mon 20/10/2008 11:58:23
Well, in that case it does not fit in the "AGS Tips" category, it's actually more like the cheesy subtitles (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=31515.0), which are implemented already.
Title: Re: Tip of the Day suggestions
Post by: RickJ on Mon 20/10/2008 13:04:32
- Did you know that you can right click on a variable or function to goto it's definition?
Title: Re: Tip of the Day suggestions
Post by: Ryan Timothy B on Tue 14/09/2010 05:08:40
Here's an old thread, but I just accidentally discovered a very handy method of tabbing multiple lines. I wish I knew of it long ago.
It definitely should be added to the tip section on the start page.


Tip:
To indent multiple lines at once, highlight the desired lines and press TAB to add or SHIFT-TAB to remove indent.
Title: Re: Tip of the Day suggestions
Post by: cat on Tue 14/09/2010 10:30:57
Fantastic, this will safe so much work aligning my tabs, thanks!
Title: Re: Tip of the Day suggestions
Post by: Wonkyth on Tue 14/09/2010 14:11:03
Well placed necro.  ;)
Title: Re: Tip of the Day suggestions
Post by: subspark on Thu 16/09/2010 10:19:46
Quoteas with the splash screen's tagline, this is something that can be continually added to over time.
The splash screen loads/disappears too quickly for me to be of any tipping use. Incidentally, CJ, are you still considering taking me up on our new AGS 3.3 splash screen I designed for you a couple of years ago?

To refresh your memory:
(http://www.shuugouteki.net/paul/Development/ChrisJones/ags_freshmode_splash.png)

You should still have the PM with all necessary files/icons, chief!

Cheers,
Sparky.
Title: Re: Tip of the Day suggestions
Post by: Dataflashsabot on Thu 16/09/2010 11:44:54
Quote from: subspark on Thu 16/09/2010 10:19:46
(http://www.shuugouteki.net/paul/Development/ChrisJones/ags_freshmode_splash.png)
I like this, but I don't like how it shows what's inside the cup.  Removes the mystery :P
Title: Re: Tip of the Day suggestions
Post by: kconan on Thu 16/09/2010 14:30:39
"Always do a test import of one sprite just to make sure it looks ok in AGS before creating an entire sheet of animation."
Title: Re: Tip of the Day suggestions
Post by: subspark on Fri 17/09/2010 17:00:18
Huh?  :)

Agrees about the cup contents, btw.
Sparky.
Title: Re: Tip of the Day suggestions
Post by: kconan on Fri 17/09/2010 18:13:59
Quote from: subspark on Fri 17/09/2010 17:00:18
Huh?  :)

That was a tip of the day, and not a comment on your cup, which looks great.  Agreed on removing the contents for added intrigue.
Title: Re: Tip of the Day suggestions
Post by: strazer on Thu 31/03/2011 21:26:12
I think these tips are very useful for beginners and this thread gives a chance for every user to contribute, so I'm stickying this.
Title: Re: Tip of the Day suggestions
Post by: Mouth for war on Fri 01/04/2011 11:05:41
how about something like... "Don't forget to create a Gui called ghotspot for example then add a lable inside the gui and make sure the text for the label is @OVERHOTSPOT@

Could probably simplify that text but I've seen many people over the years asking "How can I have the mouse pointer describing hotspots,objects etc"

oh well...Just a thought keep 'em coming guys
Title: Re: Tip of the Day suggestions
Post by: Dataflashsabot on Thu 04/08/2011 14:03:41
"A GUI label with '@OVERHOTSPOT@' as its text will change to the name of the hotspot under the mouse."
Title: Re: Tip of the Day suggestions
Post by: Dave Gilbert on Thu 20/10/2011 21:47:19
Quote from: Dataflashsabot on Thu 04/08/2011 14:03:41
"A GUI label with '@OVERHOTSPOT@' as its text will change to the name of the hotspot under the mouse."

...

I never knew that.
Title: Re: Tip of the Day suggestions
Post by: Dualnames on Fri 21/10/2011 00:56:56
Quote from: Dave Gilbert on Thu 20/10/2011 21:47:19
Quote from: Dataflashsabot on Thu 04/08/2011 14:03:41
"A GUI label with '@OVERHOTSPOT@' as its text will change to the name of the hotspot under the mouse."

...

I never knew that.

This is a joke, right, I mean, well, this is the first thing I've learned in ags before everything, so well, Dave, this has to be..eh..a joke. Please tell me so!
Title: Re: Tip of the Day suggestions
Post by: Cerno on Wed 13/03/2013 20:11:19
Following a recent discussion:

- Some functions work well in cutscenes (e.g. Character.Say()), while others won't make you happy there (e.g. Dialog.Start()). Choose wisely.

Something very nice I just learned:
- Organize your global variables into structs (e.g. one struct per chapter) to reduce the mess that a lot of these variables can create. Exporting a struct will export all its contents in one go. Nice.

Also:
- Character walking weirdly? Check whether its feet are centered in each image of the animation. Add a blank border to one side if necessary.

Edit addendum:
- Character walking weirdly when passing another character in a cutscene? Try setting the character property "solid" to false.
Title: Re: Tip of the Day suggestions
Post by: san.daniele on Sat 25/05/2013 22:24:53
I guess this thread is still active as it is 'sticky'
I started with AGS some weeks ago, so here's things I would have loved to stumble upon earlier than I did (some AGS specific, others general scripting).
… oh, and I leave the wording to one of you guys

- you don't need {} brackets if there's only one action after a condition
- want your character.say() not to time out? Change the behaviour in 'General Settings'
- lots of rooms looking the same/similar? create a basic room, right click and make a template out of it (god I wish I'd known that one earlier!)
- walkspeed 10 means a character moves 10px on each game cycle (at least that's what I heard)
- a quick&short note that about 1 second having 40 game cycles on default settings
- interested in a specific feature? take the time to read into it (manual!) or search the forum. most things are wasy enough to understand even for new scripters if they're willing to concentrate.
Title: Re: Tip of the Day suggestions
Post by: Crimson Wizard on Sat 25/05/2013 23:19:45
Huh, - seeing as people keep posting here, - someone should select good tips and put 'em into editor... obviously Chris Jones won't do that now :).
Title: Re: Tip of the Day suggestions
Post by: Gilbert on Sun 26/05/2013 16:40:19
Well, should I just unsticky it and lock it; or move it to Editor Dev. if you people really want to continue with it?
Title: Re: Tip of the Day suggestions
Post by: TheManInBoots on Fri 13/09/2019 16:13:55
Did you notice you have to change your sprites after you finished an animation?
No problem! Just edit your graphics and save them in the original place on your PC and then click on "Import sprites from source" by selecting and right clicking on the Sprites you want to change! No need to create a new view from scratch!

Oh I just noticed that this thread is really old after I posted it, I'm somewhat too late.
Title: Re: Tip of the Day suggestions
Post by: newwaveburritos on Tue 23/11/2021 04:46:07
I don't know if this counts as a necropost but I do have a suggestion I wish I had known earlier:

When you import a gif it imports all the frames as individual sprites.  You don't need to cut out the spritesheet in that case.
Title: Re: Tip of the Day suggestions
Post by: Crimson Wizard on Tue 23/11/2021 07:22:36
Do people read "tips of the day"? I did not even remember that AGS has this thing... how useful it is?

imho it might be best to have proper articles in the manual.