This chapter deals with getting our essential cursors in order, as well as attempting to illustrate the basics behind our whole item cursor game plan. Really it isn't all that complicated, besides our basic action cursors, our inventory item cursors are going to be saved under the same resource number as they were defined as in game.sh during chapter 1, so Cursor 1 corresponds to item 1.
So really, this almost feels like it is self explanatory, but I'll add a couple of words anyway. To start with let's go ahead and handle our basic action cursors. These are the cursors that allow your character to perform all of the basic actions that we need in our inventory room, hence the title. What might not be so self explanatory though, is the numbering system. So here goes:
![]() ![]() ![]() |
|
That pretty much sums up the basic actions for our inventory room. We are going to add in a couple more when we get to making the rest of the game point and click but for now, this is all we need.
Like I said up above, managing our point and click system is going to be much easier if you can keep a few variables straight. Starting with saving your inventory cursors the same as they were defined in games.sh which we handled in the last chapter. So building off of that idea, this is where we're at:
![]() ![]() ![]() ![]() |
|
All right, so that's what we've got so far, as long as you keep up numbering the cursors the same as the define number adding more items in later shouldn't be to difficult.
That sums up our creation of point and click cursors, still not too difficult eh!
< Previous: Chapter 1 - Preparing the Main Script Next: Chapter 3 - Prepare the Text for our Inventory Room >