# Trouble with Kirupa's RPG tutorial

**URL:** <https://forum.kirupa.com/t/trouble-with-kirupas-rpg-tutorial/250002>\
**Category:** programming\
**Created:** [January 24, 2008, 12:48pm UTC](https://forum.kirupa.com/t/trouble-with-kirupas-rpg-tutorial/250002 "2008-01-24T12:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xelectroid](https://avatars.discourse-cdn.com/v4/letter/x/eb8c5e/32.png) [@Xelectroid](https://forum.kirupa.com/u/Xelectroid)\
**Post date:** [January 24, 2008, 12:48pm UTC](https://forum.kirupa.com/t/trouble-with-kirupas-rpg-tutorial/250002/1 "2008-01-24T12:48:08Z")

</div>

I was cruising through the tutorial, but when I get to this: [http://www.kirupa.com/developer/actionscript/rpgprogramming6.htm](http://www.kirupa.com/developer/actionscript/rpgprogramming6.htm)  
page.

Specifically, the item generation. It just doesn’t work.

I have changed the instance names to the correct things, but my hero still doesn’t appear.

I suspect it may have to do with the “items” object that comes up.

\_root.attachMovie(“blank”, “items”, this.getNextHighestDepth());

\_root.items.attachMovie(“Hero”, “heroguy”, d++);  
\_root.items.heroguy.\_x = (\_root.tileWdth_j);  
\_root.items.heroguy.\_y = (\_root.tileHght_i);  
}

Never in the tutorial did it say to create an “item” object.

Help?
