00:00
00:00
Newgrounds Background Image Theme

MC4HJW just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Reviews for "RPG Platformer Tutorial"

Help!

Statement block must be terminated by '}'

What does that mean?

It is at the part where you have to paste in

currentslotnum = 1;stop ();function addToslot (item) { if (!item.found) { item._x = eval("itemSlot"+currentslotnum)._x; item._y = eval("itemSlot"+currentslotnum)._y; item.found = true;

Where's the mute button at and,

You had a coding error.

item._x = eval("itemSlot"+currentslotnum)._x;
item._y = eval("itemSlot"+currentslotnum)._y;

Don't capitalize the slot or else it won't work. That's not the correct name that you game itemslot. Lol.

Other than that the music got really annoying... Wasn't that bad though.

Thanks for posting a tutorial though!

-SP

wtf

What i should do with the shitty ball in the inventory....
this tutorial is small...

Problem

Nice game although I had a big problem with the inventory part where there was a item, I used the script:
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++; }}
in my item and it said in the output "**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on/onClipEvent handler
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++; }}

Total ActionScript Errors: 1 Reported Errors: 1" and I'm using Macromedia Flash Professional 8. Can you please quickly help me?

to evilkillerbunny and bread hero

evil, in 8, select the movie clip, then select "properties" by the top of the library. There should be a box that says <instance name>. change that.
bread,
use the box tool to select it, then drag.
hoped I helped!