Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gamemakur on Wed 21/12/2005 04:25:53

Title: Help with sprites
Post by: Gamemakur on Wed 21/12/2005 04:25:53
     I have a problem with trying to import a new sprite cause I dont like the default, it doesn't go with my game. So Ive been making a new character on the paint program, and when I try to import him it does not show up. Can someone help me with making a new sprite or helping me import it? Thanks.
Title: Re: Help with sprites
Post by: Ashen on Wed 21/12/2005 12:33:44
You're going to have to be more specific than that ...

What have you tried? Are you using the 'Import sprite' option, or pasting the sprite directly into Sprite manager?
Where does it 'not show up'? Can you not find the file (what type have you saved as?), does it open the file as blank, does it seem to import but not show up in the Sprite manager, does it just not show up in the game ...
Title: Re: Help with sprites
Post by: Candle on Wed 21/12/2005 12:41:09
Read the PS here (last post)
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14373.0
Title: What I meant
Post by: Gamemakur on Wed 21/12/2005 19:03:04
What I meant was that, I make a character in paint, then I go to characters in AGS and click on new character, and then import character. When I look for my picture of my created character it does not show.


What program do use to make your character?
Title: Re: Help with sprites
Post by: monkey0506 on Wed 21/12/2005 19:05:12
You don't.  You go to "Sprite Manager" and import the sprites as described above.  Then you go to Views and set up the animations.

In fact...just read this:

http://bfaq.xylot.com/#graphics08

[EDIT:]

If you don't understand how to do that, somebody can walk you through step-by-step, but you should try to figure it out first...it will help you learn better.
Title: Re: Help with sprites
Post by: Ashen on Wed 21/12/2005 19:18:24
Or the Wiki Version (http://americangirlscouts.org/agswiki/index.php/Graphics%2C_Characters%2C_Text_%26_Rooms#Creating_your_own_characters), since the BFAQ link doesn't seem to be working (for me, anyway).

(WiKi BFAQ Index (http://americangirlscouts.org/agswiki/index.php/The_AGS_Beginners%27_FAQ))
Title: Re: Help with sprites
Post by: Candle on Wed 21/12/2005 19:21:34
Flash demo on how to do it.
http://www.xylot.com/copyandpaste.zip
Title: Huh?
Post by: Gamemakur on Wed 21/12/2005 20:42:21
Seriously I don't know what you mean. I tryed what you said, but it still does not work. et me tell you what I use. I use Microsoft paint. I draw my character. Then I go to character in ags and click new, then import. So then I look in my files to import the image and it is not there. Is there a special program I need to make a character, is the character a sprite please help. I've tried everything. ???

if you want you can e-mail me instruvtions at flameboy338@netzero.com

Thanks.
Title: Re: Help with sprites
Post by: DoorKnobHandle on Wed 21/12/2005 21:09:23
Several others have already answered your question, but whatever...

Here is my attempt:

CREATING A CHARACTER FOR YOUR GAME

Follow these instructions step-by-step and you will be fine. Ask if you have any trouble or if you are not sure about what to do at a point.

1. Draw your character in a program like MS Paint (you said you already did that). You need to draw him in all possible poses (front view, side view, back view) and later on you also need to draw every single frame for the animations (walking, picking up something etc.) but for now let's keep with only one image: the front view. So you draw him facing towards the viewer.

2. Save your image (File->Save As) into some location on your hard drive. Ideally you would want to create a folder for all images in your game (for example "C:/My AGS Game/", then you could save him as "C:/My AGS Game/Character.bmp"). Make sure to save the image as .BMP and not .JPG or something else.

3. Now it's time to switch to AGS, so start the editor and load up your game or start a new one.

4. Select "Sprite Manager" on the right side of the editor.

5. Now right-click somewhere into the big white area to your right and select "Import new sprite..." from the menu.

6. A little window will pop up, click on "Import from file..."!

7. Now you'll see a standard windows dialogue window. Select your character image from where you saved it before (in my example it was "C:/My AGS Game/Character.bmp") and double-click on it.

8. Now you are taken back to the little window from Step 6. You should see your image in this window by now. Click on "Grab entire image"...

9. This should then add the image to your game. You should now see it as entry in the big white area to your right.

10. Next click on "Views" in the left menu (one entry after "Sprite Manager") and click on "New View" at the bottom of the screen.

11. This should add a new entry to the list on the middle white area called something like "VIEWXX" where the X's are replaced by some numbers. Make sure that this new entry is highlighted and thus selected by clicking on it.

12. Now it should say "Loop 0 (down)" to the right. Click on the text that says "New frame" and then double-click on the blue cup image that gets inserted.

13. The next screen looks familiar: We're back in the "Sprite Manager". Now double click on your imported image.

14. This should take you back to the "Views" page - now your image should be the first image under "Loop 0 (Down)".

15. Allright, the view is set up, now we come to the final step: the character. Click on "Characters" on  the left side (one entry after "Views").

16. Then click on "New Character" at the bottom of the screen. Highlight the new entry in the list (like you did with the view before) and click on the button that says "Normal view: 0".

17. A little dialogue should appear where you can insert the number of the view that you created before. If you don't remember it, than click cancel and switch to the views screen, remember the number and repeat the above steps.

18. Now you're done. You'r character is there. You should now adjust some settings for it, that you can find in the "character" view (like "player character" or its position etc.)



Phew, this was quite a detailed explanation, but still - in a few days this will all go in less than 2 mins, I assure you.