Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
The basics of an RPG (role-playing game)
Author: denacioust
| Website: flashbox.proboards15.com |
Now place these actions in the frame.
currentslotnum = 1;
stop ();
function addToslot (item) {
if (!item.found) {
item._x = eval ("itemSlot" + currentslotnum)._x;
item._y = eval ("itemSlot" + currentslotnum)._y;
item.found = true;
currentslotnum++;
}
}
And give the items that can be found these actions...
onClipEvent (enterFrame) {
if (_root.character.hitTest (this)) {
_root.addToslot (this);
}
}
| » Level Intermediate |
|
|
Added: : 2004-06-04
Rating: 6.61 Votes: 26
Hits: 1566
|
| » Author |
|
Flash meister
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|