Despite tutorial, object not appearing in inventory.

Started by jonsqu, Sat 22/08/2015 20:52:38

Previous topic - Next topic

jonsqu

In part 4 of "Getting Started With AGS", which goes over Objects, it attempts to teach me how to add a key into the game environment, pick it up, and have it go into my inventory. The key is visible, and disappears when I "interact" with it (use the hand icon), even some code I added myself that lets me look at the key works. But the key does not appear in my inventory, only a series of empty black squares do.

Here is the portion of the tutorial.

Here is my room script.

And here is what happens in-game.

Reading ahead in the tutorial, the key is supposed to be visible at this time.

Thanks in advance.

Cassiebsg

What version of AGS you using?
Seems like you need to re-import the sprites to match your new resolution.
There are those who believe that life here began out there...

jonsqu

I am using AGS 3.3.4.

The only custom artwork in this is the background, if that's important. Everything else was included in the template.

If I do need to re-import things, how would I go about doing that correctly?

Thanks for your response.

Crimson Wizard

Do you set your game to 32-bit colors?
Default template has 8-bit button graphics, that do not work in 32-bit mode.
Try exporting them and resaving as 32-bit bitmaps, then re-import again. Or import your own icons.

jonsqu

That appears to have been the problem, and it's easily fixed now. Thanks, Crimson.

SMF spam blocked by CleanTalk