00:00
00:00
Newgrounds Background Image Theme

applessmillion 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 "Detailed RPG Tutorial"

great work!

wow. I was amazed. great work!!! And for the review right below me, change your actionscript settings to "actionscript 1.0"

the solution to get xp :p

this tutorial is old i would say dont just copy paste look into the code and everything should work perfectly

ps: if you have problems with the xp i had very much trouble with i got the code

put this code in the xp movie clip

onClipEvent (load) {
next=1200;
totalxp=0;
}
onClipEvent(enterFrame){
if(totalxp>=next){
next*=2;
totalxp=0;
}
}

onClipEvent (enterFrame) {
this._xscale= totalxp/next*100
}
onClipEvent (enterFrame) {
if(this._xscale>next-1){
this._xscale=next;
}
}
onClipEvent (enterFrame) {
if(this.totalxp>next-1){
this.totalxp=next;
}
}
onClipEvent (enterFrame) {
if(this._xscale<1){
this._xscale=0;
}
}
onClipEvent (enterFrame) {
if(this.remaining<1){
this.remaining=0;
}
}

_root.xp.totalxp+=whateveryouget; use this in every thing that gives you xp

Hoeloe responds:

You shouldn't reset totalxp, because that is the variable that shows you how much xp you have IN TOTAL. You should reset regular xp, but not set it to 0, minus next instead. Anyway, this tutorial is quite old, when I get round to it, I'll make a newer version

Thanks so much

thanks for this awesome tutorial
it will help me alot in my upcoming game
i'll give ur name in the credit as well

Awesome tutorial except..

You lost me at the xp bar, whenever I gained xp it didnt move the bar up. Also when i gave the instance names to the hp and mg bar they automatically sized themselves? But it's the bets tut by far RPG wise... :)

I'm a dumbass

I don't really understand how I'm supposed to create a whole animation on one frame [the walking part]

Hoeloe responds:

Highlight the object you want to animate, press F8, select "Movie Clip" and then you can animate inside the object. The wole character should be inside a MovieClip anyway.