Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: whouston116 on Wed 09/04/2014 23:30:11

Title: Importing Custom Cursor Icons
Post by: whouston116 on Wed 09/04/2014 23:30:11
so im making a kings quest type game, and i cant figure out how to import my own icons. like walk, pick up, talk, and look icons. can anyone help?
Title: Re: Importing Custom Cursor Icons
Post by: KodiakBehr on Wed 09/04/2014 23:47:17
Not familiar with this Kings Quest that you're referring to, but I should be able to help you with cursors.

Step 1:  Draw the cursors.  I don't know about you, but when I save the images, I remember to make a "ping" noise, so I know to save them as a .png file.
Step 2:  Import them as sprites.
Step 3:  Expand the Mouse Cursor directory of the Explore Project Menu.
Step 4:  Click on the cursor you want to change.
Step 5:  Change the image variable for that cursor to match the number of your sprite.

ADVANCED TRICKS!

You can also animate a cursor by importing a series of sprites and turning them into an animation, known as a "view".  The manual can tell you more about those.  You can change the view variable to match the number of the view you have created.
Title: Re: Importing Custom Cursor Icons
Post by: whouston116 on Thu 10/04/2014 01:28:57
see that's the thing, i know how to change the sprites, but when im in AGS editor trying to change them all i can find are the preset ones, i don't know how to find my custom made one. and i cant find the files where the presets are. and it might to have something to do with importing them as sprites, i didn't know you had to do that and don't know how.
Title: Re: Importing Custom Cursor Icons
Post by: Ghost on Thu 10/04/2014 02:04:32
Open the "Sprites" pane. You will see a folder structure containing all the project sprites.
Right-click into the pane.
From the pop-up menu, select "Import sprite from file".

Note: By default, AGS uses the top-left pixel in an imported image as the "transparent" colour, which is why you should make sure that colour is not used anywhere else in the sprite.
Title: Re: Importing Custom Cursor Icons
Post by: whouston116 on Fri 11/04/2014 05:36:14
aight that was it! thanks! :grin: