Quote
Originally posted by Debra:
The animation's proper. It doesn't shift in the animation, but once I place it on the map, it does. I can't seem to place it where it needs to go, but I need to offset it.
Ahh. So I assume you have made the gate into an actual item then? Then placed it on your map in the map editor within the "Items" layer? If so, that would explain the shifting(ie, the item shifting bug).
Quote
Are stamps the same as items? Do the stamps work the same way as items placed on the map? I mean, will the Player be able to open the gate? Or does it animate on its own?
No, they are not the same. A stamp is a picture that is placed onto the current map, and is not a part of the map. An item is an actual object which can be put onto a map as well.
They are similar, but a bit different is the end result. You can do the same things with both of them, but they are done differently. (How's that for a confusing definition?)
Stamps are placed with the stamp control event object. Items are placed onto an actual map by using the Item layer. Or, you can place an item onto a map with an event using the Launch Item object.
Here is what I did to make gates open/close by using a gate stamp:
Created an event to close the gate:
- Remove the current stamp(should be an opened gate stamp)
- Plays a sound of the gate closing
- Place the closed gate stamp(which is an animation that ends with the still frame of the closed gate)
- Sets access tiles around the gate to block the entrance
- Sets a global so that we know the gate is closed
Then I created an event to open the gate:
- Remove the current stamp(should be a closed gate stamp)
- Plays a sound of the gate opening
- Place the open gate stamp(which is an animation that ends with the still frame of the opened gate)
- Sets access tiles around the gate to clear the entrance
- Sets a global so that we know the gate is opened
Then, in the local event of the location I place a check on the global to see if the gate is opened or closed, and I run the open or close gate event to correspond to how it should be.
Then it just depends on how you want to have the gate open or close. If you want the player to click on the gate then when you place the stamp be sure to set it to mouse clickable, and select the proper event(I think mouse clicking stamps works.. I thought I heard about a bug with this, but I've never explored this).
Quote
Do you really mean Launch Item instead of Stamp Control?
Nope. As shown above, if you want to use an item on a map, the "launch item" object seems to work better than placing the item on the map directly. Stamp control places stamps.
Make Sense?
------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url)